4.2.14 GetDriverVersion()
bJa
eclaration:
Returns the version number of this Windows La ck driver.
D
rVersion();
r Des
double _stdcall GetDrive
Paramete cription:
Returns:
Inputs:
Driver version.
• None
Outputs:
• None
4.2.15 TCVoltsToTemp()
A utility function to convert thermocouple voltage readings to temperature.
Declaration:
LJ_ERRO
R _stdcall TCVoltsToTemp ( long TCType,
K,
double TCVolts,
double CJTemp
double *pTCTempK)
Parameter Description:
Returns: LabJack errorcodes or 0 for no error.
Inputs:
•
TCType – A constant that specifies the
TCVolts – The thermocouple voltage.
thermocouple type, such as LJ_ttK.
•
pK – Returns the calculated thermocouple temperature.
LabJack does not invalidate the handle, thus the device does not have to be
for a couple seconds after until the
, this function might be given an additional parameter that determines
ion
• CJTempK – The temperature of the cold junction in degrees K.
Outputs:
• pTCTem
4.2.16 ResetLabJack()
Sends a reset command to the LabJack hardware.
Resetting the
opened again after a reset, but a Go call is likely to fail
LabJack is ready.
In a future driver release
the type of reset.
Declarat
:
_ tdcall ResetLabJack ( LJ_HANDLE Handle);
LJ_ERROR s
r es
Paramete D cription:
LabJack errorcodes or 0 for no error.
Returns:
In
puts:
• Handle – Handle returned by OpenLabJack().
57