LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I convert a 2D Array of Variant to string using the VARIANT TO DATA function?

I'm building a login VI where the users can select their names from a list instead of typing it. I want to get all names from the database and display them but the Database Variant to Data doesn't accept 2d arrays. I read something about making a 'double for loop' or autoindexing but I need help.
0 Kudos
Message 1 of 2
(4,327 Views)
There are a couple functions in the OpenG Toolkit that can help you do this. They are "Format Variant Into String" and "Variant Array to Spreadsheet String". You will need the "string", "lvdata", and "error" libraries in order to resolve all dependencies.

Good luck,

-Jim
0 Kudos
Message 2 of 2
(4,326 Views)