dso_gonogo module
- class dso_gonogo.GoNoGo(parent)
Bases:
objectThis module can control the GoNoGo function on your DSO
- clear()
Clears the Go/NoGo counter.
- execute_off()
Disables Go/NoGo.
- execute_on()
Enables Go/NoGo.
- function_initial()
Initializes the Go/NoGo APP. This must be run after the Go/NoGo APP has been started.
- get_template_position_maximum() str
Queries the position of the maximum template.
- Returns:
Desired template position (-12.0 ~ +12.0 divisions)
- Return type:
- get_template_position_minimum() str
Queries the position of the minimum template.
- Returns:
Desired template position (-12.0 ~ +12.0 divisions)
- Return type:
- get_template_tolerance() str
Queries the tolerance as a percentage.
- Returns:
The auto tolerance range (0.4% ~ 40%)
- Return type:
- output_off()
Sets Go/NoGo output off.
- output_on()
Sets Go/NoGo output on.
- save_template_auto()
Saves the AUTO template.
- save_template_maximum()
Saves the maximum template.
- save_template_minimum()
Saves the minimum template.
- set_script_off()
Deactivates Go/NoGo APP.
- set_script_on()
Activates Go/NoGo APP.
- set_source(ch: int)
Sets the source for the Go/NoGo signal.
- Parameters:
ch (int) – 1:CH1, 2:CH2, 3:CH3, 4:CH4.
- set_template_maximum(waveform: str)
Defines which waveform memory (REF1 or W1~W20) is set to the maximum template.
- Parameters:
waveform (str) – REF1|W1~W20
- set_template_minimum(waveform: str)
Defines which waveform memory (REF1 or W1~W20) is set to the minimum template.
- Parameters:
waveform (str) – REF2|W1~W20
- set_template_mode(mode: str)
Sets the Go/NoGo template mode.
- Parameters:
mode (str) – MAXimum|MINimum|AUTO
- set_template_position_maximum(position: float)
Sets the position of the maximum template.
- Parameters:
position (float) – Desired template position (-12.0 ~ +12.0) divisions
- set_template_position_minimum(position: float)
Sets the position of the minimum template.
- Parameters:
position (float) – Desired template position (-12.0 ~ +12.0) divisions
- set_template_tolerance(tolerance: float)
Sets the tolerance as a percentage.
- Parameters:
tolerance (float) – The auto tolerance range (0.4 ~ 40) %
- set_violation(action: str)
Sets action for the Go/NoGo violation.
- Parameters:
action (str) – STOP|STOP_Beep|CONTinue|CONTINUE_Beep
- set_when_enters()
Sets enters as the when condition of Go/NoGo.
- set_when_exits()
Sets exits as the when condition of Go/NoGo.
- template_maximum() str
Queries which waveform memory (REF1 or W1~W20) is set to the maximum template.
- Returns:
REF1|W1~W20
- Return type:
- template_minimum() str
Queries which waveform memory (REF1 or W1~W20) is set to the minimum template.
- Returns:
REF2|W1~W20
- Return type: