Jump to content
AVIC411.com

Help needed - Conditional switching GPS on/off script


Recommended Posts

I want to switch unit to another nav program while EZrider is working.

To free the GPS sensor port I used command GPS_STOP.

Here is example of script to start this program

 

<script sc_run_GARMIN>

GPS_STOP

run 'START_APPLICATION "\My Flash Disk\GARMIN\GARMIN.exe" ""'

GPS_START

PREVSTATE

 

< /script>

 

The problem is GPS_START is executed direcly after run 'START_APPLICATION... command and GPS port is busy - Garmin cannot use it.

Maybe someone can help me to find a way to start GPS sensor on exit of Garmin program.

Some kind of condicional command or script.

Of course I can do this manually, but it is not fun :)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...