usbtmc
¶
The usbtmc commands module.
These commands are used in the following models: DPO2K, DPO2KB, DPO4K, DPO4KB, MDO3, MDO3K, MDO4K, MDO4KB, MDO4KC, MSO2K, MSO2KB, MSO4K, MSO4KB
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- USBTMC:PRODUCTID:DECimal?
- USBTMC:PRODUCTID:HEXadecimal?
- USBTMC:SERIALnumber?
- USBTMC:VENDORID:DECimal?
- USBTMC:VENDORID:HEXadecimal?
- USBTMC?
Usbtmc
¶
Bases: SCPICmdRead
The USBTMC command.
Description
- Returns the
USBTMCinformation used by the USB hosts to determine the instrument interfaces.
Usage
- Using the
.query()method will send theUSBTMC?query. - Using the
.verify(value)method will send theUSBTMC?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- USBTMC?
Properties
.productid: TheUSBTMC:PRODUCTIDcommand tree..serialnumber: TheUSBTMC:SERIALnumbercommand..vendorid: TheUSBTMC:VENDORIDcommand tree.
productid
property
¶
productid: UsbtmcProductid
Return the USBTMC:PRODUCTID command tree.
Usage
- Using the
.query()method will send theUSBTMC:PRODUCTID?query. - Using the
.verify(value)method will send theUSBTMC:PRODUCTID?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.decimal: TheUSBTMC:PRODUCTID:DECimalcommand..hexadecimal: TheUSBTMC:PRODUCTID:HEXadecimalcommand.
serialnumber
property
¶
serialnumber: UsbtmcSerialnumber
Return the USBTMC:SERIALnumber command.
Description
- This query returns the serial number of the oscilloscope. USBTMC stands for USB Test & Measurement Class, a protocol that allows GPIB-like communication with USB devices.
Usage
- Using the
.query()method will send theUSBTMC:SERIALnumber?query. - Using the
.verify(value)method will send theUSBTMC:SERIALnumber?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- USBTMC:SERIALnumber?
vendorid
property
¶
vendorid: UsbtmcVendorid
Return the USBTMC:VENDORID command tree.
Usage
- Using the
.query()method will send theUSBTMC:VENDORID?query. - Using the
.verify(value)method will send theUSBTMC:VENDORID?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.decimal: TheUSBTMC:VENDORID:DECimalcommand..hexadecimal: TheUSBTMC:VENDORID:HEXadecimalcommand.
UsbtmcProductid
¶
Bases: SCPICmdRead
The USBTMC:PRODUCTID command tree.
Usage
- Using the
.query()method will send theUSBTMC:PRODUCTID?query. - Using the
.verify(value)method will send theUSBTMC:PRODUCTID?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.decimal: TheUSBTMC:PRODUCTID:DECimalcommand..hexadecimal: TheUSBTMC:PRODUCTID:HEXadecimalcommand.
decimal
property
¶
decimal: UsbtmcProductidDecimal
Return the USBTMC:PRODUCTID:DECimal command.
Description
- This query returns the product ID number as a decimal. The product ID numbers vary for each instrument family and model. USBTMC stands for USB Test & Measurement Class, a protocol that allows GPIB-like communication with USB devices. For product ID numbers, see the following table.
Usage
- Using the
.query()method will send theUSBTMC:PRODUCTID:DECimal?query. - Using the
.verify(value)method will send theUSBTMC:PRODUCTID:DECimal?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- USBTMC:PRODUCTID:DECimal?
hexadecimal
property
¶
hexadecimal: UsbtmcProductidHexadecimal
Return the USBTMC:PRODUCTID:HEXadecimal command.
Description
- This query returns the product ID number as a hexadecimal value. The product ID numbers vary for each instrument family and model. USBTMC stands for USB Test & Measurement Class, a protocol that allows GPIB-like communication with USB devices. For product ID numbers, see the following table.
Usage
- Using the
.query()method will send theUSBTMC:PRODUCTID:HEXadecimal?query. - Using the
.verify(value)method will send theUSBTMC:PRODUCTID:HEXadecimal?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- USBTMC:PRODUCTID:HEXadecimal?
UsbtmcProductidDecimal
¶
Bases: SCPICmdRead
The USBTMC:PRODUCTID:DECimal command.
Description
- This query returns the product ID number as a decimal. The product ID numbers vary for each instrument family and model. USBTMC stands for USB Test & Measurement Class, a protocol that allows GPIB-like communication with USB devices. For product ID numbers, see the following table.
Usage
- Using the
.query()method will send theUSBTMC:PRODUCTID:DECimal?query. - Using the
.verify(value)method will send theUSBTMC:PRODUCTID:DECimal?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- USBTMC:PRODUCTID:DECimal?
UsbtmcProductidHexadecimal
¶
Bases: SCPICmdRead
The USBTMC:PRODUCTID:HEXadecimal command.
Description
- This query returns the product ID number as a hexadecimal value. The product ID numbers vary for each instrument family and model. USBTMC stands for USB Test & Measurement Class, a protocol that allows GPIB-like communication with USB devices. For product ID numbers, see the following table.
Usage
- Using the
.query()method will send theUSBTMC:PRODUCTID:HEXadecimal?query. - Using the
.verify(value)method will send theUSBTMC:PRODUCTID:HEXadecimal?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- USBTMC:PRODUCTID:HEXadecimal?
UsbtmcSerialnumber
¶
Bases: SCPICmdRead
The USBTMC:SERIALnumber command.
Description
- This query returns the serial number of the oscilloscope. USBTMC stands for USB Test & Measurement Class, a protocol that allows GPIB-like communication with USB devices.
Usage
- Using the
.query()method will send theUSBTMC:SERIALnumber?query. - Using the
.verify(value)method will send theUSBTMC:SERIALnumber?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- USBTMC:SERIALnumber?
UsbtmcVendorid
¶
Bases: SCPICmdRead
The USBTMC:VENDORID command tree.
Usage
- Using the
.query()method will send theUSBTMC:VENDORID?query. - Using the
.verify(value)method will send theUSBTMC:VENDORID?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.decimal: TheUSBTMC:VENDORID:DECimalcommand..hexadecimal: TheUSBTMC:VENDORID:HEXadecimalcommand.
decimal
property
¶
decimal: UsbtmcVendoridDecimal
Return the USBTMC:VENDORID:DECimal command.
Description
- This query returns the vendor ID number as a decimal. The decimal vendor ID for Tektronix instruments is 1689. USBTMC stands for USB Test & Measurement Class, a protocol that allows GPIB-like communication with USB devices.
Usage
- Using the
.query()method will send theUSBTMC:VENDORID:DECimal?query. - Using the
.verify(value)method will send theUSBTMC:VENDORID:DECimal?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- USBTMC:VENDORID:DECimal?
hexadecimal
property
¶
hexadecimal: UsbtmcVendoridHexadecimal
Return the USBTMC:VENDORID:HEXadecimal command.
Description
- This query returns the vendor ID number as a hexadecimal value. The hexadecimal vendor ID for Tektronix instruments is 0x699. USBTMC stands for USB Test & Measurement Class, a protocol that allows GPIB-like communication with USB devices.
Usage
- Using the
.query()method will send theUSBTMC:VENDORID:HEXadecimal?query. - Using the
.verify(value)method will send theUSBTMC:VENDORID:HEXadecimal?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- USBTMC:VENDORID:HEXadecimal?
UsbtmcVendoridDecimal
¶
Bases: SCPICmdRead
The USBTMC:VENDORID:DECimal command.
Description
- This query returns the vendor ID number as a decimal. The decimal vendor ID for Tektronix instruments is 1689. USBTMC stands for USB Test & Measurement Class, a protocol that allows GPIB-like communication with USB devices.
Usage
- Using the
.query()method will send theUSBTMC:VENDORID:DECimal?query. - Using the
.verify(value)method will send theUSBTMC:VENDORID:DECimal?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- USBTMC:VENDORID:DECimal?
UsbtmcVendoridHexadecimal
¶
Bases: SCPICmdRead
The USBTMC:VENDORID:HEXadecimal command.
Description
- This query returns the vendor ID number as a hexadecimal value. The hexadecimal vendor ID for Tektronix instruments is 0x699. USBTMC stands for USB Test & Measurement Class, a protocol that allows GPIB-like communication with USB devices.
Usage
- Using the
.query()method will send theUSBTMC:VENDORID:HEXadecimal?query. - Using the
.verify(value)method will send theUSBTMC:VENDORID:HEXadecimal?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- USBTMC:VENDORID:HEXadecimal?