Application Development Guidelines
Starting a Real-Time Application (Process)
You can use the eRTOS application batch file AutoStart.bat to run real-time applications.
Note: Real-time application executables must be located in the Real-time Kernel default search folder. If application executables are not located in the Real-time Kernel default search path, the absolute pathname must be provided.
To run real-time applications:
- Navigate to
<InstallDrive>\MaxRT\eRTOS\
. - Right-click AutoStart.bat and select Edit.
- Add an Run command pointing to the desired application.
- Re-boot the system from a GRUB bootable USB drive or hard drive.
- Select the desired GRUB boot configuration. See GRUB Boot Configurations for more information.
- Upon system boot, the application(s) will run automatically after the Real-time Kernel startup.
- Application output will be displayed on the screen when the program ends.
- Re-boot the system in its Windows Boot Configuration.
- Navigate to
<InstallDrive>\MaxRT\eRTOS\
. - Open the RtLogFile.txt log file to view application output.
Stopping a Real-Time Process (Process)
A process stops when:
- The process calls the ExitProcess function.
- The process generates an exception.
- The eRTOS kernel shuts down.
- A user runs the Kill utility available with eRTOS Runtime.