Daqformaterror – Measurement Computing Data Acquisition Systems rev.10.4 User Manual
Page 233

daqFormatError
Also See: daqSetDefaultErrorHandler,
daqSetErrorHandler, daqProcessError,
daqGetLastError, daqDefaultErrorHandler
Format
daqFormatError (errorNum, msg)
Purpose
daqFormatError
returns the text-string equivalent for the specified error condition code
.
Parameter Summary
Parameter Type
Description
errorNum DaqError
Error condition whose text will be returned
msg PCHAR
Pointer to a character string which will store the returned error text
Parameter Values
errorNum:
see the Daq Error Table
msg:
pointer to a character string which will hold error text; see the Daq Error Table for more details
Returns
DerrNoError
No
error
Function Usage
The error condition is specified by the errorNum parameter. The error text will be returned in the character string
pointed to by the msg parameter. The character string space must have been previously allocated by the application
before calling this function. The allocated character string should be, at minimum, 64 bytes in length.
For more details on error messages refer to the Daq Error Table.
Prototypes
C/C++
daqFormatError(DaqError errorNum, PCHAR msg)
Visual BASIC
VBdaqFormatError&(ByVal errorNum&, ByRef msg As Byte)
Program References
None
Programmer’s Manual
908794
Daq API Command Reference 4.5-3