User Manual

*stateIO – Output states for IO0-IO3.
updateDigital – If >0, tris and state values will be written. Otherwise, just a read
is performed.
Outputs:
*idnum – Returns the local ID or –1 if no LabJack is found.
*trisD – Returns a read of the direction registers for D0-D15.
*stateD – States of D0-D15.
*stateIO – States of IO0-IO3.
*outputD – Returns a read of the output registers for D0-D15.
4.16 GetDriverVersion
Returns the version number of ljackuw.dll.
Declaration:
float GetDriverVersion ( void )
Parameter Description:
Returns: Version number of ljackuw.dll.
ActiveX Function Differences:
Uses parameters to return DLL and OCX version.
Declaration (ActiveX):
void GetDriverVersionX ( float FAR* dllVersion,
float FAR* ocxVersion)
4.17 GetErrorString
Converts a LabJack errorcode, returned by another function, into a string describing the error.
Declaration:
void GetErrorString ( long errorcode,
char *errorString )
Parameter Description:
Returns: Nothing.
Inputs:
errorcode – LabJack errorcode.
*errorString – Pointer to a 50 element array of characters.
Outputs:
*errorString – Pointer to a sequence of characters describing the error. Unused
locations are filled with 0x00.
4.18 GetFirmwareVersion
Retrieves the firmware version from the LabJack’s processor. Execution time for this function is
20 milliseconds or less.
Declaration:
float GetFirmwareVersion ( long *idnum )
Parameter Description:
Returns: Version number of the LabJack firmware or 0 for error.