From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
03-11-2007 12:17 PM
03-11-2007 12:49 PM
03-12-2007 06:37 AM
03-12-2007 12:16 PM
03-13-2007 06:10 AM
03-15-2007 06:43 AM
03-15-2007 09:42 AM
Please read my answer again. I fully explain the reason.
Your LabVIEW program does not write these strange characters, they already exist in the file!
Solutions (pick one):
03-19-2007 06:53 AM
03-20-2007 12:02 PM
Hello Sumi,
I took a quick look at your code and noticed that you are closing your file inside the while loop. This is preventing you from writing multiple points into one file. I believe that if you move the close file VI outside of the while loop that you will be able to write multiple points into this same file.
An easy way to record only some values into a file is by using the iteration counter terminal included in the while loop. You can choose to record every fifth iteration by checking if the iteration terminal is divisible by 5 and then only writing to file when the remainder is zero.
Good luck!
Janell R | Applications Engineer
03-20-2007 08:58 PM