LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i measure and display more than one voltage on my daq 6210

My goal is to measure and display 8 current and voltage meaurements on the same graph using the daq 6210. Unfortuanetly i cant get it to run and i get the error 50103. I have replaced daq assistant vi which hasnt helped eliminate the problem ..

>>File attached

any suggestions?

0 Kudos
Message 1 of 6
(3,372 Views)

Probably a good idea to review the Waveform chart examples included in LabVIEW Examples.

0 Kudos
Message 2 of 6
(3,366 Views)

1.  Only set up your task once before your loop.  Clear the task after the loop.

2.  You can have multiple channels in a DAQmx Task.

3.  Do not use the Dynamic Data Type.  A simple Index Array would do what you did to get it down to a single channel.

4.  A chart keeps a history.  You just need to set the value of the chart with the new values.

5.  Your building of your XY graph should probably be done after the loop.

6.  Do not use references to controls to set values of controls.  In this case, just use a wire to pass the data out of the loop.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 6
(3,353 Views)

Really appreciate your feedback,..

 

1) Able to setup the task outside of the loop. UNABLE to clear the task.
2) Added an extra one and will repeat for 6 other loops.
3) Changed successfully with no broken wires
4) do you mean "Array_x1"/x2 on the front panel? If so i have manually filled in the x values.
5) Added a case structure, but the first case depends on the second.  
6) are you talking about the Voltage? How exactly should i wire it out?

 

Changes attached.

 

Thanks

0 Kudos
Message 4 of 6
(3,318 Views)

Can you post your VI in 2013 version?

0 Kudos
Message 5 of 6
(3,249 Views)

This thread was continued here!

 

Haab: Please don't create new threads for old problems, stick with one thread!

 

@jchow: You will find a snippet of that code in the other thread…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(3,226 Views)