An easy function that updates and reads all the timers and counters. This is a simple alternative to the very flexible IOType based method normally used by this driver.
Declaration:
LJ_ERROR _stdcall eTCValues ( LJ_HANDLE Handle,
long *aReadTimers,
long *aUpdateResetTimers,
long *aReadCounters,
long *aResetCounters,
double *aTimerValues,
double *aCounterValues,
long Reserved1,
long Reserved2)
Parameter Description:
Returns: LabJack errorcodes or 0 for no error.
Inputs:
Outputs:
1 Array size must be equal to the number of timers available on the device. UE9:6, U6:4, U3:2
2 Array size must be equal to the number of counters available on the device. UE9:2, U6:2, U3:2