LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

insert image to SQL database table

Highlighted

Hi , 

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

0 Kudos
Message 1 of 5
(607 Views)
Highlighted

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?

0 Kudos
Message 2 of 5
(594 Views)
Highlighted

 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
(576 Views)
Highlighted

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
(539 Views)
Highlighted

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
(537 Views)