Loading ...
Sorry, an error occurred while loading the content.

8615Re: Script editor

Expand Messages
  • radionerd1
    Sep 16, 2009
    • 0 Attachment
      Thanks Scott,
      I have the latest fw, but still can't figure how to put "do once" into the script. When I tried macro T" do once"  shows up like this, but doesn't work:
      Alan

      On GPS Fix
       Macro "Do Once"
        Exec "BEACON >NUVI-350 LOCKED ON TARGET"
        End Block
      End Block
      --- In tracker2@yahoogroups.com, Scott Miller <scott@...> wrote:
      >
      > > I have been trying to send a one time beacon when I switch from profile
      > > 1 to 2. The script wiki shows a "do once" command. I Tried "do once"
      >
      > Make sure you've got the latest firmware version loaded. DO ONCE is a
      > new command.
      >
      > > On GPS Fix
      > > Exec "BEACON >NUVI-350 LOCKED ON TARGET"
      > > End Block
      >
      > This should be something like:
      >
      > On GPS Fix
      > Do Once
      > Exec "BEACON >NUVI-350 LOCKED ON TARGET"
      > End Block
      > End Block
      >
      > > On Interrupt
      > > Exec "BEACON >LOST SKY"
      > > End Block
      >
      > I don't think this is what you want. 'On Interrupt' is the IRQ input
      > and has nothing to do with the GPS fix. You could use an 'else' on the
      > 'On GPS Fix'.
      >
      > > If Profile 1
      > > Exec "BEACON >LOCAL MODE WIDE1-1"
      > > End Block
      > > If Profile 2
      > > Exec "BEACON >DX MODE, WIDE1-1,WIDE2-1"
      > > End Block
      >
      > Again, you want 'Do Once' inside each IF block.
      >
      > Scott
      >
    • Show all 10 messages in this topic