Host Engineering Forum
General Category => General Discussion => Topic started by: OrionHE on July 08, 2019, 11:36:38 AM
-
Every day a PLC sends out reports via email for the days activities. Most of the reports appear well and good. But one is stupid. If I check the file in the RAMdisk, it opens and reads as expected. But when it gets send at the end of the day in an email, the .csv file literally says "Error opening attachment" in the first cell, and that's it. The data is gone and the file has a message in it that I didn't write through the PLC.
What might cause this?
-
The email driver failed while opening the file. Any time there is an error with the file system, it stuffs the error message into the body of the attachment. I'd have to dig a little deeper to know more, but perhaps the file is open for writing elsewhere or has been deleted.
-
Thanks. I'll try better interlocking.