Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

Help! How can used to DAQmx LV 8.2 (2-channel output signal)??

We want to 2-Channel voltage output signal
 
I can't do this by myself
 
using program : LabView 8.2.1
hardware = pxi-6281, scxi-1325, scxi-1180
 
I write to some program 
 
but generate -50103 errar
0 Kudos
Message 1 of 6
(6,300 Views)
Please ensure that you don't use the same physical channel (Dev1/ao0) for both signals.
0 Kudos
Message 2 of 6
(6,298 Views)
Hello,
 
Please refer to the Case 3 of the KnowledgeBase linked below for further detail.  The posted code is running two similar tasks.  They are both trying to run an AI task.  Thus, which ever task (the top row of code or the bottom row of code) is started first reserves the resources related to an AI task.  Instead of trying to run to similar tasks in parallel with two different lines of code, use the proper syntax in one task to output on two different channels / lines.  The Physical Channel control will be Dev1/ao0:1 or refer to the help topic titled Physical Channel Syntax in the LabVIEW Help.
 
If you created two tasks, because you were interested in creating two different waveform types on the two different channels, then you would be interested in editing Waveform Buffered Generation.vi.
 
 
Case 3: Concurrently running two analog input or two analog output tasks.

A final cause of this error is when a program explicitly calls multiple tasks performing the same type of operation at the same time. As with the other two cases, this produces a situation where multiple independent tasks are concurrently attempting to access the same resource. Even though the tasks might be using different channels, this is still a conflict because they require use of the same multiplexer and sample clock. To resolve this issue, combine all operations of the same type into the same task. For DAQmx 7.3 and later, it is possible to do this even with multiple types of analog input.
Samantha
National Instruments
Applications Engineer
0 Kudos
Message 3 of 6
(6,289 Views)

thank you, Samantha

but I don't understanding to case - 3

I need to completed Vi file that Multi tasking output Voltage(2-channel) and input voltage(1-channel) 

program : LV 8.2.1

equipment: SCXI-1180, 1300(voltage measurment)

2 output voltage = (Difference work)

plz help me.. post to code

 

 

0 Kudos
Message 4 of 6
(6,278 Views)

Hello,

The code you posted will work for generating two different signals on two channels.  Please look to the to image I attached titled 2AO.JPEG for reference on how to setup the physical channel for two AO channels.  I also modified the code to include an AI task (VI file attached titled 2AO1AI.vi). 

I noticed you were using the SCXI 1180 feedthrough panel with a 1300 terminal block.  Are you just using the SCXI 1180 for access to the pins on the cable coming from the 6281?  Or are you using an SCXI chassis with other modules?

Samantha
National Instruments
Applications Engineer
Download All
0 Kudos
Message 5 of 6
(6,256 Views)

It's completed thank you, Samantha

 

0 Kudos
Message 6 of 6
(6,229 Views)