pciGrabber-4x4
92
PHYTEC Messtechnik GmbH 2008 L-720e_0
Evaluation of the Error Messages
WORD Get_Error(void);
Returnvalue:
0 = no error
1 = device number not found
2 = bad register number
3 = initialization failed
4 = Grabber not found
5 = unknown parameter value
6 = not supported
7 = newer driver version required (update)
8 = no PHYTEC grabber card found
9 = no acknowledge
10 = invalid address
11 = write access denied
Each execution of a diver function should be checked if it was
successful. For this purpose there is the function
Get_Error
.
Immediately after the execution of the function, the internal error
variable of the driver is set to the actual status.
This variable is available to the user program via the function
Get_Error
, so that a reaction to this error message can occur.
The investigation of the error variable is possible until a new
execution of a driver function has occurred. Then the error status of
the new function call is set.