LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can you output multiple digital voltages at once using DAQ assistant?

Solved!
Go to solution

Hello, 

I am trying to build a labview code that lets me output an identical analog voltage from 4 unique digital outputs on a NI DAQPad-6259. I wanted to use 4 separate DAQ assistant VIs for each voltage output channel, but while running more than one of the assistants, the program cancels with the error message:

 

"NI Platform Services: The specified resource is reserved. The operation could not be completed as specified."

 

I was curious to how to fix this issue, and if this is just a DAQ assistant VI problem or a device problem. I did wire each DAQ VI to a unique analog output channel.

 

I have attached the code below, I am new to LabVIEW and this is my first time working with a DAQ.

0 Kudos
Message 1 of 3
(3,147 Views)
Solution
Accepted by topic author Ramonk

I did not open your VI, but my advice is to completely forget using DAQ Assistant Express VIs. Start to use the proper "low level" DAQmx functions: https://www.ni.com/en/support/documentation/supplemental/06/learn-10-functions-in-ni-daqmx-and-handl...

Message 2 of 3
(3,131 Views)
Solution
Accepted by topic author Ramonk

Yes you can.  You just need to add the additional channels to a single instance of the DAQ Assistant.  Merge the different voltages together.

 

But I would also recommend learning how to use the lower DAQmx functions.  You will use N Channels, and either 1 or N samples versions of the DAQmx Write.

Message 3 of 3
(3,126 Views)