Hello
you can find the help for this function under Start >> Programs >> National Instruments >> NI-DAQ >> NI-DAQ Examples Help.
Here's what the helps says for the function you need
NIDAQErrorHandlerFormat
status = NIDAQErrorHandler(daqStatus, functionName, ignoreWarning)
Purpose
To display a message dialog box with the NI-DAQ error/warning code and a description, and an option for the user to continue (continue option not available in LabWindows/CVI).
Parameters
Input
Name Type Description
daqStatus I16 Status code returned from NI-DAQ function
functionName STR Function name associated with status code
ignoreWarning I16 Flag to turn warning code checking on or off
Return Type
Name Type Description
status I16 Status code from MessageBox function
Parameter Discussion
daqStatus is the status code returned from the NI-DAQ function used right before this function.
functionName is a string that identifies the function associated with the status code.
ignoreWarning specifies whether to ignore NI-DAQ status codes that are positive (NI-DAQ Warnings) or not. To ignore the warnings, set this parameter to 1.
status is the return code of this function. Possible return codes are the same as the following functions:
CVI: MessagePopup
DLL: MessageBox (Windows API)
Using This Function
Use the function to check if the NI-DAQ function returned an error or warning code. The error codes are negative, and the warning codes are positive. It is recommended that you check errors after every single NI-DAQ function.
In the DLL version of NIDAQErrorHandler, you can determine which button was pressed in the dialog box by examing the returned status code
. For example, if the No button was pressed, then this function will return ID_NO. And if the Yes button was pressed, this function will return ID_YES.
I hope this helps
Bilal Durrani"
Bilal Durrani
NI