LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2D array of variant broken wire to Database Variant to Data

Database connectivity toolkit functions -
I am trying to connect output from DB Tools Select Data to the Database Variant to Data functions. I get an error of broken wire:
These cannot be wired together because their data types (numeric, string, array, cluster, etc.) do not match. Show the Context Help window to see what data type is required.
The type of the source is 2-D array of Variant.
The type of the sink is 2-D array of Variant.

What is going on here? I suspect that the arrays themselves have different shapes, but I have no idea how to fix that. Or, variant data doesn't matach variant data no matter what.
0 Kudos
Message 1 of 2
(2,766 Views)
I experienced something similar. I solved it creating a double for loop and calling in each iteration de Database Variant to Data. It seemed like this vi worked well if I didn't pass it an array of variants, but only a single variant element.

Hope this helps.
0 Kudos
Message 2 of 2
(2,766 Views)