01-15-2007 07:46 AM
1,0.000000,0.000 %2007/01/13 00:16:19 196281
1,0.000000,0.000 %2007/01/13 00:16:22 196282
1,0.831262,0.000 %2007/01/13 00:17:20 196375
2,0.811154,0.000 %2007/01/13 00:17:20 196375
If I us the paremeter "1,[~0]" It doesn't find the line 1,0.831262,0.000... which is the one that I want. I also tried :1,[0-9].+[~0] and that didn't work either. the problem is that the first digit after to 1, isn't allways going to go from 0 to 0.0 sometimes it might go from 0 to 2.??.
Thanks for the help
Matt
01-15-2007 08:26 AM
It's rude... but works.
Vicen
WinXP / LV7.1
01-15-2007 08:58 AM
@vicens wrote:
It's rude... but works.
Vicen
Thanks Vicen!
That got me started going down the right road and now it's working they way it should Thanks!!
(FYI I saw that said you were using 7.0, well what you sent me didn't work until I removed the search and replace function... Maybe thats something new with 8.0 or 8.2. But if you just send the string direcetlly into the converter you used with the decemical point it works fine)
Thanks again for the help!!
Matt
01-15-2007 09:10 AM
01-15-2007 09:15 AM
I'm in a european computer (decimals are , not .).
I don't know...
01-15-2007 11:04 AM
@vicens wrote:
I'm in a european computer (decimals are , not .).
Oh... ic, I didn't know that european computers used commas instead of decimal points. I could see were that could become a problem in a American bassed program such as labview. I'll have to remember that!
Thanks again for the help
Matt
01-15-2007 11:10 AM
01-15-2007 11:32 AM
If you use the Match pattern with only one character, you can gain a lot of speed by using the Split String function...
Thats Wiebe,
I didn't know about the Split String function.
I ended using a while loop that checks to see if the number after the first constant is not equal to zero. If true it stops and returns the remaining values in the string. If it is equal to zero it repeats the search again with the remaining values (I used a shift register wired to the after substring on my Match pattern function)
Thanks for the help everyone!
Matt