LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Variant data to data

Hi,

I am connecting to MySQL server and with SELECT VI from database
connectivity kit I am having 2 coloums of data, I have read the
documentation it says, If I want to convert this data into labview data
I have to use Variant Data to Data VI but when I use that I have got the
error message below.

What do you think is the problem?

ERROR MSG:
Generally, polymorphic terminals accept any wire type connected to them.
But sometimes these terminals only accept a limited subset based on
other wire types connected to other terminals. The most common cause of
this conflict is using the type cast node to cast between incompatible
types, such as a 2D array and a string. Check the terminals connected by
this wire and change that node to make this wir
e type acceptable.

TIA
0 Kudos
Message 1 of 3
(2,558 Views)
Actually, there is a function specifically for databases called Database Variant To Data. Have you tried using this function?
0 Kudos
Message 2 of 3
(2,558 Views)
Crystal wrote:
> Actually, there is a function specifically for databases called
> Database Variant To Data. Have you tried using this function?

Hi,

That is what I was talking about but meanwhile I understood that it was
my fault.

Cause the VI name is not Variant Array Data to Array Data :))

When I split and send the variants one-by-one it works.

cheers
0 Kudos
Message 3 of 3
(2,558 Views)