LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

insert image to SQL database table

Hi , 

i want to know how to insert image in SQL Server database using LabVIEW. 

0 Kudos
Message 1 of 5
(2,554 Views)

First question: do you know how to insert an image into a SQL Server database *not* using LabVIEW?
Second question: Do you have the LabVIEW database connectivity extension?
Third question: Have you looked at the LabVIEW SQL help?

---------------------------------------------
Certified LabVIEW Developer (CLD)
There are two ways to tell somebody thanks: Kudos and Marked Solutions
0 Kudos
Message 2 of 5
(2,541 Views)

 this is the Code .

Capture1.PNG

 

When i  trying to run the vi , I receive this error.

Capture.PNG

0 Kudos
Message 3 of 5
(2,523 Views)

I found this in one old forum, let us know if it helped.

 

https://forums.ni.com/t5/LabVIEW/ADO-Error-0x80040E57-String-or-Binary-Data-truncated-Error/td-p/126...

 

regards

0 Kudos
Message 4 of 5
(2,486 Views)

Read your JPEG file in as unmodified text (rather than converting to a LabVIEW image format as you are doing) and insert that text.

0 Kudos
Message 5 of 5
(2,484 Views)