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 USBTMC information used by the USB hosts to determine the instrument interfaces.
Usage
  • Using the .query() method will send the USBTMC? query.
  • Using the .verify(value) method will send the USBTMC? query and raise an AssertionError if the returned value does not match value.
SCPI Syntax
- USBTMC?
Properties
  • .productid: The USBTMC:PRODUCTID command tree.
  • .serialnumber: The USBTMC:SERIALnumber command.
  • .vendorid: The USBTMC:VENDORID command tree.

productid property

productid: UsbtmcProductid

Return the USBTMC:PRODUCTID command tree.

Usage
  • Using the .query() method will send the USBTMC:PRODUCTID? query.
  • Using the .verify(value) method will send the USBTMC:PRODUCTID? query and raise an AssertionError if the returned value does not match value.
Sub-properties
  • .decimal: The USBTMC:PRODUCTID:DECimal command.
  • .hexadecimal: The USBTMC:PRODUCTID:HEXadecimal command.

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 the USBTMC:SERIALnumber? query.
  • Using the .verify(value) method will send the USBTMC:SERIALnumber? query and raise an AssertionError if the returned value does not match value.
SCPI Syntax
- USBTMC:SERIALnumber?

vendorid property

vendorid: UsbtmcVendorid

Return the USBTMC:VENDORID command tree.

Usage
  • Using the .query() method will send the USBTMC:VENDORID? query.
  • Using the .verify(value) method will send the USBTMC:VENDORID? query and raise an AssertionError if the returned value does not match value.
Sub-properties
  • .decimal: The USBTMC:VENDORID:DECimal command.
  • .hexadecimal: The USBTMC:VENDORID:HEXadecimal command.

UsbtmcProductid

Bases: SCPICmdRead

The USBTMC:PRODUCTID command tree.

Usage
  • Using the .query() method will send the USBTMC:PRODUCTID? query.
  • Using the .verify(value) method will send the USBTMC:PRODUCTID? query and raise an AssertionError if the returned value does not match value.
Properties
  • .decimal: The USBTMC:PRODUCTID:DECimal command.
  • .hexadecimal: The USBTMC:PRODUCTID:HEXadecimal command.

decimal property

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 the USBTMC:PRODUCTID:DECimal? query.
  • Using the .verify(value) method will send the USBTMC:PRODUCTID:DECimal? query and raise an AssertionError if the returned value does not match value.
SCPI Syntax
- USBTMC:PRODUCTID:DECimal?

hexadecimal property

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 the USBTMC:PRODUCTID:HEXadecimal? query.
  • Using the .verify(value) method will send the USBTMC:PRODUCTID:HEXadecimal? query and raise an AssertionError if the returned value does not match value.
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 the USBTMC:PRODUCTID:DECimal? query.
  • Using the .verify(value) method will send the USBTMC:PRODUCTID:DECimal? query and raise an AssertionError if the returned value does not match value.
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 the USBTMC:PRODUCTID:HEXadecimal? query.
  • Using the .verify(value) method will send the USBTMC:PRODUCTID:HEXadecimal? query and raise an AssertionError if the returned value does not match value.
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 the USBTMC:SERIALnumber? query.
  • Using the .verify(value) method will send the USBTMC:SERIALnumber? query and raise an AssertionError if the returned value does not match value.
SCPI Syntax
- USBTMC:SERIALnumber?

UsbtmcVendorid

Bases: SCPICmdRead

The USBTMC:VENDORID command tree.

Usage
  • Using the .query() method will send the USBTMC:VENDORID? query.
  • Using the .verify(value) method will send the USBTMC:VENDORID? query and raise an AssertionError if the returned value does not match value.
Properties
  • .decimal: The USBTMC:VENDORID:DECimal command.
  • .hexadecimal: The USBTMC:VENDORID:HEXadecimal command.

decimal property

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 the USBTMC:VENDORID:DECimal? query.
  • Using the .verify(value) method will send the USBTMC:VENDORID:DECimal? query and raise an AssertionError if the returned value does not match value.
SCPI Syntax
- USBTMC:VENDORID:DECimal?

hexadecimal property

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 the USBTMC:VENDORID:HEXadecimal? query.
  • Using the .verify(value) method will send the USBTMC:VENDORID:HEXadecimal? query and raise an AssertionError if the returned value does not match value.
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 the USBTMC:VENDORID:DECimal? query.
  • Using the .verify(value) method will send the USBTMC:VENDORID:DECimal? query and raise an AssertionError if the returned value does not match value.
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 the USBTMC:VENDORID:HEXadecimal? query.
  • Using the .verify(value) method will send the USBTMC:VENDORID:HEXadecimal? query and raise an AssertionError if the returned value does not match value.
SCPI Syntax
- USBTMC:VENDORID:HEXadecimal?