LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can two sets of data be plotted onto one 3D curve graph?

I have two sensors that output data and to be able to easily see their relation to one another I want to plot them both on the same 3D curve.  So far all I've managed to do is get the graphs to constantly overwrite each other.  I've been looking around and haven't seen any references to a problem like this.  I know LabVIEW isn't really meant for creating complex 3D plots, is plotting two sets of data like this possible using LabVIEW?

 ** Attached is the log reading VI to plot the data, and a copy of a log file.  The only thing I've found so far that will get the two sets into one graph is to wire both of the 3D curve blocks to one control, but all it does is have them overwrite each other constantly.  Also, LabVIEW saves the log file as a generic file with no association so I manually added the .xls extension to it and it works for me.  But, if it won't work just clip the .xls off and it should work.


Thanks in advance!
Download All
0 Kudos
Message 1 of 5
(2,743 Views)

Yes!

Use a seprerate plot number for each. This image shows how to add more than one plot using the method "add".

You can also add the second plot manually and then specify which plot you are updating.

Ben

A "worse 3d graph" example can be found in this thread.

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 5
(2,736 Views)
I just put together a rough Frankenstein version of the VI in that picture and it works exactly like I want it to!  I've been fighting with that problem for days.

Thanks Ben!
Message 3 of 5
(2,729 Views)
Dk_bme wrote " I've been fighting with that problem for days."
 
You are very welcome. I am glad that I was able to help!
 
Could you please attach a jpg showing the final results?
 
Ben


Message Edited by Ben on 08-01-2008 12:38 PM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(2,719 Views)
Ben wrote "Could you please attach a jpg showing the final results?"

Sure thing.  You can kind of see the different signals, one wraps up to the upper pole and around it a little bit and the other signal doesn't quite go up that high.  This set was just seeing how closely the sensors were calibrated; not very it would appear.

Dk.


P.S.  Sorry for taking so long to post this, I was relying on emails to know if someone responded to this thread. It doesn't send notices for edits apparently.  Something for me to remember in the future.


*edit* I attached the wrong files, fixed now.


Message Edited by Dk_bme on 08-06-2008 10:48 AM
Message 5 of 5
(2,684 Views)