LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data seperation

Solved!
Go to solution

Press <ctrl> + h to bring up the context help for any VI. You can then click on "detailed help" to get a more in-depth description.

 

If you do this then you'll see exactly what has to be wired to format string.

 

-CC 

----------------------------------------------------------------------------------------------------------------------------
"If anyone needs me, I'll be in the Angry Dome!"


0 Kudos
Message 11 of 14
(391 Views)

thanks that i got some idea but still i cannot able to read what i want i can seperate just upto 2 decimal what can be done for data like: 0.000275 0 22555 2555 with this vi i can only read upto 2nd position .

0 Kudos
Message 12 of 14
(382 Views)
Solution
Accepted by topic author kalu

Hi kalu,

 

you really should read the help on those format codes. "%10.6s" doesn't make any sense, especially when combined with a DBL typed array!

 

See the attachment on how to split your data at colons.

You have to convert the 2nd column individually for each element as you have mixed up standard decimal numbers with strings (yes, 0x000F is just a string to LabVIEW) with 1D arrays of float numbers...

 

Hint:

Instead of placing a big comment on the FP you could just copy that text into your string control and make it "default data"...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 14
(374 Views)

thank you so much

0 Kudos
Message 14 of 14
(367 Views)