Keysight VISA.NET Help
ControlOut(Int16,Int16,Int16,Int16) Method



A bitmap field for defining the USB control port request. The bitmap fields are defined by the USB specification. The direction bit must be host-to-device.
Request ID for this transfer. The meaning of this value depends on requestType.
The requested value for this transfer.
The interface or endpoint index number, depending on requestType.
Sends arbitrary data to a USB device on the default control port.
Syntax
'Declaration
 
Public Overloads Sub ControlOut( _
   ByVal requestType As Short, _
   ByVal request As Short, _
   ByVal value As Short, _
   ByVal index As Short _
) 
'Usage
 
Dim instance As UsbSession
Dim requestType As Short
Dim request As Short
Dim value As Short
Dim index As Short
 
instance.ControlOut(requestType, request, value, index)
public void ControlOut( 
   short requestType,
   short request,
   short value,
   short index
)
public:
void ControlOut( 
   short requestType,
   short request,
   short value,
   short index
) 

Parameters

requestType
A bitmap field for defining the USB control port request. The bitmap fields are defined by the USB specification. The direction bit must be host-to-device.
request
Request ID for this transfer. The meaning of this value depends on requestType.
value
The requested value for this transfer.
index
The interface or endpoint index number, depending on requestType.
Remarks

The usage of each parameter is based on the relevant USB base or class specification, or on a vendor-specific request definition.

Since the USBTMC specification does not currently define any standard control port requests in the direction of host-to-device, this function is intended for use with only vendor-defined requests. However, this method does not check the requestType parameter for this.

Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025