LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic # of parameters for scan from string function

I need to dynamically change the number of parameters that the 'scan from string' functions performs. i.e. sometimes i will only be retreiving 1 string from an input string, but other times i will be parsing several strings from an input string. Does anyone have any ideas on how to dynamically change the number of parameters the 'scan from string function' ouputs.

-Steve
0 Kudos
Message 1 of 2
(2,224 Views)
Maybe LV scripting, but you don't want to go there unless you know exactly what you're doing. Instead, just modify your code and use Spreadsheet string to array or, if necessary, use a while or for loop and parse the string using the regular functions like string subset.

___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,218 Views)