LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Plotting temperature vs movement on an xy graph?

Hi all, Im trying to plot on an xy graph a very simple temperature (x) vs movement (y). The numbers will be coming in from daq. I have managed to put things on the plot, but only one point will show up at a time, while I would like all of the data gather throughout the cycle to show. I've read about using shift registers, but when I use them I still only get one single plot. I've looked around at various ways of doing things, but I just end up get confused. Also, I'm using labview 6.1 Any help would be appreciated! Andrew P.S. I'm learning as I go with labview in my internship, so I may not understand some of what is being said. Thanks!
0 Kudos
Message 1 of 11
(4,125 Views)

An X-Y graph does not store history of data.  Therefore, if you are writing to the graph within a loop, each iteration will only plot the current data wired to the graph.  If you want to maintain the history you need to store the data from iteration to iteration, which can be accomplished using a shift register.  The shift register should store an array of data points (X and Y) and each iteration you add the new point to the array and plot the appended array.

 

Some searching on ni.com for XY graphs should give you some good info.

 

Try here: http://decibel.ni.com/content/docs/DOC-2238

or

http://decibel.ni.com/content/docs/DOC-2019

 

Dan

0 Kudos
Message 2 of 11
(4,122 Views)
Thanks for the links, they look like what I need, however they are in lab view 8, while I'm still at 6.1
0 Kudos
Message 4 of 11
(4,100 Views)

If you are still a student you can get the full blown LabVIEW for about $75.00 , the only limitation on the student edition is watermarks on the FP and BD, thats it. And being an intern you might suggest the company upgrade to something newer. Sometimes they don't want to ever upgrade though.

 

Alan

0 Kudos
Message 5 of 11
(4,095 Views)

really? that sounds pretty fair. thanks for letting me know!

0 Kudos
Message 6 of 11
(4,087 Views)

Yes, NI just started using a third party to source the Student Edition, and I can't remember their name. But Academicsuperstore.com sells it also . You will need a student ID , I just had to scan my ID and send it to them. This works for lots of programs, Im taking ART-112 and just bought Full Blown Photoshop CS5 for $199.00. (an $800.00 discount) It does not matter what class you are in, as long as you have a student ID. I have Student Versions of LV 8.6 and 10.0 , I passed my "Certified LabVIEW Associate Developer" exam using 8.6 (and a few good books). You can also download LV 10.0 full blown 30 day trial while waiting for the Student Edition to arrive. It ships from some where FAR away, I can't remember where but its like Belgum or somewhere.

 

Alan

0 Kudos
Message 7 of 11
(4,079 Views)

I don't believe this would be a legal use of the student license. As an intern, you are working for some company and on some project for them and use of the student version for any commercial use is prohibited. Being the only one with a current version would not be wise anyway. Who would maintain your code after you left?

 

Post your 6.1 code.

0 Kudos
Message 8 of 11
(4,067 Views)

A Waveform Chart might work for you.  It stores its own history.  (nevermind, this won't work for you.)

 

-Greg

v7.1
0 Kudos
Message 9 of 11
(4,063 Views)

Dennis,

 

I was not suggesting he use his student version to develop code for the company he is interning. I even advised he try to talk the company into upgrading (Read that more money for NI). I also clearly stated the Watermark issue. But if you want to learn LabVIEW AND you are a student, NI makes it affordable for you, and you should take advantage of that. (That is NI's intention) Then he can use ALL of the examples and not be limited to only looking at examples in 6.x.x ,  Maybe some of them will not port, and he can say, Wow this a really cool feature , you guys really need to upgrade. But as you suggested posting his 6.x code is a good idea.  One other thing, the only reason I upgradded from 8.6 SE to 10.0 SE is so I could continue to learn from people posting on this forum. Almost all the 9.0 and 10.0 examples run on 8.6

 

Alan

0 Kudos
Message 10 of 11
(4,049 Views)