LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do i create a 4D plot in LABview using x y z co-ordinates and temperature?

Hi,

 

I am fairly new to LABview and im wondering how to create a 4D plot using x,y,z co-ordinates obtained from Matlab, and temperature readings from IR sensors.   The 4D plot will be cylindrical in shape, allowing for varying diameter in different tests.  I was also wondering if it would be possible to have the temperature readings appear as colours on the plot, which red being hot blue being cold etc.  Any help would be very much appreciated.

 

thanks 🙂

remy123
0 Kudos
Message 1 of 8
(4,275 Views)

Hi Remy,

 

Thank you for posted onto the forum.

 

The basis of the way you wish to display this sounds like an intensity graph, I have added an example from our community below that random generates these values.

In terms of importing co-ordinates from matlab, it should be quite simple by using Mathscript nodes to implement it.

 

I will also look for other example that may help!

Many Thanks,

John McLaughlin
Academic Account Manager
National Instruments UK & Ireland
0 Kudos
Message 2 of 8
(4,251 Views)

Thank you for your reply, it has been very helpful.  I'm now currently working on linking the matlab co-ordinates of the diagram into LABview using Mathscript.  I'm wondering will the user be able to alter the size of the cylinder within labview or will it need to be drawn up in Matlab each time the parameters change?  Sorry if my question is confusing

once again thank you 🙂

remy123
0 Kudos
Message 3 of 8
(4,240 Views)

Hi Remy,

It really depends on how you want to design the application. You could have controls in LabVIEW that set the parameters for the size of the cylinder, they just have to be mapped to the correct constants with the mathscript code.

 

Always happy to help,

John McLaughlin
Academic Account Manager
National Instruments UK & Ireland
0 Kudos
Message 4 of 8
(4,234 Views)

Thank you John for your help! I am now almost finished 🙂   One final feature i would like to add would be to allow the user to rotate the cylinder at their chosen increment (20 or 30 degrees) in order to view the range of temperatures along the cylinder at that rotation. is this possible?

 

 

remy123
0 Kudos
Message 5 of 8
(4,183 Views)

Hello, JohnMc19, may you save VI in older version of LabView (in 8.5 or earlier)?

0 Kudos
Message 6 of 8
(3,919 Views)

Hello Rook,

 

Here is the VI in 8.5,

 

Cheers,

 

Liam

Liam A.
National Instruments
Applications Engineer
0 Kudos
Message 7 of 8
(3,904 Views)

Thanks a lot! I'm working on something like virtual voxel monitor (http://www.youtube.com/watch?v=Ps2xMpaPfMk) to represent my data in bulk medium.

0 Kudos
Message 8 of 8
(3,902 Views)