LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

(how to load picture(.jpeg) in lableview and save in SQL-SERVER database )在lableview中如何载入jpeg格式图片并保存到SQL-SERVER数据库中?

 how to load picture(.jpeg) in lableview and save in SQL-SERVER database?
-----------------------------------------------------------------------------------------------------
  在lableview中如何载入jpeg格式图片并保存到SQL-SERVER数据库中?
please help me,thank you!
-----------------------------------------------------------------------------------------------------
请帮忙解决一下,谢谢!
0 Kudos
Message 1 of 3
(3,170 Views)
You have two different questions:

How to read a JPEG file in LabVIEW. What version of LabVIEW are you using? LabVIEW 8.20 has a VI to read JPEG files. It's in the "Graphics & Sound -> Graphics Formats" palette.

How to save a JPEG into SQL Server? Use the "image" datatype for a column.

If you're trying to just read a JPEG file and save directly into SQL Server you probably just want to use the "Read Binary File" to read the JPEG file as raw binary and then save into SQL Server (into a table that has a column with "image" datatype).
0 Kudos
Message 3 of 3
(3,141 Views)