|
Re: Writing a logger for cRIO - flash memory and wear leveling
I think your producer consumer model is the right approach reguardless of the media you are writing to. How often do you erase the data and write new data? Maximizing your passages before writing may be beneficial, but I would have to check the documentation first. The API may already be doing this, as well as wear leveling.
Typically in a professional environment, there would be too much data to log on the cRIO anyways, and we would be sending that data back to a computer. (E.G. via the driver station.)
If you are really worried about storing log data you course try writing it to a HDD or I an USB flash drive on the driver station.
Please excuse any typos and mistakes, this was posted via my phone.
__________________
Mike B
|