USB Raw

Inherits from I/O Session class.

Long Name Description
USB Settings:Control Pipe Specifies the endpoint address of the USB control pipe used by the given session. A value of 0 signifies the session will use the default control pipe. This endpoint is used in VISA USB Control In and VISA USB Control Out operations. Valid values are 0 to 15 (0x00 to 0x0f). Non-zero values may not be supported on all platforms. The default is 0. Details
USB Settings:End Mode for Reads Specifies the method used to terminate read operations. Valid values include: (0) End None, (4) End Short, (5) End Short or Count. Use (0) End None to receive all requested data bytes regardless of any short packets. Use (4) End Short if the device sends a zero (short) packet when the last data packet is full. Use (5) End Short or Count if the device does not send zero packets. The default is (5) End Short or Count. Details
USB Settings:Bulk-In Pipe Specifies the endpoint number of the USB bulk-in pipe used by the given session. An initial value of -1 signifies that this resource does not have any bulk-in pipes. Other valid values are 129 to 143 (0x81 to 0x8f). VISA Read and related operations use this endpoint. Details
USB Settings:Number of Pipes Returns the number of pipes supported by this USB interface. Details
USB Settings:Alternate Setting Specifies the USB alternate setting used by this USB interface. The default is 0. Details
USB Settings:Serial Number Returns the USB serial number of this device. Details
USB Settings:Maximum Interrupt Size Specifies the maximum size of data stored by any given USB interrupt. If a USB interrupt contains more data than this size, the data in excess of this size is lost. This property is read/write when the corresponding session is not enabled to receive USB interrupt events. When the session is enabled to receive USB interrupt events, this property is read only. Details
General Settings:Model Name Returns the model name of the device. Details
General Settings:Model Code Returns the device model code assigned by the manufacturer. For VXI resources, this refers to the VXI Model Code. For PXI resources, if the subsystem PCI Vendor ID is nonzero, this refers to the subsystem Device ID. Otherwise, this refers to the Device ID. For USB resources, this refers to the Product ID (PID). Details
Message Based Settings:Suppress End Enable Specifies whether to terminate a read operation due to an END condition. This property is relevant only in VISA Read and related operations. Details
USB Settings:USB Class Returns the USB class used by the given session. Details
USB Settings:Bulk-In Pipe Status Specifies whether the USB bulk-in pipe used by the given session is stalled or ready. Details
USB Settings:Out Pipe Specifies the endpoint number of the USB bulk-out or interrupt-out pipe used by the given session. An initial value of -1 signifies that this resource does not have any bulk-out or interrupt-out pipes. Other valid values are 1 to 15 (0x01 to 0x0f). VISA Write and related operations use this endpoint. Details
Message Based Settings:IO Protocol Specifies which protocol to use. In VXI, you can choose normal word serial or fast data channel. In GPIB, you can choose normal or high-speed HS-488 transfers. In serial, TCP/IP, or USB, you can choose normal transfers or 488.2-defined strings. In USBTMC, you can choose normal or vendor-specific transfers. The default is Normal. Details
General Settings:Manufacturer Name Returns the name of the manufacturer that created the device. Details
General Settings:Manufacturer Identification Returns the ID of the manufacturer that created the device. For VXI resources, this refers to the VXI Manufacturer ID. For PXI resources, if the subsystem PCI Vendor ID is nonzero, this refers to the subsystem Vendor ID. Otherwise, this refers to the Vendor ID. For USB resources, this refers to the Vendor ID (VID). Details
USB Settings:Number of Interfaces Returns the number of interfaces supported by this USB device. Details
Message Based Settings:Termination Character Enable Specifies whether a read operation terminates when it receives the termination character. The default is FALSE. Details
Message Based Settings:Termination Character Specifies a character that, when read, causes a read operation to terminate. The termination character also must be enabled. This default is 0x0A (linefeed). Details
USB Settings:USB Subclass Returns the USB subclass used by the given session. Details
USB Settings:Out Pipe Status Specifies whether the USB bulk-out or interrupt-out pipe used by the given session is stalled or ready. Details
USB Settings:USB Interface Number Returns the USB interface number used by the given session. Details
USB Settings:Interrupt-In Pipe Specifies the endpoint number of the USB interrupt-in pipe used by the given session. An initial value of -1 signifies that this resource does not have any interrupt-in pipes. Other valid values are 129 to 143 (0x81 to 0x8f). VISA Enable Event uses this endpoint for the USB Interrupt Event. Details
USB Settings:Interrupt-In Pipe Status Specifies whether the USB interrupt-in pipe used by the given session is stalled or ready. Details
USB Settings:USB Protocol Returns the USB protocol used by the given session. Details