LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to 3D plot the multiple serial port data in real time

I would like to 3D plot the data continiousely reading from serial port. As the 3D plot inputs need to be a matrix, how can I cumulate the multiple channel of serial port data into a 2D matix as the input of the 3D plot?  I put a FOR loop in a the while loop to make the output a matrix, but the VISA close outside of the loop connection is broken, how to solve this issue?  Thanks for your advise.

0 Kudos
Message 1 of 3
(3,002 Views)

Hello,

 

Would you mind posting your code?

 

Thanks,

National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(2,971 Views)

@Patricia B wrote:

Hello,

 

Would you mind posting your code?

 

Thanks,


Yep, some images would help us understand the question. If english is not a good langauge then include the question in your native tongue. So lacking details to help I will settle for decorating this thread with images from an app that "resemble that remark".

 

The follwing image show the config screen for a 3 axis anemometer and uses a vector to show the air speed.

 

 

3_Configure_Hardware_Anemomoters.JPG

 

 

 

This is the same application in analysis mode and we can see the concentration of methane in a coal mine (data simulated here) and how methane literaly pours out of the coal as it is being mined.

 

3-planes-Concentration.JPG

 

 

 

Take care,

 

Ben

 

 

 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 3
(2,949 Views)