04-19-2018 04:02 AM
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.
04-19-2018 07:58 AM
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
04-19-2018 09:41 AM
Hi Kevin,
Thanks for the reply. I will try and let you know if it solves my problem.
Abraham Kurien