Trigger¶
SCPI Commands
TRIGger:STATe
TRIGger:TYPE
TRIGger:INDex
TRIGger:EXPort
- class Trigger[source]
Trigger commands group definition. 17 total commands, 5 Sub-groups, 4 group commands
- export(trigger_config_file: str) None [source]
# SCPI: TRIGger:EXPort driver.trigger.export(trigger_config_file = '1')
Stores the currently defined trigger configuration as a nonvolatile file in the compact flash memory of your primary switch unit.
- param trigger_config_file
String parameter to specify the name of the file to be stored.
- get_index() int [source]
# SCPI: TRIGger:INDex value: int = driver.trigger.get_index()
- Queries the trigger index, which is the number of the currently triggered path in the trigger types described below.
INTRO_CMD_HELP: The returned component information consists of:
‘Toggle A-B’, the index has the following meaning:
INTRO_CMD_HELP: The returned component information consists of:
-1 = no trigger event yet, method RsOsp.Trigger.Count.value = 0
0 = Path A
1 = Path B
‘Sequenced’, the index has the following meaning:
INTRO_CMD_HELP: The returned component information consists of:
-1 = no trigger event yet, method RsOsp.Trigger.Count.value = 0
0 = Path 0
1 = Path 1
2 = Path 2
…
15 = Path 15
- return
index: No help available
- get_state() bool [source]
# SCPI: TRIGger:STATe value: bool = driver.trigger.get_state()
Sets or queries the activation state of the trigger functionality.
- return
activation_state: No help available
- get_type_py() RsOsp.enums.TriggerType [source]
# SCPI: TRIGger:TYPE value: enums.TriggerType = driver.trigger.get_type_py()
Selects or queries the trigger type.
- return
type_py: No help available
- set_state(activation_state: bool) None [source]
# SCPI: TRIGger:STATe driver.trigger.set_state(activation_state = False)
Sets or queries the activation state of the trigger functionality.
- param activation_state
OFF: Deactivates the trigger functionality. The command does not accept ‘0’ instead of ‘OFF’.
ON: Activates the trigger functionality. The command does not accept ‘1’ instead of ‘ON’.
- set_type_py(type_py: RsOsp.enums.TriggerType) None [source]
# SCPI: TRIGger:TYPE driver.trigger.set_type_py(type_py = enums.TriggerType.ADDRessed)
Selects or queries the trigger type.
- param type_py
SINGle: Selects the trigger type Single.
TOGGle: Selects the trigger type Toggle A-B.
SEQuenced: Selects the trigger type Sequenced.
ADDRessed: Selects the trigger type Addressed.
Subgroups