Jump to content

Spreadsheet String to Array


Recommended Posts

Hi All,

I would like to store strings in a circular buffer. I have initialized an array but when I use the vi "Spreadsheet String to Array" I get conflicting data types. How do I make array type 1D double instead of the default 2D double in the vi "Spreadsheet String to Array" vi?

Thanks

Link to comment
How do I make array type 1D double instead of the default 2D double in the vi "Spreadsheet String to Array" vi?

4740[/snapback]

Just connect a 1D array of DBL to the 'array type' input of the "Spreadsheet String to Array" function.

One can, BTW, also connect arrays of string to the array type connector, which is a sometimes overlooked feature. See examples below:

post-833-1116009678.png?width=400

Link to comment
Just connect a 1D array of DBL to the 'array type' input of the "Spreadsheet String to Array" function.

One can, BTW, also connect arrays of string to the array type connector, which is a sometimes overlooked feature. See examples below:

post-833-1116009678.png?width=400

4744[/snapback]

Yes, thank you...I should have initialized the array as a string, it now works :)

Cheers

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.