LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I read unscale/raw data

Hi dennis,

Would like to bother you again, how do I make all my 6 graph to sync at the same time, meaning taking the sample signal at the same time (how do I make my x axis to read together). Hmm..hope you understand what I mean.
0 Kudos
Message 11 of 14
(937 Views)
I don't understand what you mean. Because you are using a sequence structure for all the data acquisition, the charts do not update until the entire sequence is done and the charts are getting updated at the same time. You've got three separate read operations and it seems the intent is to do a read after each change of the digital output so you couldn't take three samples at the same time. If what you want it to have the x axis on all 6 be the same, you can set each for auto-scale or if you want a fixed scale, apply the same min and max to all 6.
0 Kudos
Message 12 of 14
(928 Views)
U are right, it will read after the digital output make changes. What i mean is for the 6 graph on the x-axis all will start from said 0 to 100. I tried auto scale, all give diff value. If I fixed it, oso cannot. Hmm... not sure you get what I mean or not
0 Kudos
Message 13 of 14
(921 Views)
One thing I noticed is each of your charts are sligtly different sizes so that the number of points displayed on each is a little different. If you want them the same, create one chart, select it, and then do a CTRL drag to make a copy. If you dragged each chart from the palette and then independently sized them, that would acoount for some of your problems. As far as having the x scale with a range of 0 to 100, you can do that by turning autoscale off and then click on the max number on the scale. Type in 100. Since you are using charts, though, as soon as you have reached 100 samples, the chart will scroll. You will reach this fairly quickly as there isn't much delay in the while loop. Then, when you reach the limit of the chart history buffer, you will start to lose data. How long do you intend to let the program run? Also, if you want the charts to start a 0 everytime you restart the program, you have to initialize them back to 0 first. The initialization of charts is covered in the LabVIEW User manual and there is a shipping example called How to Clear Charts & Graphs. Lastly, check the resources available at http://www.ni.com/devzone/lvzone/fundamentals.htm for learning the basics of LabVIEW. It will be time well spent.
0 Kudos
Message 14 of 14
(916 Views)