VI_ERROR_NSUP_FMT A format specifier in the string is not readFmt supported. 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 data is read from a user-specified buffer rather than viScanf(), a device. Related Items See the INSTR resource description. Also see viScanf(). Implementation Requirements There are no additional implementation requirements other than those specified above. 6.2.11 viVSScanf(vi, buf, readFmt, params) Purpose Same as except that the data is read from a user-specified buffer instead of a device. viVScanf(), Parameters Name Direction Type Description vi IN ViSession Unique logical identifier to a session. buf IN ViBuf Buffer from which data is read and formatted. readFmt IN ViString The format string to apply to parameters in ViVAList. params OUT ViVAList A list with the variable number of parameters into which the data is read and the format string is applied. Return Values This is the operational return status. It returns either a Type ViStatus completion code or an error code as follows. Completion Code Description VI_SUCCESS Data was successfully read and formatted into arg parameter(s). 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_INV_FMT A format specifier in the string is invalid. readFmt
VI_ERROR_NSUP_FMT A format specifier in the readFmt string is not supported. VI_ERROR_ALLOC The system could not allocate a formatted I/O buffer because of insufficient system resources. Description This operation is similar to viScanf(), except that the data is read from a user-specified buffer rather than a device. Related Items See the INSTR resource description. Also see viScanf(). Implementation Requirements There are no additional implementation requirements other than those specified above. 6.2.11 viVSScanf(vi, buf, readFmt, params) Purpose Same as viVScanf(), except that the data is read from a user-specified buffer instead of a device. Parameters Name Direction Type Description vi IN ViSession Unique logical identifier to a session. buf IN ViBuf Buffer from which data is read and formatted. readFmt IN ViString The format string to apply to parameters in ViVAList. params OUT ViVAList A list with the variable number of parameters into which the data is read and the format string is applied. 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 Data was successfully read and formatted into arg parameter(s). 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_INV_FMT A format specifier in the readFmt string is invalid.
vpp43_2016-02-26.docx