LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to do a formula function on a string output from a serial port so I need a way to covert the data in the string to dynamic data apparently

I have two scales comunicating through serial ports. So what I need to do is take the data(weight displayed) and average the two.
0 Kudos
Message 1 of 2
(2,504 Views)
There are a couple of functions that convert strings to numerics. My favorite is Scan from String on the string palette. You just have to provide the format information. You can right click the function and select Edit Scan String to create the format you need or enter your own. Check the help for the function for details and all of the options on the format string.
0 Kudos
Message 2 of 2
(2,504 Views)