LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

One analog output reserves all output channels

I am trying to use multiple analog outputs to send output squares waves of different properties (frequency, duty cycle, initial delay, etc...). I have attached a vi that produces simple triggers. While this vi is running, I can't generate a continuous sine wave on one of the other analog outputs using Measurement and Automation Explorer.  I know it has something to do with the fact that is only one hardware sample clock available. I am using M-series 6259. Is there a workaround for this?

 

Download All
0 Kudos
Message 1 of 4
(2,686 Views)

Are you trying to create different tasks for each output channel?  You need to have all of your analog outputs in the same DAQmx task.

0 Kudos
Message 2 of 4
(2,676 Views)
Yes, I have multiple tasks because I need to start/stop those tasks at different times, depending on the stimulus requirement.
0 Kudos
Message 3 of 4
(2,662 Views)
You can only do this if you run one task at a time. You simply cannot have more than one task running at once. So, make sure you stop each task before starting a new one or combine all channels into one task.
0 Kudos
Message 4 of 4
(2,653 Views)