VI_ERROR_INV_MODE The value specified by the parameter is invalid. mode Description This operation can send a command or query, or receive a response to a query previously sent to the device. The parameter specifies whether to issue a command and/or retrieve a response, and what type or size mode of command and/or response to use. Table 6.5.4 Special Values for Parameter mode Mode Action Description VI_VXI_CMD16 Send 16-bit Word Serial command. VI_VXI_CMD16_RESP16 Send 16-bit Word Serial query, get 16-bit response. VI_VXI_RESP16 Get 16-bit response from previous query. VI_VXI_CMD32 Send 32-bit Word Serial command. VI_VXI_CMD32_RESP16 Send 32-bit Word Serial query, get 16-bit response. VI_VXI_CMD32_RESP32 Send 32-bit Word Serial query, get 32-bit response. VI_VXI_RESP32 Get 32-bit response from previous query. If the parameter specifies sending a 16-bit command, the upper half of the cmd parameter is ignored. If mode the parameter specifies just retrieving a response, then the parameter is ignored. mode cmd If the parameter specifies sending a command only, the parameter is ignored and may be mode response If a response is retrieved but is only a 16-bit value, the upper half of the parameter will VI_NULL. response be set to 0. Related Items See the INSTR resource description. Implementation Requirements RULE 6.5.7 All VISA implementations SHALL support all defined mode values for viVxiCommandQuery(). OBSERVATION 6.5.4 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. 6.5.7 viAssertIntrSignal(vi, mode, statusID) Purpose Asserts the specified device interrupt or signal. Parameters Name Direction Type Description vi IN ViSession Unique logical identifier to a session. mode IN ViInt16 This specifies how to assert the interrupt. See the Description section for actual values. statusID IN ViUInt32 This is the status value to be presented during an interrupt acknowledge cycle.
VI_ERROR_INV_MODE The value specified by the mode parameter is invalid. Description 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. Table 6.5.4 Special Values for mode Parameter Mode Action Description VI_VXI_CMD16 Send 16-bit Word Serial command. VI_VXI_CMD16_RESP16 Send 16-bit Word Serial query, get 16-bit response. VI_VXI_RESP16 Get 16-bit response from previous query. VI_VXI_CMD32 Send 32-bit Word Serial command. VI_VXI_CMD32_RESP16 Send 32-bit Word Serial query, get 16-bit response. VI_VXI_CMD32_RESP32 Send 32-bit Word Serial query, get 32-bit response. VI_VXI_RESP32 Get 32-bit response from previous query. If the mode parameter specifies sending a 16-bit command, the upper half of the cmd parameter is ignored. If the mode parameter specifies just retrieving a response, then the cmd parameter is ignored. If the mode parameter specifies sending a command only, the response parameter is ignored and may be VI_NULL. If a response is retrieved but is only a 16-bit value, the upper half of the response parameter will be set to 0. Related Items See the INSTR resource description. Implementation Requirements RULE 6.5.7 All VISA implementations SHALL support all defined mode values for viVxiCommandQuery(). OBSERVATION 6.5.4 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. 6.5.7 viAssertIntrSignal(vi, mode, statusID) Purpose Asserts the specified device interrupt or signal. Parameters Name Direction Type Description vi IN ViSession Unique logical identifier to a session. mode IN ViInt16 This specifies how to assert the interrupt. See the Description section for actual values. statusID IN ViUInt32 This is the status value to be presented during an interrupt acknowledge cycle.
vpp43_2015-06-19.docx