LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I use display a measurement from a load cell (attached to my serial port) in a front panel

I have a load cell attached to 2 serial ports on my WIN200 PC. I am using LABView7. I am a newbie and I just want to be able to display the measurement data in a graph on my front panel
0 Kudos
Message 1 of 3
(2,674 Views)
First you'll have to convert the string received from each serial port read into numbers. Use a Scan From String function on each serial port data to do this. To plot in real-time, the simplest thing to use is a chart. Bundle together the two numbers output from the Scan From string and wire the bundle to the chart.
Message 2 of 3
(2,674 Views)
Hello -

I have attached a program which performs what Dennis discussed. You will need to modify it for your specific instance. VISA Configure Serial Port needs to be set for your specific ports and you may need to change the byte count of VISA Read.

Being new to LabVIEW, you may want to take a LabVIEW training course.

Good luck with your project and have a great day!

Becky B.
Applications Engineer
National Instruments
Becky Linton
National Instruments
Field Engineer
Office: 734-464-2463
Cell: 248-709-2822
Email: becky.linton@ni.com
Message 3 of 3
(2,674 Views)