07-08-2008 02:12 AM
07-08-2008 03:56 AM
hi there
if you want to read the size of the string you have to enable the "append array or string size" at the write file function. or you do not append the size and simply read all bytes.
in any case you should replace existing files to avoid remaining bytes of larger strings written in prior calls.
See attachment for details.
07-08-2008 04:24 AM
07-08-2008 04:35 AM
i said in my previous post:
"if you want to read the size of the string you have to enable the "append array or string size" at the write file functio
this gives you two options:
1. either you enable "append array or string size" at the write function and read first the number of bytes and then the remaining data
2. or you do not enable "append array or string size" and read all bytes in the file
Your VI is a mixture of both options, and this will not work.
Btw: Check the "type cast" function at the file read. The VIs output string is the "-1" casted to string!
07-08-2008 04:54 AM
07-08-2008 05:38 AM
check that "Cluster to Write string.vi"
what's that doing?
07-08-2008 05:43 AM
07-08-2008 05:54 AM
07-08-2008 04:16 PM
07-22-2008 02:52 AM