niHSDIO_ConfigureWaveformToGenerate

NI Digital Waveform Generator/Analyzer

niHSDIO_ConfigureWaveformToGenerate

Specific Function

C Function Prototype

ViStatus niHSDIO_ConfigureWaveformToGenerate (ViSession vi, ViConstString waveformName);

Purpose

Sets the waveform to be generated upon a call to the niHSDIO_Initiate function when NIHSDIO_ATTR_GENERATION_MODE equals NIHSDIO_VAL_WAVEFORM. This function need only be called if multiple waveforms are present in onboard memory (refer to NIHSDIO_ATTR_WAVEFORM_TO_GENERATE for more information).

Parameters

Name Type Description
vi ViSession This handle identifies your instrument session. vi was obtained from niHSDIO_InitGenerationSession.
waveformName ViConstString Specifies which waveform to generate upon calling niHSDIO_Initiate.

Return Value