LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with plotting

I am trying to make a VI that will coninuously plot temperature. I have included my VI. What I am doing is plotting the phase changes of water. What I would like to do is have a plot of the expected results beforehand, and then have the actual results plotted over that. I have no idea how to do this, or if it would be possible. I am really not very familiar with LabVIEW so detailed help would be greatly appreciated. Thank you in advance for any help.
0 Kudos
Message 1 of 5
(2,818 Views)
You can use an XY graph to achieve that
 
Look at the atached vi to get an idea
 
Any doubts, do ask
 
Regards,
Dev
Message 2 of 5
(2,815 Views)
Thank you very much for your help. I have got it somwhat working. I would like to add a little bit to it, though, and am not sure how to. What I would like to do is have the first value of what you have labled 'trend plot data' be the initial value of the temp (or 'simulated temp' as you have it). I'm not sure if this makes sense, so I'll try to elaborate on what I'm actually using this for. I have a certain amount of ice that will be placed on a hot plate with the thermistor in it. The temperature will be plotted through melting and into boiling. What I would like is the predicted temperature output through this, calculated from the initial temp. I hope this makes sense! Again, thank you so much for your help.

0 Kudos
Message 3 of 5
(2,802 Views)
OK, so I think I have solved this problem myself. I now have only one problem: When the stop button is pressed, the VI does not stop unless the plotting is stopped as well. I'm not quite sure how to fix this. I'm sure it's simple, but who knows. I included the VI so you can see what I'm talking about.
0 Kudos
Message 4 of 5
(2,793 Views)

The outer while loop was not required

Look at the modified version of your attached vi

Message 5 of 5
(2,788 Views)