Solution
In general, no matter where your application is running (PC, cRIO controller, PXI controller, sbRIO, etc) the OS is typically not designed to protect data being written/read at power failure. Even if you do not suffer any data loss for a specific power failure event, you shouldn't rely on that will still happen in further events. To prevent this kind of issues, we recommend you to backup your systems with UPS.