Come to think of it, otwincfg might not let you set it to just ON or 
OFF.  But you could do it at the command line - you just can't set up 
the switching parameters there.

'Active low' reverses the signal.

Scripting will change the settings in flash, so yes, it'll take 
precedence.  Or rather, it'll replace those settings entirely.  If 
you're in profile 2 and the script executes 'EXEC POWER 2' the profile 2 
power setting will be 2.

Scott

ki6tsf wrote:
>  
> 
> Hi,
> 
> Do you mean this could be done in the Profile 1 and 2 panels?
> I though unchecking the "Enable Power Control" check box would
> turn the power off all the time? Does "Active Low" affect that?
> What value must be typed in in "Delay" for this setting to be equal
> to "EXEC POWER ON"?
> 
> Does scripting have precedence over the settings in the panels?
> I currently have "Enable" checked in both profiles, but I thought
> the script would have precedence.
> 
> Thank you,
> 
> Bernard KI6TSF
> 
> --- In [email protected] <mailto:tracker2%40yahoogroups.com>, 
> Scott Miller <sc...@...> wrote:
>  >
>  > Right. Only you shouldn't have to use scripting for that - the power
>  > control setting itself is specific to each profile.
>  >
>  > Scott
>  >
>  > ki6tsf wrote:
>  > >
>  > >
>  > > --- In [email protected] <mailto:tracker2%40yahoogroups.com> 
> <mailto:tracker2%40yahoogroups.com>,
>  > > Scott Miller <scott@> wrote:
>  > > >
>  > > > You'd use EXEC POWER ON and EXEC POWER 2.
>  > >
>  > > Thanks! It looks like just what I wanted. So I used "Do Once"
>  > > to prevent the memory to wear out when the script loops, assuming
>  > > "Do Once" is reset each time the condition changed, is that correct?
>  > >
>  > > Let me know if there is something wrong with it, I don't want to wear
>  > > out my OT2's flash memory by having the writes done too often.
>  > > I have set a little bit of hysteresis (5km/h gap) in between the two
>  > > profiles conditions in the Profiles panel.
>  > >
>  > > My script looks like:
>  > >
>  > > If Profile 2
>  > > Do Once
>  > > Exec "POWER ON"
>  > > End Block
>  > > Else
>  > > Do Once
>  > > Exec "POWER 2"
>  > > End Block
>  > > End Block
>  > >
>  > > Does it look correct and safe to run for long periods (years)?
>  > >
>  > > Thanks,
>  > >
>  > > Bernard KI6TSF
>  > >
>  > > >
>  > > > Scott
>  > > >
>  > > > ki6tsf wrote:
>  > > > >
>  > > > >
>  > > > > Hello,
>  > > > >
>  > > > > I don't remember if this has been discussed already.
>  > > > > Is it possible to control the power FET from scripting and how?
>  > > > > I would like to have the radio powered on while in profile2 
> (moving)
>  > > > > and off except during packet transmission while in progile1 
> (stopped)
>  > > > >
>  > > > > if profile2: turn on power
>  > > > > if profile1: turn off power but leave "enable" and "delay=2"
>  > > selected in
>  > > > > the main config panel
>  > > > >
>  > > > > I could not see an obvious way to control power in the scripts.
>  > > > >
>  > > > > Thank you,
>  > > > >
>  > > > > Bernard KI6TSF
>  > > > >
>  > > > >
>  > > >
>  > >
>  > >
>  >
> 
> 



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/tracker2/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/tracker2/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to