EasyManua.ls Logo

LabJack U12 - Page 36

LabJack U12
61 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
*idnum – Local ID, serial number, or -1 for first found.
demoSend 0 for normal operation, >0 for demo mode. Demo mode allows this function to be called without a LabJack.
timeoutMSAmount 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:
*frequencyDesired frequency in Hz.
Outputs:
*frequencyActual best frequency found in Hz.
*timeBB value for first and second half cycle.
*timeCC 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:
36

Other manuals for LabJack U12