Clocks:Sample Clock:Mode Property

NI Signal Generators Help (NI-FGEN 18.1)

Edition Date: April 2018

Part Number: 370524V-01

»View Product Info
Download Help (Windows Only)

Short Name: Sample Clock Mode

Property of niFgen

Specifies the Sample Clock mode for the signal generator.

For signal generators that support it, this property allows switching the Sample Clock to a high-resolution clocking mode. When in divide-down sampling mode, the sample rate can be set only to certain frequencies, based on dividing down the Sample Clock. However, in high-resolution mode, the sample rate may be set to any value.

Note  You cannot change this property while the device is generating a waveform. If you want to change the device configuration, call the niFgen Abort Generation VI or wait for the generation to complete.
NIFGEN_VAL_DIVIDE_DOWN (1)

Divide down sampling—Sample rate is generated by dividing the source frequency.

NIFGEN_VAL_HIGH_RESOLUTION (0)

High resolution sampling—Sample rate is generated by a high resolution clock source.

NIFGEN_VAL_AUTOMATIC (2)

Automatic Selection—NI-FGEN selects between the divide-down and high-resolution modes.

Remarks

The following table lists the characteristics of this property.

Datatype iL
PermissionsRead/Write
High-level VIs niFgen Configure Clock Mode
Channel-based No
ResettableYes

WAS THIS ARTICLE HELPFUL?

Not Helpful