LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data parsing

Hello,

 

My VI reads in data as ( 21, 320) in the form of string. I need to separate these two string and convert into numbers to display on two different chart. Any help on this would really be appreciated and if you could include the VI's that would handle it. I am new to this Labview STUFF..  Thanks..

0 Kudos
Message 1 of 4
(2,322 Views)

This is a very easy problem. First step should be to go through the tutorials that ship with LV.

 

Basically there is a function that allows you to split a string in two at a delimiter (the comma in your case). Then there are other functions that will turn the string "320" into the number 320.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(2,320 Views)

I tried to find the function but had no luck. I found the function to convert string to numbers but not one to parse and remove that comma and get input.  

0 Kudos
Message 3 of 4
(2,318 Views)
That is why you need to go through the tutorials.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 4
(2,312 Views)