LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Any other method to do this (time, miliseconds)?

Solved!
Go to solution

Hi all,

 

is there any other more "elegant"(without stringsubset) way to do next thing (I need miliseconds !!!):

 

Capture.PNG

 

 

 

_________________________
Rookie; LV 2011 on WIN 7
0 Kudos
Message 1 of 5
(2,725 Views)

Cue the Regular Expression heroes.  Unfortunately, I'm not one of them.  That's one thing I need to study up on.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(2,714 Views)
Solution
Accepted by topic author hlod

Use the Search/Split String function. Only need 1. Just wire the 10 into the "offset" input.

Message 3 of 5
(2,703 Views)

Well, since you asked. You could use ".*(\.\d+)" as the regular expression.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 4 of 5
(2,677 Views)

Hi hlod,

 

instead of creating a big string that has to be splitted afterwards you could just create 2 strings:

check.png

Quite easy! Elegant too?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 5
(2,670 Views)