Hi David,
Not sure if you saw this post where I included a couple of links to resources about file and ftp comm handles. I’m guessing you’re using a PAC? If so, the built-in file system (accessible via FTP) can be written to using that “file:” comm handle I mentioned.
I’m curious, though, why do you want to store this information to a file (vs. perhaps a persistent table)? I’m guessing you’ll upload it to a PC later? Will it include more information, like maybe about what happened before that digital point changed, meaning you had to shut down? Will the PAC this is running on be part of the system that’s shut down? If so, and the file has not been stored to flash, it will disappear.
Can you tell us more so we can ponder many options and the pros/cons? Sounds like an interesting problem!
Thanks,
-OptoMary