IVxi3::CommandQuery
Note: Keysight's VISA COM does not support a COM server for VXI. The IVxi-related interfaces are listed in this help file because they are included in the global VISA COM library.
Description
Sendsthe device a miscellaneous command or query and/or retrieves the response to a previous query. This operation can send a command or query, or receive a response to a query previously sent to the device. The mode parameter specifies whether to issue a command and/or retrieve a response, and what type or size of command and/or response to use.
VB Prototype
value As
Long = CommandQuery(
mode As VXICommandQuery,
cmd As Long
)
C++ Prototype
HRESULT CommandQuery(
VXICommandQuery mode,
long cmd,
long* pResponse
);
Parameters
mode
Specifies whether to issue a command and/or retrieve a response.
cmd
The miscellaneous command to send.
pResponse
The response retrieved from the device.
Return Value
Refer to the table of return codes.
See Also
ComponentVersion, SpecVersion, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, LockState, OptionString, ProgID, ResourceName, SessionType, SoftwareManufacturerID, SoftwareManufacturerName, Timeout, LastStatus, CommanderLA, DestinationAccessPrivilege, DeviceClass, FastDataChannel, FastDataChannelMode, FastDataChannelUsePair, ImmediateServant, LogicalAddress, MainframeLogicalAddress, ManufacturerID, ManufacturerName, MemoryBase, MemorySize, MemorySpace, ModelCode, ModelName, TriggerID, Slot, SourceAccessPrivilege, TriggerSupport, Is4882Compliant, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, AssertTrigger, CommandQuery, IVxi3 Overview