LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

search value

Hi!

I'm new with LabView, so my question is probably an easy one...

I made a VI which reads files, og replaces some values. In these files there is a numeric value in the first line. I figured out how to get the first line by using Pick line, but I only need the first numeric value. Can I set any parameters or should I use another function?¿

Best regards

Klaus Christensen
0 Kudos
Message 1 of 2
(2,528 Views)
Hi Klaus,

Try using the match pattern function on the strings palette. Wire [0 - 9] to the regular expression terminal to return numeric values. Use in a loop with a shift register to enable searches beyond the first numeric instance.

Hope this helps,

Nick
Message 2 of 2
(2,528 Views)