LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Object scanner - problem with serial port and drawing 3D charts

Hi,
I would like to ask for help in solving the problem.
Starting off, I have an Arduino program that sends data from the xyz sensor "0.21; 0.21; 0.00" via the serial port.

Photo in file "Przechwytywanie.PNG" LV file "SerialDataReceive2017.vi"   

I have 2 modules written in LabView, only the graph field connects them for online and offline work.
Offline reads the data from the SCAN1 file and draws a graph - this fragment works fine

Offline file is in  "SKAN1.TXT"

Photo in file "Przechwytywanie1.PNG"

LV program to work offline "Skaner obiektów.vi"

However, I do not know how to set the online mode to read data and draw points on the graph. (I managed to do this with the simple XY plot) LV file "Skaner obiektówv2.vi"   

In the Final Project I have a 3D view, When I make a layout on the loop, everything works, but the 3D graph uses a lot of RAM and after 50 reads from the port the memory ends)
Maybe some of you know how to solve my problem.

Thanks in advance for any advice.

0 Kudos
Message 1 of 1
(693 Views)