sequence
¶
The sequence commands module.
These commands are used in the following models: AWG5K, AWG5KC, AWG7K, AWG7KC
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- SEQuence:ELEMent[n]:GOTO:INDex <target>
- SEQuence:ELEMent[n]:GOTO:INDex?
- SEQuence:ELEMent[n]:GOTO:STATe <goto_state>
- SEQuence:ELEMent[n]:GOTO:STATe?
- SEQuence:ELEMent[n]:JTARget:INDex <target>
- SEQuence:ELEMent[n]:JTARget:INDex?
- SEQuence:ELEMent[n]:JTARget:TYPE {INDex|NEXT|OFF}
- SEQuence:ELEMent[n]:JTARget:TYPE?
- SEQuence:ELEMent[n]:LOOP:COUNt <NR1>
- SEQuence:ELEMent[n]:LOOP:COUNt?
- SEQuence:ELEMent[n]:LOOP:INFinite <loop_state>
- SEQuence:ELEMent[n]:LOOP:INFinite?
- SEQuence:ELEMent[n]:SUBSequence <subseq_name>
- SEQuence:ELEMent[n]:SUBSequence?
- SEQuence:ELEMent[n]:TWAit <Boolean>
- SEQuence:ELEMent[n]:TWAit?
- SEQuence:ELEMent[n]:WAVeform[m] [1|2|3|4] <wfm_name>
- SEQuence:ELEMent[n]:WAVeform[m]? [1|2|3|4]
- SEQuence:JUMP:IMMediate <target>
- SEQuence:LENGth <NR1>
- SEQuence:LENGth?
Sequence
¶
Bases: SCPICmdRead
The SEQuence command tree.
Usage
- Using the
.query()method will send theSEQuence?query. - Using the
.verify(value)method will send theSEQuence?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.element: TheSEQuence:ELEMent[n]command tree..jump: TheSEQuence:JUMPcommand tree..length: TheSEQuence:LENGthcommand.
element
property
¶
element: dict[int, SequenceElementItem]
Return the SEQuence:ELEMent[n] command tree.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.goto: TheSEQuence:ELEMent[n]:GOTOcommand tree..jtarget: TheSEQuence:ELEMent[n]:JTARgetcommand tree..loop: TheSEQuence:ELEMent[n]:LOOPcommand tree..subsequence: TheSEQuence:ELEMent[n]:SUBSequencecommand..twait: TheSEQuence:ELEMent[n]:TWAitcommand..waveform: TheSEQuence:ELEMent[n]:WAVeform[m]command.
jump
property
¶
jump: SequenceJump
Return the SEQuence:JUMP command tree.
Usage
- Using the
.query()method will send theSEQuence:JUMP?query. - Using the
.verify(value)method will send theSEQuence:JUMP?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.immediate: TheSEQuence:JUMP:IMMediatecommand.
length
property
¶
length: SequenceLength
Return the SEQuence:LENGth command.
Description
- This command and query sets or returns the sequence length. Use this command to create
an uninitialized sequence. You can also use the command to clear all sequence elements
in a single action by passing 0 as the parameter. However, this action cannot be
undone so exercise necessary caution. Also note that passing a value less than the
sequence’s current length will cause some sequence elements to be deleted at the end
of the sequence. For example if
SEQuence:LENGth?returns 200 and you subsequently sendSEQuence:LENGth 21, all sequence elements except the first 20 will be deleted.
Usage
- Using the
.query()method will send theSEQuence:LENGth?query. - Using the
.verify(value)method will send theSEQuence:LENGth?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:LENGth valuecommand.
SCPI Syntax
- SEQuence:LENGth <NR1>
- SEQuence:LENGth?
Info
<NR1>
SequenceElementItem
¶
Bases: ValidatedDynamicNumberCmd, SCPICmdRead
The SEQuence:ELEMent[n] command tree.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.goto: TheSEQuence:ELEMent[n]:GOTOcommand tree..jtarget: TheSEQuence:ELEMent[n]:JTARgetcommand tree..loop: TheSEQuence:ELEMent[n]:LOOPcommand tree..subsequence: TheSEQuence:ELEMent[n]:SUBSequencecommand..twait: TheSEQuence:ELEMent[n]:TWAitcommand..waveform: TheSEQuence:ELEMent[n]:WAVeform[m]command.
goto
property
¶
goto: SequenceElementItemGoto
Return the SEQuence:ELEMent[n]:GOTO command tree.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:GOTO?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:GOTO?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.index: TheSEQuence:ELEMent[n]:GOTO:INDexcommand..state: TheSEQuence:ELEMent[n]:GOTO:STATecommand.
jtarget
property
¶
jtarget: SequenceElementItemJtarget
Return the SEQuence:ELEMent[n]:JTARget command tree.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:JTARget?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:JTARget?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.index: TheSEQuence:ELEMent[n]:JTARget:INDexcommand..type: TheSEQuence:ELEMent[n]:JTARget:TYPEcommand.
loop
property
¶
loop: SequenceElementItemLoop
Return the SEQuence:ELEMent[n]:LOOP command tree.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:LOOP?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:LOOP?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.count: TheSEQuence:ELEMent[n]:LOOP:COUNtcommand..infinite: TheSEQuence:ELEMent[n]:LOOP:INFinitecommand.
subsequence
property
¶
subsequence: SequenceElementItemSubsequence
Return the SEQuence:ELEMent[n]:SUBSequence command.
Description
- This command and query sets or returns the subsequence for a sequence element. The AWG5012B, AWG5000C, and AWG7000C (option 09) series instruments support Subsequence. The subsequence name can be a null string (‘’). When a waveform is assigned to this sequence, the command returns ‘’.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:SUBSequence?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:SUBSequence?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:SUBSequence valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:SUBSequence <subseq_name>
- SEQuence:ELEMent[n]:SUBSequence?
Info
<subseq_name>::=.
twait
property
¶
twait: SequenceElementItemTwait
Return the SEQuence:ELEMent[n]:TWAit command.
Description
- This command and query sets or returns the wait trigger state for an element. Send a
trigger signal in one of the following ways: By using an external trigger signal. By
pressing the ‘Force Trigger’ button on the front panel. By sending the
*TRGremote command.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:TWAit?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:TWAit?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:TWAit valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:TWAit <Boolean>
- SEQuence:ELEMent[n]:TWAit?
Info
<wait_trigger_state>::=. 0indicates OFF.1indicates ON.
waveform
property
¶
waveform: dict[int, SequenceElementItemWaveformItem]
Return the SEQuence:ELEMent[n]:WAVeform[m] command.
Description
- This command and query sets or returns the waveform for a sequence element.
Usage
- Using the
.query(argument)method will send theSEQuence:ELEMent[n]:WAVeform[m]? argumentquery. - Using the
.verify(argument, value)method will send theSEQuence:ELEMent[n]:WAVeform[m]? argumentquery and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:WAVeform[m] valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:WAVeform[m] [1|2|3|4] <wfm_name>
- SEQuence:ELEMent[n]:WAVeform[m]? [1|2|3|4]
Info
<wfm_name>::=.
SequenceElementItemGoto
¶
Bases: SCPICmdRead
The SEQuence:ELEMent[n]:GOTO command tree.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:GOTO?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:GOTO?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.index: TheSEQuence:ELEMent[n]:GOTO:INDexcommand..state: TheSEQuence:ELEMent[n]:GOTO:STATecommand.
index
property
¶
index: SequenceElementItemGotoIndex
Return the SEQuence:ELEMent[n]:GOTO:INDex command.
Description
- This command and query sets or returns the target index for the GOTO command of the
sequencer. After generating the waveform specified in a sequence element, the
sequencer jumps to the element specified as GOTO target. This is an unconditional
jump. If GOTO target is not specified, the sequencer simply moves on to the next
element. If the Loop Count is Infinite, the GOTO target which is specified in the
element is not used. For this command to work, the
SEQUENCE:ELEMENTN:GOTO:STATEmust be ON and the sequence element must exist. Note that the first element of a sequence is taken to be 1 not 0.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:GOTO:INDex?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:GOTO:INDex?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:GOTO:INDex valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:GOTO:INDex <target>
- SEQuence:ELEMent[n]:GOTO:INDex?
Info
<target>::=.
state
property
¶
state: SequenceElementItemGotoState
Return the SEQuence:ELEMent[n]:GOTO:STATe command.
Description
- This command and query sets or returns the GOTO state of the sequencer. For the
SEQUENCE:ELEMENTN:GOTO:INDEXcommand to take effect, the GOTO state must be set to ON.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:GOTO:STATe?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:GOTO:STATe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:GOTO:STATe valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:GOTO:STATe <goto_state>
- SEQuence:ELEMent[n]:GOTO:STATe?
Info
<goto_state>::=. 0indicates OFF.1indicates ON.
SequenceElementItemGotoIndex
¶
Bases: SCPICmdWrite, SCPICmdRead
The SEQuence:ELEMent[n]:GOTO:INDex command.
Description
- This command and query sets or returns the target index for the GOTO command of the
sequencer. After generating the waveform specified in a sequence element, the sequencer
jumps to the element specified as GOTO target. This is an unconditional jump. If GOTO
target is not specified, the sequencer simply moves on to the next element. If the Loop
Count is Infinite, the GOTO target which is specified in the element is not used. For this
command to work, the
SEQUENCE:ELEMENTN:GOTO:STATEmust be ON and the sequence element must exist. Note that the first element of a sequence is taken to be 1 not 0.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:GOTO:INDex?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:GOTO:INDex?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:GOTO:INDex valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:GOTO:INDex <target>
- SEQuence:ELEMent[n]:GOTO:INDex?
Info
<target>::=.
SequenceElementItemGotoState
¶
Bases: SCPICmdWrite, SCPICmdRead
The SEQuence:ELEMent[n]:GOTO:STATe command.
Description
- This command and query sets or returns the GOTO state of the sequencer. For the
SEQUENCE:ELEMENTN:GOTO:INDEXcommand to take effect, the GOTO state must be set to ON.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:GOTO:STATe?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:GOTO:STATe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:GOTO:STATe valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:GOTO:STATe <goto_state>
- SEQuence:ELEMent[n]:GOTO:STATe?
Info
<goto_state>::=. 0indicates OFF.1indicates ON.
SequenceElementItemJtarget
¶
Bases: SCPICmdRead
The SEQuence:ELEMent[n]:JTARget command tree.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:JTARget?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:JTARget?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.index: TheSEQuence:ELEMent[n]:JTARget:INDexcommand..type: TheSEQuence:ELEMent[n]:JTARget:TYPEcommand.
index
property
¶
Return the SEQuence:ELEMent[n]:JTARget:INDex command.
Description
- This command and query sets or returns the target index for the sequencer’s event jump
operation. Note that this will take effect only when
SEQUENCE:ELEMENTN:JTARGET:TYPEis set to INDex.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:JTARget:INDex?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:JTARget:INDex?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:JTARget:INDex valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:JTARget:INDex <target>
- SEQuence:ELEMent[n]:JTARget:INDex?
Info
<target>::=. <n>is an index number of sequence.
type
property
¶
Return the SEQuence:ELEMent[n]:JTARget:TYPE command.
Description
- This command and query sets or returns the event jump target type for the jump.
Generate an event in one of the following ways: By connecting an external cable to
instrument rear panel for external event. By pressing the Force Event button on the
front panel. By sending the
EVENT:IMMEDIATEremote command.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:JTARget:TYPE?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:JTARget:TYPE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:JTARget:TYPE valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:JTARget:TYPE {INDex|NEXT|OFF}
- SEQuence:ELEMent[n]:JTARget:TYPE?
Info
INDex. This enables the sequencer to jump to an index set usingSEQuence:ELEMent1:JTARget:INDexcommand.NEXT. This enables the sequencer to jump to the next sequence element.SEQuence:ELEMent1:JTARget:INDexsettingis ignored.OFF. This enables the sequencer to turn off the event jump state. In this state, even if the event occurs, the sequencer ignores it.
SequenceElementItemJtargetIndex
¶
Bases: SCPICmdWrite, SCPICmdRead
The SEQuence:ELEMent[n]:JTARget:INDex command.
Description
- This command and query sets or returns the target index for the sequencer’s event jump
operation. Note that this will take effect only when
SEQUENCE:ELEMENTN:JTARGET:TYPEis set to INDex.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:JTARget:INDex?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:JTARget:INDex?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:JTARget:INDex valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:JTARget:INDex <target>
- SEQuence:ELEMent[n]:JTARget:INDex?
Info
<target>::=. <n>is an index number of sequence.
SequenceElementItemJtargetType
¶
Bases: SCPICmdWrite, SCPICmdRead
The SEQuence:ELEMent[n]:JTARget:TYPE command.
Description
- This command and query sets or returns the event jump target type for the jump. Generate
an event in one of the following ways: By connecting an external cable to instrument rear
panel for external event. By pressing the Force Event button on the front panel. By
sending the
EVENT:IMMEDIATEremote command.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:JTARget:TYPE?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:JTARget:TYPE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:JTARget:TYPE valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:JTARget:TYPE {INDex|NEXT|OFF}
- SEQuence:ELEMent[n]:JTARget:TYPE?
Info
INDex. This enables the sequencer to jump to an index set usingSEQuence:ELEMent1:JTARget:INDexcommand.NEXT. This enables the sequencer to jump to the next sequence element.SEQuence:ELEMent1:JTARget:INDexsettingis ignored.OFF. This enables the sequencer to turn off the event jump state. In this state, even if the event occurs, the sequencer ignores it.
SequenceElementItemLoop
¶
Bases: SCPICmdRead
The SEQuence:ELEMent[n]:LOOP command tree.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:LOOP?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:LOOP?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.count: TheSEQuence:ELEMent[n]:LOOP:COUNtcommand..infinite: TheSEQuence:ELEMent[n]:LOOP:INFinitecommand.
count
property
¶
count: SequenceElementItemLoopCount
Return the SEQuence:ELEMent[n]:LOOP:COUNt command.
Description
- This command and query sets or returns the loop count. Loop count setting for an
element is ignored if
SEQUENCE:ELEMENTN:LOOP:INFINITEis set to ON.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:LOOP:COUNt?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:LOOP:COUNt?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:LOOP:COUNt valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:LOOP:COUNt <NR1>
- SEQuence:ELEMent[n]:LOOP:COUNt?
Info
<NR1>
infinite
property
¶
infinite: SequenceElementItemLoopInfinite
Return the SEQuence:ELEMent[n]:LOOP:INFinite command.
Description
- This command and query sets or returns the infinite looping state for a sequence
element. When an infinite loop is set on an element, the sequencer continuously
executes that element. To break the infinite loop, either issue the
AWGCONTROL:STOP:IMMEDIATEcommand or change the run mode to Continuous by usingAWGCONTROL:RMODEcommand.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:LOOP:INFinite?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:LOOP:INFinite?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:LOOP:INFinite valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:LOOP:INFinite <loop_state>
- SEQuence:ELEMent[n]:LOOP:INFinite?
Info
<loop_state>::=. 0indicates OFF.1indicates ON.
SequenceElementItemLoopCount
¶
Bases: SCPICmdWrite, SCPICmdRead
The SEQuence:ELEMent[n]:LOOP:COUNt command.
Description
- This command and query sets or returns the loop count. Loop count setting for an element
is ignored if
SEQUENCE:ELEMENTN:LOOP:INFINITEis set to ON.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:LOOP:COUNt?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:LOOP:COUNt?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:LOOP:COUNt valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:LOOP:COUNt <NR1>
- SEQuence:ELEMent[n]:LOOP:COUNt?
Info
<NR1>
SequenceElementItemLoopInfinite
¶
Bases: SCPICmdWrite, SCPICmdRead
The SEQuence:ELEMent[n]:LOOP:INFinite command.
Description
- This command and query sets or returns the infinite looping state for a sequence element.
When an infinite loop is set on an element, the sequencer continuously executes that
element. To break the infinite loop, either issue the
AWGCONTROL:STOP:IMMEDIATEcommand or change the run mode to Continuous by usingAWGCONTROL:RMODEcommand.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:LOOP:INFinite?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:LOOP:INFinite?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:LOOP:INFinite valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:LOOP:INFinite <loop_state>
- SEQuence:ELEMent[n]:LOOP:INFinite?
Info
<loop_state>::=. 0indicates OFF.1indicates ON.
SequenceElementItemSubsequence
¶
Bases: SCPICmdWrite, SCPICmdRead
The SEQuence:ELEMent[n]:SUBSequence command.
Description
- This command and query sets or returns the subsequence for a sequence element. The AWG5012B, AWG5000C, and AWG7000C (option 09) series instruments support Subsequence. The subsequence name can be a null string (‘’). When a waveform is assigned to this sequence, the command returns ‘’.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:SUBSequence?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:SUBSequence?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:SUBSequence valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:SUBSequence <subseq_name>
- SEQuence:ELEMent[n]:SUBSequence?
Info
<subseq_name>::=.
SequenceElementItemTwait
¶
Bases: SCPICmdWrite, SCPICmdRead
The SEQuence:ELEMent[n]:TWAit command.
Description
- This command and query sets or returns the wait trigger state for an element. Send a
trigger signal in one of the following ways: By using an external trigger signal. By
pressing the ‘Force Trigger’ button on the front panel. By sending the
*TRGremote command.
Usage
- Using the
.query()method will send theSEQuence:ELEMent[n]:TWAit?query. - Using the
.verify(value)method will send theSEQuence:ELEMent[n]:TWAit?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:TWAit valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:TWAit <Boolean>
- SEQuence:ELEMent[n]:TWAit?
Info
<wait_trigger_state>::=. 0indicates OFF.1indicates ON.
SequenceElementItemWaveformItem
¶
Bases: ValidatedDynamicNumberCmd, SCPICmdWrite, SCPICmdReadWithArguments
The SEQuence:ELEMent[n]:WAVeform[m] command.
Description
- This command and query sets or returns the waveform for a sequence element.
Usage
- Using the
.query(argument)method will send theSEQuence:ELEMent[n]:WAVeform[m]? argumentquery. - Using the
.verify(argument, value)method will send theSEQuence:ELEMent[n]:WAVeform[m]? argumentquery and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:ELEMent[n]:WAVeform[m] valuecommand.
SCPI Syntax
- SEQuence:ELEMent[n]:WAVeform[m] [1|2|3|4] <wfm_name>
- SEQuence:ELEMent[n]:WAVeform[m]? [1|2|3|4]
Info
<wfm_name>::=.
SequenceJump
¶
Bases: SCPICmdRead
The SEQuence:JUMP command tree.
Usage
- Using the
.query()method will send theSEQuence:JUMP?query. - Using the
.verify(value)method will send theSEQuence:JUMP?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.immediate: TheSEQuence:JUMP:IMMediatecommand.
immediate
property
¶
immediate: SequenceJumpImmediate
Return the SEQuence:JUMP:IMMediate command.
Description
- This command forces the sequencer to jump to the specified element index. This is called a Force jump. This command does not require an event for executing the jump. Also, the Jump target specified for event jump is not used here.
Usage
- Using the
.write(value)method will send theSEQuence:JUMP:IMMediate valuecommand.
SCPI Syntax
- SEQuence:JUMP:IMMediate <target>
Info
<target>::=.
SequenceJumpImmediate
¶
Bases: SCPICmdWrite
The SEQuence:JUMP:IMMediate command.
Description
- This command forces the sequencer to jump to the specified element index. This is called a Force jump. This command does not require an event for executing the jump. Also, the Jump target specified for event jump is not used here.
Usage
- Using the
.write(value)method will send theSEQuence:JUMP:IMMediate valuecommand.
SCPI Syntax
- SEQuence:JUMP:IMMediate <target>
Info
<target>::=.
SequenceLength
¶
Bases: SCPICmdWrite, SCPICmdRead
The SEQuence:LENGth command.
Description
- This command and query sets or returns the sequence length. Use this command to create an
uninitialized sequence. You can also use the command to clear all sequence elements in a
single action by passing 0 as the parameter. However, this action cannot be undone so
exercise necessary caution. Also note that passing a value less than the sequence’s
current length will cause some sequence elements to be deleted at the end of the sequence.
For example if
SEQuence:LENGth?returns 200 and you subsequently sendSEQuence:LENGth 21, all sequence elements except the first 20 will be deleted.
Usage
- Using the
.query()method will send theSEQuence:LENGth?query. - Using the
.verify(value)method will send theSEQuence:LENGth?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSEQuence:LENGth valuecommand.
SCPI Syntax
- SEQuence:LENGth <NR1>
- SEQuence:LENGth?
Info
<NR1>