VISA VXI Cmd or Query Function

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

Owning Palette: Bus/Interface Specific Functions

Requires: Base Development System

Sends the device a miscellaneous command or query and/or retrieves the response to a previous query.

VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.
mode specifies whether to issue a command and/or retrieve a response.
Note  The mode you specify can cause all or part of the command or response parameters to be ignored. The possible results of specifying a particular mode are the following:
  • If mode specifies sending a 16-bit command, the upper half of command is ignored.
  • If mode specifies retrieving a response only, command is ignored.
  • If mode specifies sending a command only, response is ignored.
  • If mode specifies to retrieve a 16-bit value, the upper half of response is set to 0.
This input accepts the following values.

0x0002Get 16-bit Response From Previous Query
0x0004Get 32-bit Response From Previous Query
0x0200Send 16-bit Command
0x0202Send 16-bit Query; Get 16-bit Response
0x0400Send 32-bit Command
0x0402Send 32-bit Query; Get 16-bit Response
0x0404Send 32-bit Query; Get 32-bit Response
command is the miscellaneous command to send.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
VISA resource name out is a copy of the VISA resource name that VISA functions return.
response is the response retrieved from the device. If the mode specifies to send a command rather than retrieve a response, you can use VI_NULL for this parameter.
error out contains error information. This output provides standard error out functionality.


Not Helpful