*idnum – Local ID, serial number, or -1 for first found.
demo – Send 0 for normal operation, >0 for demo mode. Demo mode allows this function to be called without a LabJack.
timeoutMS – Amount of time, in milliseconds, that this function will wait for the PulseOutStart response.
Outputs:
*idnum – Returns the local ID or –1 if no LabJack is found.
4.28 - PulseOutCalc
Requires firmware V1.1 or higher. This function can be used to calculate the cycle times for PulseOut or PulseOutStart.
Declaration:
long PulseOutCalc ( float *frequency,
long *timeB,
long *timeC )
Parameter Description:
Returns: LabJack errorcodes or 0 for no error.
Inputs:
*frequency – Desired frequency in Hz.
Outputs:
*frequency – Actual best frequency found in Hz.
*timeB – B value for first and second half cycle.
*timeC – C value for first and second half cycle.
4.29 - ReEnum
Causes the LabJack to electrically detach from and re-attach to the USB so it will re-enumerate. The local ID and calibration
constants are updated at this time.
Declaration:
long ReEnum ( long *idnum )
Parameter Description:
Returns: LabJack errorcodes or 0 for no error.
Inputs:
*idnum – Local ID, serial number, or -1 for first found.
Outputs:
*idnum – Returns the local ID or –1 if no LabJack is found.
4.30 - Reset (or ResetLJ)
Causes the LabJack to reset after about 2 seconds. After resetting the LabJack will re-enumerate. Reset and ResetLJ are
identical.
Declaration:
long Reset ( long *idnum )
Parameter Description:
Returns: LabJack errorcodes or 0 for no error.
Inputs:
*idnum – Local ID, serial number, or -1 for first found.
Outputs: