LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I define two AI groups on an AT-MIO-16E-10?

I have one group that consists of channels 0,1 in differential mode, and this group is externally triggered by another pulse and works fine. When I try to define a second AI group on this device, it screws up the first one. THey are different groups formed with different channels, generating (I assume) different task IDs.
0 Kudos
Message 1 of 3
(2,507 Views)
Hello,

You can definitely have 2 AI groups in the DAQ board. I wanted to make sure that you are not using channels 8 and 9 for single ended inputs because, when you mention channel 0 and 1 as differential, the driver automatically takes the -ve input as 8 and 9. And of course the Task IDs are different.

-Arun V
0 Kudos
Message 2 of 3
(2,507 Views)
Ok. I was using diff. channels 0 and 1 (which takes up 0 and 8 for ch0 and 1 and 9 for ch1) and then trying to set up another group to do a different acquisition. Both groups are configured at the very beginning of the vi. The (0,1) group is set up to be externally triggered. I use AI START to start it, then I use a CTR START vi to start the group of counters which triggers the AI, and then I have an AI READ for that group. In frame AFTER that, I start the other group and then do an AI READ from taht other group.

Only one of the groups will work. If the first group is working, the second one records a zero. If the second group is working, the first group records a 0 every time.

If i use another DAQ board for the second group, it works fine, I
just can't have the two groups on the AT-MIO16E-10. But I don't like not knowing WHY it doesn't work.

Any guidance? I tried putting in some wait statements between the AI START and AI READ vi's, no luck.
0 Kudos
Message 3 of 3
(2,507 Views)