LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scan From String

I can't for the life of me get Scan from string to parse a strong in this format: "string1", "string2", "string3"
 
It doesn't seem too hard to me. I tried "%s", "%s", "%s" and received an error and string1", as my output .
Error 85 occurred at Scan From String (arg 1) in Determine File Info.vi
Possible reason(s):
LabVIEW:  Scan failed.
I've tried to alter it using the match exact and match period/comma and it just doesn't work.
 
Frustrating. What am I doing wrong? (LV7.1)
0 Kudos
Message 1 of 2
(2,444 Views)
Hi,
try following format string: "%[^"]", "%[^"]", "%[^"] 
see also help for format specifier from which I have copied following row:
    • %[^,;]—Matches any string of characters up to but not including the first comma or semicolon.

BR
Sture

Message 2 of 2
(2,431 Views)