12-13-2022 07:56 AM
Hi,
I may be starting a new project that uses a CompactRIO to acquire and postprocess data. To send the acquired data to a Cloud, they are planning to use an external single board computer (ASUS Tinker 2S) to increase cybersecuirty.
To pass the acquired data from cRIO the idea is to keep files on the cRIO folder and having acces to that folder through SSH, read the files. Thus, on the external single board I can implement a simple code, which will make that connection and read the particular path/file using WebDAV or FTP.
My question is, is it possible to use the external single board as something similar to a PC, in such a way that it can be able to reset cRIO or start it in case something goes wrong?
Thank you for your time!
12-14-2022 01:01 AM
Hello,
How about Linux SSH command 'reboot" ?
Attached file is the 'Old' example file to reboot cRIO target, using TCP message.
Regards,
12-14-2022 03:07 AM
Thank you. I'll look into it.
Also, do you know if there is a similar approach to start the cRIO?
12-14-2022 04:51 AM
How do you mean "start". It starts when it is powered up and if a RT app is set to start at that point, it will be started. There is no good way to setup a specific app to startup outside of the NI project.
12-14-2022 05:02 AM
I meant to power up cRIO. To be more precise, I am going to add a monitoring system health process in RT and FPGA so both systems will reboot automatically in case of necessity. But I don't know if there might be any situation in which cRIO will stop working completely. If so, I guess that I would need to power up again (RT app will be set to start automatically).
Main main concern is that the application needs to run 3 months without any possiblity of accessing physically to the cRIO.
12-14-2022
05:37 AM
- last edited on
03-06-2025
03:35 PM
by
Content Cleaner
Consider reading about watchdog functionality. Almost 100% safe when doing it in the cRIO with an external relay controlled over a digital output. For true 100% safety you need either an intelligent C series module such as the https://www.ni.com/nl-nl/shop/hardware/products/c-series-functional-safety-module.html or an external watchdog relay that you can setup to generate a power cycle for the power of the cRIO, if your cRIO doesn't manage to whack its reset input through a digital output within the configured time.