LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

simultaneously generate and acquire waveform in labwindows/cvi?

I Have to generate a waveform from an AO channel an simultaneously acquire another wavefom from an ai channel.I'm using a pci-mio 16E-1. What have I to do?
0 Kudos
Message 1 of 3
(3,030 Views)
I never tried such an application in CVI, but having used it in LabVIEW I can suggest you a workoround based on LV applications.

You could try with this steps:
1. Configure AI acquisition as desired
2. Configure WFM generation as desired
3. Set output start trigger as AI start trigger using Select_Signal function:
Select_Signal (1, ND_OUT_START_TRIGGER, ND_IN_START_TRIGGER, ND_DONT_CARE);
4. Start AI acquisition: this should start WFM generation as well

For an example on how to use Select_Signal look at WFMsingleBufExtTrig_Eseries.prj example shipped with CVI.

Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,030 Views)
Razzimia,

You might want to check out these National Instrument documents that explain simultaneous AI/AO and some synchronization techniques for implementation:

"Advanced Synchronization Techniques for Data Acquisition"
http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/ced34fe76e435edb8625686b006d9b56?OpenDocument

"Simultaneous Analog Input and Output"
http://zone.ni.com/devzone/conceptd.nsf/webmain/E1060C842FB4FB6D86256802007B90C8?OpenDocument
0 Kudos
Message 3 of 3
(3,030 Views)