01-17-2019 01:18 PM
Hello, using a(n) NI-9149 and I was curious if it is at all possible to write to the EEPROM programmatically via FPGA? I am trying to maintain a "known last state" of my DO in case the cRIO goes through a power cycle during operation. My googling as not turned up anything useful so I'm assuming the answer is "no." Plus, from what I'm learning from the Memory capabilities, those apparently reset every time the cRIO resets. Thoughts, advice... greatly appreciated.
01-18-2019 07:08 AM
I think of the EEPROM as being small and not to be touched in normal operation.
It sounds like you want to store the current state so that on reboot you can recover to some extent.
I think the memories only reset if you call Reset on the FPGA. Else they should still be in there preshutdown state. I seem to remember worrying about memories holding data from previous executions, so I made sure when my memories reset I wrote 0's to all of them. I guess you could simply not do this and access the previous iterations memory state.
You could try it out in a simple case and report back!