Hello
Hardware: PCI-MIO-16E-4 board.
Software: LabView 7.1 on XP
Purpose: I am trying to use Analog Output 1 and AO2 at the same time. Sometimes I want them both "ON" (1000Hz square Wave) Sometimes I want them both "OFF" (0V DC) Sometimes one channel on and one channel off.
My Solution: 1.
1. I have a VI that creates an array of numbers for my square wave and an array of zeros for my DC. I want to simply send this data out either AO1 or AO2.
2. I wrote 2 vi's using DAQ assistant that work fine for each analog output. .Attached are screen shots of the configuration(s). Note they are using different channels.
3. However if I try running both at the same time I get errors such as Task Unavailable. (I can't remember the exact error because I switched to traditional DAQ and now nothing works!
4. In DAQ I get different errors if I run 2 VIs for at the same time usually referring to buffers.
MY Question(s): This seems to be trivial. All I want is to send a array of numbers out analog 1 or analog 0 at the same time. I would like to be able to switch from one state to another using software triggers (probably a global variable). Can I use DAQmx with a E series board? It seems to work fine with simple examples but not with multiple analog outputs. How do you do this in DAQ? I never used DAQ before so I am a little lost with this. Thanks for any help. All the examples work but they are just one output. Any modification to a example to use both channels leads to an error. For each example there seems to be only one variable (Channel #) that would seem to matter so I figure if you change that it should work. Any help would be appreciated.