Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

I am using a DAQ VC++ example for Waveform generation using analog output. I want to generate a square wave with this analog output. How can I do this?

I am trying to generate a 500mV peak to peak square wave using an analog output from a DAQ6036e board.
0 Kudos
Message 1 of 2
(2,926 Views)
Hello

You can check out some of the MSVC examples that are included when you install NI-DAQ on your system.You can find them under C:\Program Files\National Instruments\NI-DAQ. In the AO (Analog Output) folder, you can try some of the double buffered (which are continuous generation ) examples, and use them to start developing your code. For more information on the various functions used, refer to the NI-DAQ function reference manual.

You might want to also go thru the specs for the 6030e user manual to see how fast you will be able to generate the signal, since your particular daq device does not have a FIFO for AO. The output rate will be system dependant.

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,926 Views)