NI-FGEN LabVIEW VIs

Content Type
Programming Language
Current manual

niFgen Set Sample Rate VI

niFgen Set Sample Rate VI

Installed With: NI-FGEN

Configures the sample rate, which determines the rate at which the signal generator produces arbitrary waveforms. When you configure the signal generator to produce an arbitrary sequence, this is the sample rate for all arbitrary waveforms in the sequence. If the update clock (Sample clock) source is external, setting the sample rate informs NI-FGEN of the external rate.

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

niFgen Set Sample Rate

civrn.gif

Instrument Handle identifies your instrument session.

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

cdbl.gif

Sample Rate specifies the sample rate at which you want the signal generator to generate arbitrary waveforms. If you are using an external update clock (Sample clock), this is the frequency of the external update clock.

Units: Samples per second (S/s)

cerrcodeclst.gif

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

Default value: no error

iivrn.gif

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

ierrcodeclst.gif

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

Was this information helpful?