vi IN ViSession Unique logical identifier to a session. writeFmt ViString IN The format string is applied to write parameters in ViVAList. readFmt IN ViString The format string to applied to read parameters in ViVAList. params IN OUT ViVAList A list containing the variable number of write and read parameters. The write parameters are formatted and written to the specified device. The read parameters store the data read from the device after the format string is applied to the data. Return Values Type This is the operational return status. It returns either a ViStatus completion code or an error code as follows. Completion Code Description VI_SUCCESS Successfully completed the Query operation. Error Codes Description VI_ERROR_INV_SESSION The given session or object reference is invalid (both VI_ERROR_INV_OBJECT are the same value). VI_ERROR_RSRC_LOCKED Specified operation could not be performed because the resource identified by has been locked for this vi kind of access. VI_ERROR_IO Could not perform read/write operation because of I/O error. VI_ERROR_TMO Timeout occurred before read/write operation completed. VI_ERROR_INV_FMT A format specifier in the or string writeFmt readFmt is invalid. VI_ERROR_NSUP_FMT The format specifier is not supported for current argument type. VI_ERROR_ALLOC The system could not allocate a formatted I/O buffer because of insufficient system resources. Description This operation is similar to except that the parameters list provides the parameters ViQueryf(), ViVAList rather than the separate parameter list. arg Related Items See the INSTR resource description. Also see ViQueryf(). Implementation Requirements There are no additional implementation requirements other than those specified above.
vi IN ViSession Unique logical identifier to a session. writeFmt IN ViString The format string is applied to write parameters in ViVAList. readFmt IN ViString The format string to applied to read parameters in ViVAList. params IN OUT ViVAList A list containing the variable number of write and read parameters. The write parameters are formatted and written to the specified device. The read parameters store the data read from the device after the format string is applied to the data. Return Values Type ViStatus This is the operational return status. It returns either a completion code or an error code as follows. Completion Code Description VI_SUCCESS Successfully completed the Query operation. Error Codes Description VI_ERROR_INV_SESSION VI_ERROR_INV_OBJECT The given session or object reference is invalid (both are the same value). VI_ERROR_RSRC_LOCKED Specified operation could not be performed because the resource identified by vi has been locked for this kind of access. VI_ERROR_IO Could not perform read/write operation because of I/O error. VI_ERROR_TMO Timeout occurred before read/write operation completed. VI_ERROR_INV_FMT A format specifier in the writeFmt or readFmt string is invalid. VI_ERROR_NSUP_FMT The format specifier is not supported for current argument type. VI_ERROR_ALLOC The system could not allocate a formatted I/O buffer because of insufficient system resources. Description This operation is similar to ViQueryf(), except that the ViVAList parameters list provides the parameters rather than the separate arg parameter list. Related Items See the INSTR resource description. Also see ViQueryf(). Implementation Requirements There are no additional implementation requirements other than those specified above.