LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

generating a 3D plot in real time from streamed data

Hi

I would like to know if it is possible to generate 3D plots in real time from streamed data. Basically I am collecting data from a USB uv-vis spectrometer and would like to plot the intensity and wavelength data versus time (or scan number) as the data is collected from the spectrometer. I can generate a 2D (see attached plot) which is updated in real time, i.e. with each scan, but I would like to generate it in 3D to better visual potential changes in intensity. Attached is the type of 3D plot I would like generate. Note that this plot was generated with Matlab. The time domain in this plot represents scan number which is collected every 20 ms.

PS I am a beginner with Labview so this might be a silly request.

Download All
0 Kudos
Message 1 of 3
(3,444 Views)

Hi Diatom,

 

It certainly is possible to generate a 3D plot of the type you are describing.

 

You can use the Set Plots VI in labview to specify the number of plots you want on a 3D graph, an article on this can be found here.

 

You can then use the 3D Curve VI to generate the actual graph. Example code for this process can be found here.

 

I hope this helps.

 

Regards

 

Josh E
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 2 of 3
(3,432 Views)

Thanks Joshua, I'll give that a go

Michael

0 Kudos
Message 3 of 3
(3,397 Views)