LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading image Datatype from SQL Server into Labview

Hi people...
 
I have got a problem regarding reading (Image) Datatype into Labview..
 
Previously, I have Connected the TCP Read.vi's Data Output terminal to the write database (Insert data) terminal. I used this method to write Binary Data into the database. I used "Image" as the datatype....
 
But when i tried to read back the saved data from the database, I got "????????" this displayed  instead of for example (@Tgw283) .The is the binary data that was written to the database previously..
 
please help....
thanks.......
 
 
terence......
 
0 Kudos
Message 1 of 2
(3,015 Views)
Terra_X,
The output from the TCP Read.vi is a string data type. So the information you are writing to the database is in string format.
 
Are you type casting anywhere from your TCP Read.vi to your write database.vi? Are you trying to type cast when you read the data back from your database? Is the data from your TCP read.vi able to be turned into a picture in the first place? What happens if you try to write a simple data format to a database? Can you read it back?
 
Post to let us know what you find.
 
 
Best Regards,
 
Chris C
Applications Engineering
National Instruments
0 Kudos
Message 2 of 2
(3,003 Views)