02-05-2019 08:39 PM
Hi,
I would like to ask for your help regarding the issue on time output using type cast.
See attached VI for the simulation of the issue:
You may vary the time input to see the issue. I need to know why this happens and what work-around can be done since most of our source code uses array-type cast combinations.
Thanks and Best Regards..
Solved! Go to Solution.
02-05-2019 10:06 PM
The problem is you are using write to text file for what is really binary data. But because you have the option Convert EOL checked, it takes any byte that is 0D and converts it to 0A (carriage return to linefeed.)
Right click on both the Read and Write functions and uncheck "Convert EOL". Then it will work fine. But really it would make sense to use Read and Write Binary file.
02-12-2019 01:53 AM
Thank you very much for this very useful information. I'll definitely use this moving forward.
02-12-2019 02:52 AM
@mem_on wrote:
Thank you very much for this very useful information. I'll definitely use this moving forward.
Then please accept that reply as solution (and give it a kudo).