VISA VXI Cmd or Query Function

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


icon

Inputs/Outputs

  • cvsrn.png VISA resource name

    VISA resource name specifies the resource to be opened. The VISA resource name control also specifies the session and class.

  • cu16.png mode (x200: 16-bit cmd)

    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
  • cu32.png command

    command is the miscellaneous command to send.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ivsrn.png VISA resource name out

    VISA resource name out is a copy of the VISA resource name that VISA functions return.

  • iu32.png response

    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.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.