LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

One graph works...the other doesn't??

Hi all, I'm using a DAQmx base that is reading two channels of voltage, the first is from a battery, the second is from some other voltage source. As you can see on the picture (2.gif), the waveform chart reads them correctly and separates them, with the Battery at around 1.5 volts and the other voltage source much lower. However, the first chart (1.gif), is supposed to be stacking two plots, the top as the battery voltage and the bottom plot as the other voltage source. It appears that it is using two plots that are identical, with the top of the lines on the plot being the battery voltage and the bottom of the lines being the other voltage source's voltage, and it is filling it in with some random stuff. Can anyone help me fix this first graph so that it will display both separately? I do not know why this is not working. Thanks.

Message Edited by Doagie on 06-23-2005 03:50 PM

Download All
0 Kudos
Message 1 of 6
(2,843 Views)
Could you show us some code? How are the graphs/charts wired in each case?
0 Kudos
Message 2 of 6
(2,827 Views)
Here's the block diagram (only the error and write labview measurement VI's aren't showing):
0 Kudos
Message 3 of 6
(2,819 Views)
Here's the file if you want it:
0 Kudos
Message 4 of 6
(2,803 Views)
I cannot run it because I don't have the DAQ drivers installed.

One obvious difference: One chart is set to "Transpose Array", the other not (Right-click on each graph to verify).

Set both the same and see if things clear up. 🙂
Message 5 of 6
(2,788 Views)
Thanks a bunch...that got it working!
0 Kudos
Message 6 of 6
(2,766 Views)