05-23-2010 08:58 AM
Hi,
I am new to Labview and had been trying to perform a simple database(MySQL) query. Although so far have been unsuccessful at this. Can anyone tell me what possibly i have been doing wrong here?
Solved! Go to Solution.
05-23-2010 11:11 AM - edited 05-23-2010 11:16 AM
nik_s wrote:I am new to Labview ...
Sorry, I am not familiar with the database toolkit, so I cannot really tell what's going on (especially without seeing actual code instead of just an image).
Error 91 means: "The data type of the variant is not compatible with the data type wired to the type input".
Why don't you place a probe on the variant wire entering the function to identify what type it actually contains?
Still, there are some glaring coding mistakes and some cosmetic issues that you might want to address:
05-23-2010 11:55 AM - edited 05-23-2010 11:58 AM
Now i have tried to neaten up the block diagram.........all i wanted to do was to execute this query " Select name from labview where username='nik91uee'"
The query is working fine now. The problem was due to no match found( Null error ). The error message generated, however, was misleading. It has now been resolved.