Skip to main content
Skip table of contents

4.28 - PulseOutCalc [U12 Datasheet]

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.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.