GetErrorMessages Method - neoVI API
Last updated
Last updated
This method reads the neoVI DLL error message queue.
Parameters
hObject
[in] Specifies the driver object created with .
pErrorMsgs
[out] This is the address of the first element of an array of long variables of at least 600 elements. This array will be loaded with the current error queue. The error queue will contain errors generated by all threads, not just the current thread. A separate topic describes the possible values for . You can get a text description of this error using .
pNumberOfErrors
[out] Specifies the number of errors copied into the pErrorMsgs buffer. The maximum value will be 600.
Return Values
Returns 1 if successful, 0 on failure.
Remarks
The error queue will be reset after this method is called.