LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog Output Simultaneous Multi-task generation

Hi,

 

I am having an analog output card 4322 which has 8 isolated channels.

I want 4 channels to be in voltage mode and remaining 4 channels in current mode

 

I wanted to know whether it’s possible to have a hardware timed generation for both the tasks running simultaneously. I have checked that software timed for both simultaneous tasks (Current and Voltage is possible).

Also one hardware timed (using the timing VI)  and another as software timed is also possible.

 

I tried giving different timing resource name in the DAQmx Timing VI, for both the tasks running simultaneously and its was giving error that the source and destination are the same.

 

0 Kudos
Message 1 of 3
(2,375 Views)

For most NI DAQ devices the answer would be no.  A quick look at the spec sheet for the 4322 seems to indicate similarly, that there's only 1 timing engine available for all the AO channels.

 

Odds are that you can put both channel types into 1 common task.   Call DAQmx Create Channel once with the current channels, then feed the task refnum output to *another* call to DAQmx Create Channel where you add the voltage channels.   Chaining the calls lets you add channels to an existing task while giving them a unique config.

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 3
(2,351 Views)

Hi Kevin,

 

               Thanks for the reply. I will try and let you know if it solves my problem.

 

Abraham Kurien

0 Kudos
Message 3 of 3
(2,346 Views)