Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate Arbitrary waveforms of amplitude greater than 1 V using FGEN PXI-5411 ?

I am developing a Vc++ application, in which I am using NI-PXI-5411 to generate square waveform of necessary frequency, amplitude, dutycycle & offset.

I use the "nifgen_createArbWaveform" function in my program. This function needs a parameter called "waveformDataArray".

The user manual says, itz range is between -1 & +1. Depending on the gain value, the output will vary.

But I am unable to generate waveform of my required amplitude, say for eg., 4 V (or) 2.8 V

I assumed that, the output voltage = wfmData * gain.
But when I measured the output using Scope, itz coming with different amplitudes.

I need to know, how to map (scale) the wfmDataArray points, according to my
required amplitude.

Can any one help me in this regard ?

Thanx in advance.
--sriram.
0 Kudos
Message 1 of 1
(2,892 Views)