tsplink
¶
The tsplink commands module.
These commands are used in the following models: SMU2601B_Pulse
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Tsplink
¶
Bases: BaseTSPCmd
The tsplink command tree.
Constants
.TRIG_BYPASS: Allows direct control of the line as a digital I/O line..TRIG_EITHER: Detects rising-edge or falling-edge triggers as input. Asserts a TTL-low pulse for output..TRIG_FALLING: Detects falling-edge triggers as input. Asserts a TTL-low pulse for output..TRIG_RISING: If the programmed state of the line is high, the tsplink.TRIG_RISING mode behaves similarly to tsplink.TRIG_RISINGA. If the programmed state of the line is low, the tsplink.TRIG_RISING mode behaves similarly to tsplink.TRIG_RISINGM. Use tsplink.TRIG_RISINGA if the line is in the high output state. Use tsplink.TRIG_RISINGM if the line is in the low output state..TRIG_RISINGA: Detects rising-edge triggers as input. Asserts a TTL-low pulse for output..TRIG_RISINGM: Edge detection as an input is not available. Generates a TTL-high pulse as an output trigger..TRIG_SYNCHRONOUS: Detects the falling-edge input triggers and automatically latches and drives the trigger line low. Asserts a TTL-low pulse as an output trigger..TRIG_SYNCHRONOUSA: Detects the falling-edge input triggers and automatically latches and drives the trigger line low..TRIG_SYNCHRONOUSM: Detects rising-edge triggers as an input. Asserts a TTL-low pulse for output.
Properties and methods
.trigger: Thetsplink.trigger[N]command tree.
TRIG_RISING
class-attribute
instance-attribute
¶
TRIG_RISING = 'tsplink.TRIG_RISING'
If the programmed state of the line is low, the tsplink.TRIG_RISING mode behaves similarly to tsplink.TRIG_RISINGM. Use tsplink.TRIG_RISINGA if the line is in the high output state. Use tsplink.TRIG_RISINGM if the line is in the low output state.
TRIG_SYNCHRONOUSA
class-attribute
instance-attribute
¶
TRIG_SYNCHRONOUSA = 'tsplink.TRIG_SYNCHRONOUSA'
TRIG_SYNCHRONOUSM
class-attribute
instance-attribute
¶
TRIG_SYNCHRONOUSM = 'tsplink.TRIG_SYNCHRONOUSM'
trigger
property
¶
trigger: dict[int, TsplinkTriggerItem]
Return the tsplink.trigger[N] command tree.
Constants
.EVENT_ID: Selects the event that causes a trigger to be asserted on the digital output line as the edge detected on the specified TSP-Link line.
TsplinkTriggerItem
¶
Bases: ValidatedDynamicNumberCmd, BaseTSPCmd
The tsplink.trigger[N] command tree.
Constants
.EVENT_ID: Selects the event that causes a trigger to be asserted on the digital output line as the edge detected on the specified TSP-Link line.
EVENT_ID
class-attribute
instance-attribute
¶
EVENT_ID = replace('[N]', f'[{split(']', maxsplit=1)[0]}]')