I have a system set up with different states for a drive to run. I have all data logging at 60 seconds. I understand that between logs the data is buffered in the modular control. If say the drive changes from Normal Operation state to a Shutdown state between one of the 60 second logs, i want to dump all data in the buffer to file. I have tried using the Logsave function but appears to do nothing. The data logs are still showing data on a 60 second interval. I assumed when Logsave was called it would write to log and show a time stamp when the function was called and the buffer was dumped.
I have also tried to create, open and write to a file upon shutdown, but when i have tried this the system crashes, the CF light flashes rapidly and the CF view in windows explorer shows not responding and i have to do a DUMMY start to get control back.
If anyone can help with this or offer another solution i would be grateful .
Thanks
Nick
I have also tried to create, open and write to a file upon shutdown, but when i have tried this the system crashes, the CF light flashes rapidly and the CF view in windows explorer shows not responding and i have to do a DUMMY start to get control back.
If anyone can help with this or offer another solution i would be grateful .
Thanks
Nick