07-08-2010 02:35 PM
This should be an easy question. I am trying to use the "Write to Spreadsheet" VI from Labview 8.0 but I need to modify it to accept arrays of strings rather than arrays of doubles. 8.2 does this automatically, but I am stuck using 8.0. The instructions in the block diagram of the original VI says:
"You can modify a copy of this VI to accept arrays of strings by changing 2D data and 1D data arrays to arrays of strings and setting the format to %s."
I am having a problem changing the data arrays to arrays of strings. I have looked in "properties" for an option and also looked in the "representation".
How do I change the control numeric array to that of strings? Thanks!
Solved! Go to Solution.
07-08-2010 02:38 PM
Right click on the numeric and select 'Replace'. Just browse to the string control on the palette.
07-08-2010 03:05 PM
I tried that and there is an issue with the "Array Size" function used downstream. I am posting the VI.
07-08-2010 03:12 PM
You have not done any modifications to that. You need to do the three steps that are listed - replace the 2D, 1D, and format string.
07-08-2010 03:17 PM
I tried the replacement you suggested but ran into the problem with the array size. I posted the original so that you could try what you suggested. I'll try it again and reply again with the modified VI.
07-08-2010 03:19 PM
Nevermind. I got it. Thanks!