LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between "Database Variant To Data" and "Variant To Data"

Can anyone tell me the differnce between the 2 VI's "Database Variant To Data" and "Variant To Data"?
I am using the database connectivity toolset and making a query.
I have tried using both, but the give me the same result.
 
0 Kudos
Message 1 of 3
(2,735 Views)

You won't see a difference between these two functions with just a string or other simple data types.  Where you'll see a difference is with clusters and more complex data types that come from the database.  The variants returned by databases can be slightly different than the standard variant.  That is where the Database Variant To Data is needed.  Otherwise, if you are just reading string information, either function will work fine.

Crystal

Message 2 of 3
(2,718 Views)

Thanx very much for your reply!

Seems as in my case it won't matter what type I use.

/mmc
0 Kudos
Message 3 of 3
(2,695 Views)