ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(4,069 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?

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
0 Kudos
Message 2 of 5
(4,056 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
(4,038 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
(4,001 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
(3,999 Views)