07-14-2015 07:37 AM
The Array To Spreadsheet String function does not accept an empty Delimiter, it uses the Tab character in such case.
The same is true for the Spreadsheet String To Array function (but of course this function cannot work without a Delimiter).
I would appreciate one of the following options:
I would prefer the first option espacially for the Array To Spreadsheet String function. What do you think?
Solved! Go to Solution.
07-14-2015 07:49 AM
What should the output string look like if you do not have a delimiter?
Rather than create a special case for the Array to Spreadsheet String function, it appears that you could use a for loop and Concatenate Strings with a shift register. If you do this often, create a subVI.
Lynn
07-14-2015 07:49 AM - edited 07-14-2015 07:50 AM
Hi aschipfl,
some thoughts about your suggestion:
- When you want to suggest improvements to LabVIEW you should post in the Idea Exchange.
- NI will not change the behaviour of functions existing for a long time…
- NI will probably update the LabVIEW help for that function…
- a spreadsheet string needs some kind of delimiter, what's the purpose of creating a spreadsheet string without them?
When you really need a "Array to Spreadsheet String" without delimiters you could take this approach:
07-14-2015 07:51 AM
07-14-2015 08:06 AM
Hi Mike,
the documentation is not clear concerning empty delimiter (at least in LabVIEW 2013).
It says that the default is Tab, but auto-replacing an empty delimiter string by Tab is not mentioned.
Cheers
07-14-2015 11:57 AM
@aschipfl wrote:
The Array To Spreadsheet String function does not accept an empty Delimiter, it uses the Tab character in such case.
This is an old story covered in my idea here. (from 2009!)
If there is more insight, it should be added as a comment to the quoted idea.
Let's keep the discussion all in one place! Thanks.