afg3k_commands
¶
The AFG3K commands module.
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
AFG3KCommandConstants
¶
The AFG3K command argument constants.
This provides access to all the string constants which can be used as arguments for AFG3K commands.
AFG3KCommands
¶
The AFG3K commands.
This provides access to all the commands for the AFG3K device. See the documentation of each property for more usage information.
Properties
.abort: TheABORtcommand..afgcontrol: TheAFGControlcommand tree..cal: The*CALcommand..calibration: TheCALibrationcommand tree..cls: The*CLScommand..data: TheDATAcommand tree..diagnostic: TheDIAGnosticcommand tree..display: TheDISPlaycommand tree..ese: The*ESEcommand..esr: The*ESRcommand..hcopy: TheHCOPycommand tree..idn: The*IDNcommand..memory: TheMEMorycommand tree..mmemory: TheMMEMorycommand tree..opc: The*OPCcommand..opt: The*OPTcommand..output1: TheOUTPut1command tree..output2: TheOUTPut2command tree..output: TheOUTPutcommand tree..psc: The*PSCcommand..rcl: The*RCLcommand..rst: The*RSTcommand..sav: The*SAVcommand..source1: TheSOURce1command tree..source2: TheSOURce2command tree..source3: TheSOURce3command tree..source4: TheSOURce4command tree..source: TheSOURcecommand tree..sre: The*SREcommand..status: TheSTATuscommand tree..stb: The*STBcommand..system: TheSYSTemcommand tree..trg: The*TRGcommand..trigger: TheTRIGgercommand tree..tst: The*TSTcommand..wai: The*WAIcommand.
abort
property
¶
abort: Abort
Return the ABORt command.
Description
- Initializes all the current trigger system parameters and resets all trigger sequences.
Usage
- Using the
.write()method will send theABORtcommand.
SCPI Syntax
- ABORt
afgcontrol
property
¶
afgcontrol: Afgcontrol
Return the AFGControl command tree.
Usage
- Using the
.query()method will send theAFGControl?query. - Using the
.verify(value)method will send theAFGControl?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.cscopy: TheAFGControl:CSCopycommand.
cal
property
¶
cal: Cal
Return the *CAL command.
Description
- This query-only command starts signal path calibration (SPC) and returns the status upon completion.
Usage
- Using the
.query()method will send the*CAL?query. - Using the
.verify(value)method will send the*CAL?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- *CAL?
calibration
property
¶
calibration: Calibration
Return the CALibration command tree.
Usage
- Using the
.query()method will send theCALibration?query. - Using the
.verify(value)method will send theCALibration?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.all: TheCALibration:ALLcommand.
cls
property
¶
cls: Cls
Return the *CLS command.
Description
- This command (no query form) clears the following: Event Queue Standard Event Status
Register Status Byte Register (except the MAV bit) If the
*CLScommand immediately follows an, the Output Queue and MAV bit (Status Byte Register bit 4) are also cleared. MAV indicates that information is in the output queue. The device clear (DCL) control message will clear the output queue and thus MAV. *CLSdoes not clear the output queue or MAV.*CLScan suppress a Service Request that is to be generated by an*OPC. This will happen if a single sequence acquisition operation is still being processed when the*CLScommand is executed.
Usage
- Using the
.write()method will send the*CLScommand.
SCPI Syntax
- *CLS
data
property
¶
data: Data
Return the DATA command tree.
Usage
- Using the
.query()method will send theDATA?query. - Using the
.verify(value)method will send theDATA?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.catalog: TheDATA:CATalogcommand..copy: TheDATA:COPYcommand..define: TheDATA:DEFinecommand..delete: TheDATA:DELetecommand tree..ememcopy: TheDATA:EMEMCOPYcommand..lock: TheDATA:LOCKcommand tree..points: TheDATA:POINtscommand..data: TheDATA:DATAcommand.
diagnostic
property
¶
diagnostic: Diagnostic
Return the DIAGnostic command tree.
Usage
- Using the
.query()method will send theDIAGnostic?query. - Using the
.verify(value)method will send theDIAGnostic?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.all: TheDIAGnostic:ALLcommand.
display
property
¶
display: Display
Return the DISPlay command tree.
Usage
- Using the
.query()method will send theDISPlay?query. - Using the
.verify(value)method will send theDISPlay?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.brightness: TheDISPlay:BRIGHtnesscommand..contrast: TheDISPlay:CONTrastcommand..saver: TheDISPlay:SAVercommand tree..window: TheDISPlay:WINDowcommand tree.
ese
property
¶
ese: Ese
Return the *ESE command.
Description
- This command sets or queries the bits in the Event Status Enable Register (ESER) used in the status and events reporting system of the arbitrary function generator. The query command returns the contents of the ESER.
Usage
- Using the
.query()method will send the*ESE?query. - Using the
.verify(value)method will send the*ESE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send the*ESE valuecommand.
SCPI Syntax
- *ESE <bit_value>
- *ESE?
Info
<bit_value>::=<NR1>
esr
property
¶
esr: Esr
Return the *ESR command.
Description
- This query-only command returns the contents of the Standard Event Status Register
(SESR).
*ESR?also clears the SESR (since reading the SESR clears it). For a more detailed discussion of the use of these registers, see Registers.
Usage
- Using the
.query()method will send the*ESR?query. - Using the
.verify(value)method will send the*ESR?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- *ESR?
hcopy
property
¶
hcopy: Hcopy
Return the HCOPy command tree.
Usage
- Using the
.query()method will send theHCOPy?query. - Using the
.verify(value)method will send theHCOPy?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.sdump: TheHCOPy:SDUMpcommand tree.
idn
property
¶
idn: Idn
Return the *IDN command.
Description
- This query-only command returns the instrument identification code.
Usage
- Using the
.query()method will send the*IDN?query. - Using the
.verify(value)method will send the*IDN?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- *IDN?
memory
property
¶
memory: Memory
Return the MEMory command tree.
Usage
- Using the
.query()method will send theMEMory?query. - Using the
.verify(value)method will send theMEMory?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.state: TheMEMory:STATecommand tree.
mmemory
property
¶
mmemory: Mmemory
Return the MMEMory command tree.
Usage
- Using the
.query()method will send theMMEMory?query. - Using the
.verify(value)method will send theMMEMory?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.catalog: TheMMEMory:CATalogcommand..cdirectory: TheMMEMory:CDIRectorycommand..delete: TheMMEMory:DELetecommand..load: TheMMEMory:LOADcommand tree..lock: TheMMEMory:LOCKcommand tree..mdirectory: TheMMEMory:MDIRectorycommand..store: TheMMEMory:STORecommand tree.
opc
property
¶
opc: Opc
Return the *OPC command.
Description
- This command generates the operation complete message in the Standard Event Status
Register (SESR) when all pending commands that generate an OPC message are complete.
The
*OPC?query places the ASCII character ‘1’ into the output queue when all such OPC commands are complete. The*OPC?response is not available to read until all pending operations finish. For a complete discussion of the use of these registers and the output queue, see Registers and Queues. The*OPCcommand allows you to synchronize the operation of the instrument with your application program. For more information, see Synchronization Methods. Refer to the Oscilloscope operations that can generate OPC table for a list of commands that generate an OPC message.
Usage
- Using the
.query()method will send the*OPC?query. - Using the
.verify(value)method will send the*OPC?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write()method will send the*OPCcommand.
SCPI Syntax
- *OPC
- *OPC?
opt
property
¶
opt: Opt
Return the *OPT command.
Description
- This query-only command returns a comma separated list of installed options as an
arbitrary ASCII string (no quotes) of the form:
<optionCode>:<optionDescription>,<optionCode>:<optionDescription>… The last section of each entry (the text following the last hyphen) indicates the license type. If no options are found, NONE is returned.
Usage
- Using the
.query()method will send the*OPT?query. - Using the
.verify(value)method will send the*OPT?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- *OPT?
output
property
¶
output: Output
Return the OUTPut command tree.
Usage
- Using the
.query()method will send theOUTPut?query. - Using the
.verify(value)method will send theOUTPut?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.trigger: TheOUTPut:TRIGgercommand tree.
output1
property
¶
output1: Output1
Return the OUTPut1 command tree.
Usage
- Using the
.query()method will send theOUTPut1?query. - Using the
.verify(value)method will send theOUTPut1?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.impedance: TheOUTPut1:IMPedancecommand..polarity: TheOUTPut1:POLaritycommand..state: TheOUTPut1:STATecommand.
output2
property
¶
output2: Output2
Return the OUTPut2 command tree.
Usage
- Using the
.query()method will send theOUTPut2?query. - Using the
.verify(value)method will send theOUTPut2?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.impedance: TheOUTPut2:IMPedancecommand..polarity: TheOUTPut2:POLaritycommand..state: TheOUTPut2:STATecommand.
psc
property
¶
psc: Psc
Return the *PSC command.
Description
- This command sets and queries the power-on status flag that controls the automatic
power-on execution of SRER and ESER. When
*PSCis true, SRER and ESER are set to 0 at power-on. When*PSCis false, the current values in the SRER and ESER are preserved in nonvolatile memory when power is shut off and are restored at power-on.
Usage
- Using the
.query()method will send the*PSC?query. - Using the
.verify(value)method will send the*PSC?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send the*PSC valuecommand.
SCPI Syntax
- *PSC <NR1>
- *PSC?
rcl
property
¶
rcl: Rcl
Return the *RCL command.
Description
- This command restores the state of the instrument from a copy of the settings stored
in the setup memory. The settings are stored using the
*SAVcommand. If the specified setup memory is deleted, this command causes an error.
Usage
- Using the
.write(value)method will send the*RCL valuecommand.
SCPI Syntax
- *RCL {0|1|2|3|4}
rst
property
¶
rst: Rst
Return the *RST command.
Description
- This command (no query form) resets the instrument to the factory default settings.
This command does the following: Recalls the default instrument setup. Clears the
current
*DDTcommand. Disables aliases (:ALIAS:STATE 0). Disables the user password (for the*PUDcommand). The*RSTcommand does not change the following: The current working directory (:FILESystem:CWDcommand). The state of command headers (:HEADercommand). The state of keyword and enumeration verbosity (:VERBosecommand). The Power-on Status Clear Flag (*PSCcommand). The Event Status Enable Register (*ESEcommand). The Service Request Enable Register (*SREcommand). The Device Event Status Enable Register ( DESE command). The user password for protected user data (:PASSWordcommand). The content of protected user data (*PUDcommand). The enabled state of the socket server (:SOCKETServer:ENAblecommand). The socket server port number (:SOCKETServer:PORTcommand). The socket server protocol (:SOCKETServer:PROTOColcommand). The USBTMC port configuration (:USBDevice:CONFigurecommand). The destination reference waveform or file path for the:CURVecommand (:DATa:DESTinationcommand). The source waveform for the:CURVe?or:WAVFrm?queries (:DATa:SOUrcecommand). The waveform data encoding for the:CURVecommand or query or the:WAVFrm?query (:DATa:ENCdgcommand). The starting point for:CURVe?queries (:DATa:STARtcommand). The ending point for:CURVe?queries (:DATa:STOPcommand). All settings associated the:WFMInprecommands. All user settable settings associated with the WFMOutpre commands.*RSTonly resets the programmable interface settings, it does not change the user interface settings.
Usage
- Using the
.write()method will send the*RSTcommand.
SCPI Syntax
- *RST
sav
property
¶
sav: Sav
Return the *SAV command.
Description
- This command stores the current settings of the arbitrary function generator to a specified setup memory location. A setup memory location numbered 0 ( last setup memory) is automatically overwritten by the setups when you power off the instrument. If a specified numbered setup memory is locked, this command causes an error.
Usage
- Using the
.write(value)method will send the*SAV valuecommand.
SCPI Syntax
- *SAV {0|1|2|3|4}
source
property
¶
source: Source
Return the SOURce command tree.
Usage
- Using the
.query()method will send theSOURce?query. - Using the
.verify(value)method will send theSOURce?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.roscillator: TheSOURce:ROSCillatorcommand tree.
source1
property
¶
source1: Source1
Return the SOURce1 command tree.
Usage
- Using the
.query()method will send theSOURce1?query. - Using the
.verify(value)method will send theSOURce1?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.am: TheSOURce1:AMcommand tree..burst: TheSOURce1:BURStcommand tree..combine: TheSOURce1:COMBinecommand tree..fm: TheSOURce1:FMcommand tree..frequency: TheSOURce1:FREQuencycommand tree..fskey: TheSOURce1:FSKeycommand tree..function: TheSOURce1:FUNCtioncommand tree..phase: TheSOURce1:PHASecommand tree..pm: TheSOURce1:PMcommand tree..pulse: TheSOURce1:PULSecommand tree..pwm: TheSOURce1:PWMcommand tree..sweep: TheSOURce1:SWEepcommand tree..voltage: TheSOURce1:VOLTagecommand tree.
source2
property
¶
source2: Source2
Return the SOURce2 command tree.
Usage
- Using the
.query()method will send theSOURce2?query. - Using the
.verify(value)method will send theSOURce2?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.am: TheSOURce2:AMcommand tree..burst: TheSOURce2:BURStcommand tree..combine: TheSOURce2:COMBinecommand tree..fm: TheSOURce2:FMcommand tree..frequency: TheSOURce2:FREQuencycommand tree..fskey: TheSOURce2:FSKeycommand tree..function: TheSOURce2:FUNCtioncommand tree..phase: TheSOURce2:PHASecommand tree..pm: TheSOURce2:PMcommand tree..pulse: TheSOURce2:PULSecommand tree..pwm: TheSOURce2:PWMcommand tree..sweep: TheSOURce2:SWEepcommand tree..voltage: TheSOURce2:VOLTagecommand tree.
source3
property
¶
source3: Source3
Return the SOURce3 command tree.
Usage
- Using the
.query()method will send theSOURce3?query. - Using the
.verify(value)method will send theSOURce3?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.power: TheSOURce3:POWercommand tree.
source4
property
¶
source4: Source4
Return the SOURce4 command tree.
Usage
- Using the
.query()method will send theSOURce4?query. - Using the
.verify(value)method will send theSOURce4?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.power: TheSOURce4:POWercommand tree.
sre
property
¶
sre: Sre
Return the *SRE command.
Description
- This command sets and queries the bits in the Service Request Enable Register (SRER).
Usage
- Using the
.query()method will send the*SRE?query. - Using the
.verify(value)method will send the*SRE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send the*SRE valuecommand.
SCPI Syntax
- *SRE <bit_value>
- *SRE?
status
property
¶
status: Status
Return the STATus command tree.
Usage
- Using the
.query()method will send theSTATus?query. - Using the
.verify(value)method will send theSTATus?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.operation: TheSTATus:OPERationcommand tree..preset: TheSTATus:PRESetcommand..questionable: TheSTATus:QUEStionablecommand tree.
stb
property
¶
stb: Stb
Return the *STB command.
Description
- The
*STB?(Read Status Byte) query returns the contents of the Status Byte Register (SBR) using the Master Summary Status (MSS) bit. For more information, refer to Registers.
Usage
- Using the
.query()method will send the*STB?query. - Using the
.verify(value)method will send the*STB?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- *STB?
system
property
¶
system: System
Return the SYSTem command tree.
Usage
- Using the
.query()method will send theSYSTem?query. - Using the
.verify(value)method will send theSYSTem?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.beeper: TheSYSTem:BEEPercommand tree..error: TheSYSTem:ERRorcommand tree..kclick: TheSYSTem:KCLickcommand tree..klock: TheSYSTem:KLOCkcommand tree..password: TheSYSTem:PASSwordcommand tree..security: TheSYSTem:SECuritycommand tree..ulanguage: TheSYSTem:ULANguagecommand..version: TheSYSTem:VERSioncommand.
trg
property
¶
trg: Trg
Return the *TRG command.
Description
- Performs a group execute trigger on commands defined by
*DDT.
Usage
- Using the
.write()method will send the*TRGcommand.
SCPI Syntax
- *TRG
trigger
property
¶
trigger: Trigger
Return the TRIGger command tree.
Usage
- Using the
.query()method will send theTRIGger?query. - Using the
.verify(value)method will send theTRIGger?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.sequence: TheTRIGger:SEQuencecommand tree.
tst
property
¶
tst: Tst
Return the *TST command.
Description
- Tests (self-test) the interface and returns a 0.
Usage
- Using the
.query()method will send the*TST?query. - Using the
.verify(value)method will send the*TST?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- *TST?
wai
property
¶
wai: Wai
Return the *WAI command.
Description
- The
*WAI(Wait) command (no query form) prevents the instrument from executing further commands or queries until all pending commands that generate an OPC message are complete. This command allows you to synchronize the operation of the instrument with your application program. For more information, refer to Synchronization Methods.
Usage
- Using the
.write()method will send the*WAIcommand.
SCPI Syntax
- *WAI
AFG3KMixin
¶
A mixin that provides access to the AFG3K commands and constants.
Properties
.command_argument_constants: The AFG3K command argument constants..commands: The AFG3K commands.
command_argument_constants
cached
property
¶
command_argument_constants: AFG3KCommandConstants
Return the AFG3K command argument constants.
This provides access to all the string constants which can be used as arguments for AFG3K commands.
commands
cached
property
¶
commands: AFG3KCommands
Return the AFG3K commands.
This provides access to all the commands for the AFG3K device. See the documentation of each sub-property for more usage information.
Sub-properties
.abort: TheABORtcommand..afgcontrol: TheAFGControlcommand tree..cal: The*CALcommand..calibration: TheCALibrationcommand tree..cls: The*CLScommand..data: TheDATAcommand tree..diagnostic: TheDIAGnosticcommand tree..display: TheDISPlaycommand tree..ese: The*ESEcommand..esr: The*ESRcommand..hcopy: TheHCOPycommand tree..idn: The*IDNcommand..memory: TheMEMorycommand tree..mmemory: TheMMEMorycommand tree..opc: The*OPCcommand..opt: The*OPTcommand..output1: TheOUTPut1command tree..output2: TheOUTPut2command tree..output: TheOUTPutcommand tree..psc: The*PSCcommand..rcl: The*RCLcommand..rst: The*RSTcommand..sav: The*SAVcommand..source1: TheSOURce1command tree..source2: TheSOURce2command tree..source3: TheSOURce3command tree..source4: TheSOURce4command tree..source: TheSOURcecommand tree..sre: The*SREcommand..status: TheSTATuscommand tree..stb: The*STBcommand..system: TheSYSTemcommand tree..trg: The*TRGcommand..trigger: TheTRIGgercommand tree..tst: The*TSTcommand..wai: The*WAIcommand.