08-19-2011 09:27 AM
Actually,
As a Zipped file it is REALLY SMALL!!!
16MB down to 19KB - That is pretty impressive.
Here it is
08-22-2011 10:06 AM
Hi Dom,
I've had a look at your FTP stream file read code and the issue appears to be with the datatype being fed to the Read binary file vi. LabVIEW treats strings as a 32 bit integer datum followed by the string data itself. The 32 bit integer states the length of the string which will follow it and LabVIEW then reads that many elements. This is demonstrated by this article with a couple of examples.
If you wish to read the data back as 8 bit words, this can be achieved by wiring a U8 integer to the data type of the Read binary file vi. You can also programatically determine the number of 8 bit elements in the file by performing a division on the file length by 8 and feeding the quotient into the count input.
Let me know if this helps you out.
Kind Regards,
08-22-2011 11:36 AM
Hi Paul,
I'll try and have a look at this solution tomorrow.
Dom
09-22-2011 12:42 PM
Hi Dominic,
You just copy constant at input of Initialize array(0 is not good-it can came out right when something else wouldnt) and connect it to data type terminal of Read from binary file vi. Of course you must wire -1 to channel count.
You can write cluster of arrays of truly anything, create constant from vire at data terminal on Write to binary file vi an connect it to data type at reading side.
Damir Krevelj