USB Raw - EigenschaftenPDF herunterladenAusgewählter AbschnittGewählter Abschnitt / AbschnitteGesamtes DokumentAktualisiert2025-07-306 Minute(n) LesezeitLabVIEWAPI-ReferenzLabVIEW G General Settings:Maximum Queue LengthSpecifies the maximum number of events that can be queued at any time on the given session. This property is read/write until the first time you call VISA Enable Event on a session. Thereafter, it is read only. The default is 50.General Settings:Resource ClassReturns the resource class of the resource string used to open the given session. For example, if the resource string for a given session is COM1 or ASRL1::INSTR, this property returns INSTR, regardless of the class of the I/O control.General Settings:Resource Lock StateReturns the current locking state of the resource associated with the given session. The resource can be unlocked, locked with an exclusive lock, or locked with a shared lock. The default is Unlocked.General Settings:Resource NameReturns the unique identifier for a resource.General Settings:Timeout ValueSpecifies the minimum timeout value, in milliseconds, to use when accessing the device. Note that the actual timeout that VISA returns may be higher than the one requested. The default is 2000.General Settings:User DataSpecifies a data value for the private use of an application. The VISA implementation stores this value in a per-session location, so that user data on other sessions does not affect the user data on this session. VISA does not use this property for any purpose.Interface Information:Interface DescriptionSpecifies human-readable text that describes the given interface. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.Interface Information:Interface NumberReturns the board number for the given interface.Interface Information:Interface TypeSpecifies the interface type of the given session.Version Information:Resource Manufacturer IdentificationReturns a value that corresponds to the VXI manufacturer ID of the manufacturer that created the VISA implementation.Version Information:Resource Manufacturer NameReturns the name of the manufacturer that created the implementation. This is not related to the device manufacturer attributes. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.Version Information:Version of ImplementationReturns the version of a given implementation. This value is defined by the individual manufacturer and increments with each new revision. The format of the value has the upper 12 bits as the major number of the version, the next lower 12 bits as the minor number of the version, and the lowest 8 bits as the sub-minor number of the version.Version Information:Version of SpecificationReturns the value that uniquely identifies the version of the VISA specification to which the implementation complies. The format of the value has the upper 12 bits as the major number of the version, the next lower 12 bits as the minor number of the version, and the lowest 8 bits as the sub-minor number of the version.General Settings:Manufacturer IdentificationReturns the ID of the manufacturer that created the device. For VXI resources, this refers to the VXI Manufacturer ID. For PXI/PCI resources, this refers to the Subsystem Vendor ID (SVID) if it is nonzero; otherwise, this refers to the Vendor ID (VID). For USB resources, this refers to the Vendor ID (VID).General Settings:Manufacturer NameReturns the name of the manufacturer that created the device. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.General Settings:Model CodeReturns the device model code assigned by the manufacturer. For VXI resources, this refers to the VXI Model Code. For PXI/PCI resources, if the Subsystem Vendor ID is nonzero, this refers to the Subsystem ID (SSID); otherwise, this refers to the Device ID (DID). For USB resources, this refers to the Product ID (PID).General Settings:Model NameReturns the model name of the device. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.Message Based Settings:IO ProtocolSpecifies 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.Message Based Settings:Suppress End EnableSpecifies whether to terminate a read operation due to an END condition. This property is relevant only in VISA Read and related operations. For all session types that support this property, if this property is set to TRUE, read does not terminate due to an END condition. However, a read may still terminate successfully if the Message Based Settings:Termination Character Enable (TermChar En) property is set to TRUE. Otherwise, read does not terminate until it receives all of the requested data (or an error occurs). The default is FALSE (except for TCP/IP Socket sessions). On Serial Instr sessions, if this property is set to FALSE, VISA performs the behavior described in the Serial Settings:End Mode for Reads (ASRL End In) property. On USB Raw sessions, if this property is set to FALSE, VISA performs the behavior described in the USB Settings:End Mode for Reads (USB End In) property. On TCP/IP Socket sessions, if this property is set to FALSE, if NI-VISA reads some data and then detects a pause in the arrival of data packets, it terminates the read operation. On TCP/IP Socket sessions, the default value for the property is TRUE in NI-VISA. On VXI Instr sessions, if this property is set to FALSE, the END bit terminates read operations.Message Based Settings:Termination CharacterSpecifies a character that, when read, causes a read operation to terminate. The termination character also must be enabled. This default is 0x0A (linefeed).Message Based Settings:Termination Character EnableSpecifies whether a read operation terminates when it receives the termination character. The default is FALSE.USB Settings:Alternate SettingSpecifies the USB alternate setting used by this USB interface. The default is 0.USB Settings:Bulk-In PipeSpecifies 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.USB Settings:Bulk-In Pipe StatusSpecifies whether the USB bulk-in pipe used by the given session is stalled or ready.USB Settings:Bulk-Out PipeSpecifies 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.USB Settings:Bulk-Out Pipe StatusSpecifies whether the USB bulk-out or interrupt-out pipe used by the given session is stalled or ready.USB Settings:Control PipeSpecifies 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.USB Settings:End Mode for ReadsSpecifies 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.USB Settings:Interrupt-In PipeSpecifies 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.USB Settings:Interrupt-In Pipe StatusSpecifies whether the USB interrupt-in pipe used by the given session is stalled or ready.USB Settings:Maximum Interrupt SizeSpecifies 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.USB Settings:Number of InterfacesReturns the number of interfaces supported by this USB device.USB Settings:Number of PipesReturns the number of pipes supported by this USB interface.USB Settings:Serial NumberReturns the USB serial number of this device.USB Settings:USB ClassReturns the USB class used by the given session.USB Settings:USB Interface NumberReturns the USB interface number used by the given session.USB Settings:USB ProtocolReturns the USB protocol used by the given session.USB Settings:USB SubclassReturns the USB subclass used by the given session.
General Settings:Maximum Queue LengthSpecifies the maximum number of events that can be queued at any time on the given session. This property is read/write until the first time you call VISA Enable Event on a session. Thereafter, it is read only. The default is 50.General Settings:Resource ClassReturns the resource class of the resource string used to open the given session. For example, if the resource string for a given session is COM1 or ASRL1::INSTR, this property returns INSTR, regardless of the class of the I/O control.General Settings:Resource Lock StateReturns the current locking state of the resource associated with the given session. The resource can be unlocked, locked with an exclusive lock, or locked with a shared lock. The default is Unlocked.General Settings:Resource NameReturns the unique identifier for a resource.General Settings:Timeout ValueSpecifies the minimum timeout value, in milliseconds, to use when accessing the device. Note that the actual timeout that VISA returns may be higher than the one requested. The default is 2000.General Settings:User DataSpecifies a data value for the private use of an application. The VISA implementation stores this value in a per-session location, so that user data on other sessions does not affect the user data on this session. VISA does not use this property for any purpose.Interface Information:Interface DescriptionSpecifies human-readable text that describes the given interface. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.Interface Information:Interface NumberReturns the board number for the given interface.Interface Information:Interface TypeSpecifies the interface type of the given session.Version Information:Resource Manufacturer IdentificationReturns a value that corresponds to the VXI manufacturer ID of the manufacturer that created the VISA implementation.Version Information:Resource Manufacturer NameReturns the name of the manufacturer that created the implementation. This is not related to the device manufacturer attributes. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.Version Information:Version of ImplementationReturns the version of a given implementation. This value is defined by the individual manufacturer and increments with each new revision. The format of the value has the upper 12 bits as the major number of the version, the next lower 12 bits as the minor number of the version, and the lowest 8 bits as the sub-minor number of the version.Version Information:Version of SpecificationReturns the value that uniquely identifies the version of the VISA specification to which the implementation complies. The format of the value has the upper 12 bits as the major number of the version, the next lower 12 bits as the minor number of the version, and the lowest 8 bits as the sub-minor number of the version.General Settings:Manufacturer IdentificationReturns the ID of the manufacturer that created the device. For VXI resources, this refers to the VXI Manufacturer ID. For PXI/PCI resources, this refers to the Subsystem Vendor ID (SVID) if it is nonzero; otherwise, this refers to the Vendor ID (VID). For USB resources, this refers to the Vendor ID (VID).General Settings:Manufacturer NameReturns the name of the manufacturer that created the device. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.General Settings:Model CodeReturns the device model code assigned by the manufacturer. For VXI resources, this refers to the VXI Model Code. For PXI/PCI resources, if the Subsystem Vendor ID is nonzero, this refers to the Subsystem ID (SSID); otherwise, this refers to the Device ID (DID). For USB resources, this refers to the Product ID (PID).General Settings:Model NameReturns the model name of the device. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.Message Based Settings:IO ProtocolSpecifies 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.Message Based Settings:Suppress End EnableSpecifies whether to terminate a read operation due to an END condition. This property is relevant only in VISA Read and related operations. For all session types that support this property, if this property is set to TRUE, read does not terminate due to an END condition. However, a read may still terminate successfully if the Message Based Settings:Termination Character Enable (TermChar En) property is set to TRUE. Otherwise, read does not terminate until it receives all of the requested data (or an error occurs). The default is FALSE (except for TCP/IP Socket sessions). On Serial Instr sessions, if this property is set to FALSE, VISA performs the behavior described in the Serial Settings:End Mode for Reads (ASRL End In) property. On USB Raw sessions, if this property is set to FALSE, VISA performs the behavior described in the USB Settings:End Mode for Reads (USB End In) property. On TCP/IP Socket sessions, if this property is set to FALSE, if NI-VISA reads some data and then detects a pause in the arrival of data packets, it terminates the read operation. On TCP/IP Socket sessions, the default value for the property is TRUE in NI-VISA. On VXI Instr sessions, if this property is set to FALSE, the END bit terminates read operations.Message Based Settings:Termination CharacterSpecifies a character that, when read, causes a read operation to terminate. The termination character also must be enabled. This default is 0x0A (linefeed).Message Based Settings:Termination Character EnableSpecifies whether a read operation terminates when it receives the termination character. The default is FALSE.USB Settings:Alternate SettingSpecifies the USB alternate setting used by this USB interface. The default is 0.USB Settings:Bulk-In PipeSpecifies 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.USB Settings:Bulk-In Pipe StatusSpecifies whether the USB bulk-in pipe used by the given session is stalled or ready.USB Settings:Bulk-Out PipeSpecifies 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.USB Settings:Bulk-Out Pipe StatusSpecifies whether the USB bulk-out or interrupt-out pipe used by the given session is stalled or ready.USB Settings:Control PipeSpecifies 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.USB Settings:End Mode for ReadsSpecifies 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.USB Settings:Interrupt-In PipeSpecifies 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.USB Settings:Interrupt-In Pipe StatusSpecifies whether the USB interrupt-in pipe used by the given session is stalled or ready.USB Settings:Maximum Interrupt SizeSpecifies 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.USB Settings:Number of InterfacesReturns the number of interfaces supported by this USB device.USB Settings:Number of PipesReturns the number of pipes supported by this USB interface.USB Settings:Serial NumberReturns the USB serial number of this device.USB Settings:USB ClassReturns the USB class used by the given session.USB Settings:USB Interface NumberReturns the USB interface number used by the given session.USB Settings:USB ProtocolReturns the USB protocol used by the given session.USB Settings:USB SubclassReturns the USB subclass used by the given session.
General Settings:Maximum Queue LengthSpecifies the maximum number of events that can be queued at any time on the given session. This property is read/write until the first time you call VISA Enable Event on a session. Thereafter, it is read only. The default is 50.General Settings:Resource ClassReturns the resource class of the resource string used to open the given session. For example, if the resource string for a given session is COM1 or ASRL1::INSTR, this property returns INSTR, regardless of the class of the I/O control.General Settings:Resource Lock StateReturns the current locking state of the resource associated with the given session. The resource can be unlocked, locked with an exclusive lock, or locked with a shared lock. The default is Unlocked.General Settings:Resource NameReturns the unique identifier for a resource.General Settings:Timeout ValueSpecifies the minimum timeout value, in milliseconds, to use when accessing the device. Note that the actual timeout that VISA returns may be higher than the one requested. The default is 2000.General Settings:User DataSpecifies a data value for the private use of an application. The VISA implementation stores this value in a per-session location, so that user data on other sessions does not affect the user data on this session. VISA does not use this property for any purpose.Interface Information:Interface DescriptionSpecifies human-readable text that describes the given interface. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.Interface Information:Interface NumberReturns the board number for the given interface.Interface Information:Interface TypeSpecifies the interface type of the given session.Version Information:Resource Manufacturer IdentificationReturns a value that corresponds to the VXI manufacturer ID of the manufacturer that created the VISA implementation.Version Information:Resource Manufacturer NameReturns the name of the manufacturer that created the implementation. This is not related to the device manufacturer attributes. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.Version Information:Version of ImplementationReturns the version of a given implementation. This value is defined by the individual manufacturer and increments with each new revision. The format of the value has the upper 12 bits as the major number of the version, the next lower 12 bits as the minor number of the version, and the lowest 8 bits as the sub-minor number of the version.Version Information:Version of SpecificationReturns the value that uniquely identifies the version of the VISA specification to which the implementation complies. The format of the value has the upper 12 bits as the major number of the version, the next lower 12 bits as the minor number of the version, and the lowest 8 bits as the sub-minor number of the version.General Settings:Manufacturer IdentificationReturns the ID of the manufacturer that created the device. For VXI resources, this refers to the VXI Manufacturer ID. For PXI/PCI resources, this refers to the Subsystem Vendor ID (SVID) if it is nonzero; otherwise, this refers to the Vendor ID (VID). For USB resources, this refers to the Vendor ID (VID).General Settings:Manufacturer NameReturns the name of the manufacturer that created the device. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.General Settings:Model CodeReturns the device model code assigned by the manufacturer. For VXI resources, this refers to the VXI Model Code. For PXI/PCI resources, if the Subsystem Vendor ID is nonzero, this refers to the Subsystem ID (SSID); otherwise, this refers to the Device ID (DID). For USB resources, this refers to the Product ID (PID).General Settings:Model NameReturns the model name of the device. Note: Use the value of this property for display purposes only and not for programmatic decisions. The value can change between VISA implementations and/or revisions.Message Based Settings:IO ProtocolSpecifies 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.Message Based Settings:Suppress End EnableSpecifies whether to terminate a read operation due to an END condition. This property is relevant only in VISA Read and related operations. For all session types that support this property, if this property is set to TRUE, read does not terminate due to an END condition. However, a read may still terminate successfully if the Message Based Settings:Termination Character Enable (TermChar En) property is set to TRUE. Otherwise, read does not terminate until it receives all of the requested data (or an error occurs). The default is FALSE (except for TCP/IP Socket sessions). On Serial Instr sessions, if this property is set to FALSE, VISA performs the behavior described in the Serial Settings:End Mode for Reads (ASRL End In) property. On USB Raw sessions, if this property is set to FALSE, VISA performs the behavior described in the USB Settings:End Mode for Reads (USB End In) property. On TCP/IP Socket sessions, if this property is set to FALSE, if NI-VISA reads some data and then detects a pause in the arrival of data packets, it terminates the read operation. On TCP/IP Socket sessions, the default value for the property is TRUE in NI-VISA. On VXI Instr sessions, if this property is set to FALSE, the END bit terminates read operations.Message Based Settings:Termination CharacterSpecifies a character that, when read, causes a read operation to terminate. The termination character also must be enabled. This default is 0x0A (linefeed).Message Based Settings:Termination Character EnableSpecifies whether a read operation terminates when it receives the termination character. The default is FALSE.USB Settings:Alternate SettingSpecifies the USB alternate setting used by this USB interface. The default is 0.USB Settings:Bulk-In PipeSpecifies 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.USB Settings:Bulk-In Pipe StatusSpecifies whether the USB bulk-in pipe used by the given session is stalled or ready.USB Settings:Bulk-Out PipeSpecifies 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.USB Settings:Bulk-Out Pipe StatusSpecifies whether the USB bulk-out or interrupt-out pipe used by the given session is stalled or ready.USB Settings:Control PipeSpecifies 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.USB Settings:End Mode for ReadsSpecifies 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.USB Settings:Interrupt-In PipeSpecifies 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.USB Settings:Interrupt-In Pipe StatusSpecifies whether the USB interrupt-in pipe used by the given session is stalled or ready.USB Settings:Maximum Interrupt SizeSpecifies 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.USB Settings:Number of InterfacesReturns the number of interfaces supported by this USB device.USB Settings:Number of PipesReturns the number of pipes supported by this USB interface.USB Settings:Serial NumberReturns the USB serial number of this device.USB Settings:USB ClassReturns the USB class used by the given session.USB Settings:USB Interface NumberReturns the USB interface number used by the given session.USB Settings:USB ProtocolReturns the USB protocol used by the given session.USB Settings:USB SubclassReturns the USB subclass used by the given session.