I am using C++ code to control the PXI-5422 Function Generator via the IVI interface.
I am able to load, configure and generate an arbitrary waveform, however the gain that is applied to the waveform is always double the gain that I supply to the
IviFgen_ConfigureArbWaveform() function.
IVI waveforms are normalized from -1 to 1. So if I supply a gain of 3 I expect to see a waveform with voltages from -3 to 3.
Currently, if I supply a gain of 3 to the IviFgen_ConfigureArbWaveform() function I am seeing a waveform with voltages from -6 to 6.
I've used two different scope view the waveform with identical results ( NI PXI-5922 digitizer and a desktop scope from another vender ).
Any ideas why I would be getting this behavior.
Thanks,
Anson Wooten