|Download Help (Windows Only)|
Sends the device a miscellaneous command or query and/or retrieves the response to a previous query.
Assembly: NationalInstruments.VisaNS (in NationalInstruments.VisaNS.dll) Version: 188.8.131.52
|Visual Basic (Declaration)|
Public Function CommandQuery ( _ mode As VxiCommandMode, _ command As Integer _ ) As Integer
public int CommandQuery( VxiCommandMode mode, int command )
Response retrieved from the device. If the mode specifies to send a command rather than retrieve a response, the return value might be ignored.
|VisaException||The NI-VISA driver returned an error as a result of calling this method.|
|DllNotFoundException||The NI-VISA driver library cannot be found.|
|EntryPointNotFoundException||A required operation in the NI-VISA driver library cannot be found.|
|ObjectDisposedException||This member is called after the Dispose method is called directly from code or indirectly through a finalizer.|