| Keysight.Visa Namespace > VxiSession Class : CommandQuery Method |
'DeclarationPublic Function CommandQuery( _ ByVal mode As VxiCommandMode, _ ByVal command As Integer _ ) As Integer
'UsageDim instance As VxiSession Dim mode As VxiCommandMode Dim command As Integer Dim value As Integer value = instance.CommandQuery(mode, command)
public int CommandQuery( VxiCommandMode mode, int command )
public: int CommandQuery( VxiCommandMode mode, int command )
If the mode parameter specifies sending a 16-bit command, the upper half of the command parameter is ignored. If the mode parameter specifies just retrieving a response, the command parameter is ignored. If the mode parameter specifies sending a command only, the return value may be 0. If a response is retrieved but is only a 16-bit value, the upper half of the return value will be set to 0.
Refer to the VXI Specification for defined word serial commands. The command values Byte Available, Byte Request, Clear, and Trigger are not valid for this operation.
Current with Keysight IO Libraries Suite 18