User Tools

Site Tools


run

This is an old revision of the document!


Running the Delta Application

Usually you want run the application upon startup of the board after you applied power. For this purpose you have to copy the script start.sh from the bbblue-scripts folder of https://github.com/eeduro/eeduro-scripts to your target:

scp ./bbblue-scripts/start.sh debian@192.168.7.2:/opt/eeros/bin

Make sure that it's executable on the target. ssh into the target and run:

debian@beaglebone:$ sudo chmod +x /opt/eeros/bin/start.sh 

In the /etc/rc.local file on your target add the following line:

sudo screen -dmS delta /opt/eeros/bin/start.sh

This script will start the Delta application as soon as the board is powered up and the operating system finished its bootup procedure. If the Delta application terminates the Beaglebone Blue will shutdown. You can terminate the application as described in Program Execution and User Interface.

:!: Please note that upon termination of the program the BeagleBoneBlue will shutdown and you will loose your ssh connection.

Get Output of Loggers

The Delta application periodically logs various state information. To see this output the application was started in a detached screen. To see the log output from the application just reattach to this screen session. First connect to your target with

$ ssh debian@192.168.7.2

then reattach with

debian@beaglebone:$ sudo screen -r delta

You could also terminate the application by pressing CTRL-C.

:!: Please note that upon termination of the program the BeagleBoneBlue will shutdown and you will loose your ssh connection.


Next: Write Your Own Application

run.1579859406.txt.gz · Last modified: 2020/01/24 10:50 by graf