Ensure that you are reading and writing the whole file data. It is possible that you are reading/writing/comparing just one data element from the files. To check this, open the .db files in a text-editor and visually compare to see if all data from your original file is in the copy. To ensure you are copying the entire file, set the Count input of the Read from Binary File.vi to encompass all of your original database file. Use the Get File Size.vi to pass the file size divided by type size (8 for a byte) into this Count input for most accurate results.
This is best displayed in the LabVIEW example Simple Binary File.lvproj from the LabVIEW Example Finder (Help>>Find Examples, search Binary).
Thank you for your feedback.
You changed your response to Not Helpful
You changed your response to Helpful
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.