SY-7000 SDK Manual Creating and Loading the Application File to the Terminal
36
5.3 Running The Application on Terminal Startup
You can set the terminal to run the application on startup.
To do this you need to edit the “applstart.sh” script in the /Home/Terminal directory.
The following commands are used to edit the script:
Step 1.
Enter
vi applstart.sh
to begin editing the script.
Step 2.
To begin editing press the “
i
” key on the keyboard.
Step 3.
Move between the rows to edit, using the keyboard arrows.
Step 1.
When you are finished editing press “
Esc
” to exit editing mode.
Step 2.
Type “
ZZ
” to save and exit.
Edit the script to run the application at startup as follows:
APPL_DIR=
application_path
APPL_NAME=
application_name
APPL_ARGS=
arguments
For example:
APPL_DIR=/home/terminal/bin
APPL_NAME=NE7200
APPL_ARGS=
Summary of Contents for SY-7000 SDK
Page 1: ...SY 7000 SDK Manual SYnel Industries LTD...
Page 10: ...IntroductionSY 7000 SDK Manual 10 1 1 3 2Bottom connector panel...
Page 33: ...Writing the SDK ApplicationSY 7000 SDK Manual 33...
Page 37: ...Creating and Loading the Application File to the TerminalSY 7000 SDK Manual 37...
Page 40: ...SY 7000 SDK Manual 40 Step 6 Use the default settings on this screen and click Next...
Page 42: ...SY 7000 SDK Manual 42 Step 8 Select Direct Connection and click Next...
Page 44: ...SY 7000 SDK Manual 44 Step 10 Click the sign next to Devel to expand it...
Page 45: ...SY 7000 SDK Manual 45 Step 11 Under Devel scroll down to gcc...
Page 46: ...SY 7000 SDK Manual 46 Step 12 Select gcc by clicking on the word Skip once...
Page 48: ...SY 7000 SDK Manual 48 Cygwin will now download and install the packages that you selected...
Page 49: ...SY 7000 SDK Manual 49 Step 14 Leave the options checked and click Finish...
Page 51: ...SY 7000 SDK Manual 51...
Page 52: ...SY 7000 SDK Manual 52...
Page 54: ...SY 7000 SDK Manual 45...