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.