anusuya Posted September 18, 2006 Report Share Posted September 18, 2006 When 1D array of strings is appended to a binary file using set File position. I am unable to read binary file data. reply if you have solution to read the binary file Thanks for the solution Quote Link to comment
Chris Davis Posted September 18, 2006 Report Share Posted September 18, 2006 When 1D array of strings is appended to a binary file using set File position. I am unable to read binary file data. reply if you have solution to read the binary file Thanks for the solution Perhaps you could post some example code to let us see what you are doing? You problem description is not very descriptive (no pun intended). Quote Link to comment
Rolf Kalbermatter Posted September 27, 2006 Report Share Posted September 27, 2006 When 1D array of strings is appended to a binary file using set File position. I am unable to read binary file data. reply if you have solution to read the binary file Thanks for the solution This does work but probably not as you would expect. LabVIEW prepends information to variable sized binary data such as arrays that tell it how many elements follow. So if you read back your array you would have to read back two arrays now. The first read would read the orignal array written to the file and the next read will read the appended array. This is logical and the only way to make this work since binary means just really that, and not some metaformat that would handle such concatenations and other hairy operations transparently. Rolf Kalbermatter Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.