Keysight VISA.NET Help
CommandQuery Method (IVxiSession)



Indicates whether to issue a command and/or retrieve a response.
The command to send.
Send the device a miscellaneous command or query and/or retrieves the response to a previous query.
Syntax
'Declaration
 
Function CommandQuery( _
   ByVal mode As VxiCommandMode, _
   ByVal command As Integer _
) As Integer
'Usage
 
Dim instance As IVxiSession
Dim mode As VxiCommandMode
Dim command As Integer
Dim value As Integer
 
value = instance.CommandQuery(mode, command)
int CommandQuery( 
   VxiCommandMode mode,
   int command
)
int CommandQuery( 
   VxiCommandMode mode,
   int command
) 

Parameters

mode
Indicates whether to issue a command and/or retrieve a response.
command
The command to send.

Return Value

The response retrieved from the device. If the mode does not include a response, this method returns zero.
Requirements

Current with Keysight IO Libraries Suite 18

See Also

 

 


© Keysight Technologies 2015-2025