LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to send an image to a server website?

Hi,

I have another problem that I am facing.

I received this error "Argument error; the number of columns does not equal the number of parameters."

What does it mean?

I am trying to send an image jpeg/bmp through the database server.

I attached my labview + the image i trying to send.

 

Regards,

Syaff

Download All
0 Kudos
Message 11 of 12
(358 Views)

The error simply means that you have more or less values than the number of columns you specified. SQL will return that error for this INSERT INTO table (A,B,C) VALUES (1,2);

 

Your column information array contains five columns but your sample data cluster only has two. Also you are bundling by name to the same element "String" twice.

 

You should really wire the error clusters. The dataflow of the express vi's is probably ok because of the signal wires but in the top case structure there is no way to detemine which invoke method will happen first. Also you have a wire going under the case structure. It took me a wile to figure that out. Just click on the block diagram cleanup made a world of difference.

 

One more thing. The subject says you are sending this to a webserver. Do you know how to decode the flatten to string results on the webserver side? It is easy if you are using LabVIEW on the server..

=====================
LabVIEW 2012


0 Kudos
Message 12 of 12
(346 Views)