04-26-2009 12:14 PM
Dear all ,
i have some trouble about import the image from the SQL server by using labview
database connectivity toolset . How can i read the image in the Database ? as the image
is encoded by binary.
Thank all
04-27-2009 02:39 AM
Hi shingy,
you should store it temporary on your harddisk. You can load it from there with the "normal" Picture functions.
Which format has your image?
Mike
04-27-2009 03:29 AM
hi mike ,
in fact , i want to import the image to the labview from the SQL database , but the image datatype is varbinary( Max ) ,
i don;t know how i can show this image and show it in the labview after i use database connectivity toolset to get the information of this image
my image is jpg.
is there any demo to do this ?
Thanks
04-27-2009 03:33 AM
Hi shingy,
you can read image from the database and store it to a file. You should be able to read the data like all other entries from the database. Store it as *.jpg and load it with "read jpg file.vi".
Mike