Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: RTT startup routine

RTT startup routine 4 years 4 months ago #10442

  • brew
  • brew's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 108
  • Karma: 0
Hello All,

I have a question.

Where is the "startup routine" for proview on the RTT setup?

I looked in "startup programs" in Ubuntu 18.04, and did not see any reference to "proview" startup

The reason i ask is : When i turn on the RTT computer , Proview boots up. But it seems to boot up before the arduinos are "activated", so i get errors on the RTT proview.
so i manually have to open a terminal,
and type "pwr kill"
then "pwr start"

Then proview reads the arduinos correctly

If i can just put a DELAY of say 30 seconds on the proview startup routine, then I would not have to do this " kill " then "start" routine manually

Thanks Folks!

bill
The administrator has disabled public write access.

RTT startup routine 4 years 4 months ago #10443

Hello Brew,

Take a look at the following topic: www.proview.se/v3/index.php/forum/3-help-forum/5910-autostart

I think it should be possible to edit the startup file in /etc/init.d and add a startup delay. This can be done with the 'sleep' command found in Linux.

Kind regards,

Ricardo Farina
Last Edit: 4 years 4 months ago by ricardofarina96.
The administrator has disabled public write access.
The following user(s) said Thank You: brew

RTT startup routine 4 years 1 month ago #10531

  • brew
  • brew's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 108
  • Karma: 0
Thanks much!

i put a sleep 15 command into the
etc/init.d/pwr file,

like this
====
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
wrapper="/tmp/rt_ini_wrapper"
killer="/tmp/pwr_killer"


sleep 15

. /etc/pwrp_profile
=====

worked great!

also,
i delayed the opening of the rt_xtt file
in startup applications
by putting in this command

sh -c "sleep 30; rt_xtt -q op"

which delays rt_xtt for 30 secs.

Works like a champ!
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 7.650 seconds