niFgen Configure Clock Mode VI
- Updated2025-10-07
- 2 minute(s) read
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.

Inputs/Outputs
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.
Clock Mode (default: 1=divide down)
—
Clock Mode sets the clock mode of the signal generator. Default value: 1=divide down
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
Instrument Handle Out
—
Instrument Handle Out passes a reference to your instrument session to the next VI.
error out
—
error out contains error information. This output provides standard error out functionality. |
Instrument Handle
—
Clock Mode (default: 1=divide down)
—
error in (no error)
—
Instrument Handle Out
—
error out
—