03-07-2026 11:51 AM
Hello all,
I have recently been experimenting with binary read and write to file VIs.
I created a program based on the example VIs available and was able to write some random numbers to a binary file. But when i read from the same file, the numbers are not replicated.
I am not able to figure out why.
I have attached the screenshots. can someone help me understand what the issue could be?
Solved! Go to Solution.
03-07-2026 12:00 PM
We cannot debug pictures. Please attach the VI so we can fully inspect what's connected to where.
What happens if you wire a FALSE to the "prepend" input when writing or, alternatively, read it as a 1D array of DBL?
(Also note that your sequence structure is completely pointless because execution order is already fully determined by dataflow. If you want to read an entire flat binary file, things can be simplified much more)
03-07-2026 12:06 PM
Hi altenbach.
Prepend to False seemed to fix it. Thanks!
03-07-2026 12:29 PM
@Silverfang- wrote:
Prepend to False seemed to fix it. Thanks!
More importantly, make sure to fully understand why that is 😄