Selects the clock mode for the signal generator.

Some signal generators allow you to switch the Sample clock to High-Resolution or Automatic Sampling mode with this VI.

When you select Divide-Down Sampling, NI-FGEN rounds the sample rate to a frequency that can be achieved by dividing down the board clock (Sample clock timebase). However, if you select High-Resolution Sampling, you can set the sample rate to any value. If you select Automatic, NI-FGEN selects the clock mode based on the sample rate, using divide-down sampling when possible.

Note The signal generator must not be in the Generating state when you call this VI.
Note You must set Output Mode to Arbitrary Waveform or Arbitrary Sequence using the niFgen Configure Output Mode VI before calling this VI.


icon

Inputs/Outputs

  • civrn.png Instrument Handle

    Instrument Handle identifies a particular instrument session.

    Instrument Handle is obtained from the niFgen Initialize VI, niFgen Initialize With Options VI, or the niFgen Initialize With Channels VI.

  • cu32.png Clock Mode (default: 1=divide down)

    Clock Mode sets the clock mode of the signal generator.

    Default value: 1=divide down

    Hi Resolution Sampling Sample rate is generated by a high-resolution clock source.
    Divide Down Sampling Sample rate is generated by dividing the source frequency.
    Automatic NI-FGEN selects between the divide-down and high-resolution modes
  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

    Default value: no error

  • iivrn.png Instrument Handle Out

    Instrument Handle Out passes a reference to your instrument session to the next VI.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.