Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

AO question 6221

Hi, I have a few questions about a daq board, a 6221.

The two analog outputs, do they each have a DAC or are they multiplexed?

If I have a program using the analog output can I have a second, different, program using the analog inputs, on the same device? Thanks


0 Kudos
Message 1 of 6
(3,347 Views)
Hi densmore,
the two analog outputs are multiplexed. Yes you can use the AIs and AOs in different programs, because they run in different tasks.

Hope it helps.
Mike

Message Edited by MikeS81 on 05-17-2008 02:49 PM
0 Kudos
Message 2 of 6
(3,342 Views)
One follow up.

I set ao0 to some value it stays at that value while I change ao1?

THanks


0 Kudos
Message 3 of 6
(3,338 Views)
Hi densmore,
you have to set all channels which are configured for one task and because of, all AOs from one card has to be in the same task you have to set everytime all values. And because of this ao0 has the same value if you set it to the same.

Mike

Message Edited by MikeS81 on 05-17-2008 03:05 PM
0 Kudos
Message 4 of 6
(3,336 Views)

Hi densmore,

Mike is correct about using the analog input and analog output tasks in separate programs. One example of this would be to use a LabVIEW program to control the analog output channels while using the test panel in Measurement and Automation Explorer (MAX) to acquire data on the analog input channels. Because each runs in a separate task, they can be used in separate programs.

To clarify your first question, for the M Series boards, there is an independent DAC for each analog output channel, though they do share the same FIFO and sample clock. Because each channel shares the same FIFO, the data must be read from the FIFO to each DAC in the proper order between sample clocks. The channels will then all update at the same time, based on when the sample clock arrives, but the time it takes to transfer each value from the FIFO to the DAC will increase as you add more channels. As the DACs are loaded with new values, the channels will retain their previous value until the next update from the sample clock. Please refer to the discussion, "Update rates on analog outs M-series", for more information on how the FIFO and DACs update. Hope this helps,

Daniel S.
National Instruments
0 Kudos
Message 5 of 6
(3,306 Views)
Thanks Daniel, thats the exact info I was looking for.
0 Kudos
Message 6 of 6
(3,303 Views)