Configure an Alarm : TX remained 'On'

More
24 Feb 2013 10:34 - 24 Feb 2013 17:06 #6940 by domcars0
Configure an Alarm : TX remained 'On' was created by domcars0
Here is some config lines you can add to any model.ini to play alert if you let your TX ON, without to move AIL,ELE OR RUD for more than 10mn...

Take care that you have to add this config lines on all your models
if you always want to be warn.

// First a Virt channel to detect AIL/ELE/RUD moves...
[virtchan10]
template=complex
[mixer]
src=AIL
dest=Virt4
offset=-100
usetrim=0
curvetype=deadband
points=50,50
[mixer]
src=ELE
dest=Virt4
usetrim=0
muxtype=add
curvetype=deadband
points=50,50
[mixer]
src=RUD
dest=Virt4
usetrim=0
muxtype=add
curvetype=deadband
points=50,50

// Then a countdown timer that uses the previous virtchannel
// and the ResetSRC feature. Move sticks to reset it
[timer4]
type=countdown
src=!Virt10
resetsrc=Virt10
time=600

Devo 10 (+7e) owner. It's mine, please don't touch it with your big fingers :angry:
Last edit: 24 Feb 2013 17:06 by domcars0.

Please Log in or Create an account to join the conversation.

More
10 Aug 2013 15:51 #12888 by Daryoon
Replied by Daryoon on topic Configure an Alarm : TX remained 'On'
opied pasted into my Devo7e model. And it changed it to a single complex mix.

So I manually entered it...and I don't see it working. The timer stays at 10:00 all the time. I even disable the reset as a test.

I'll have to play with it some more. Let me know if you have any insight.
[virtchan10]
template=complex
[mixer]
src=AIL
dest=Virt10
offset=-100
usetrim=0
curvetype=deadband
points=0,0
[mixer]
src=ELE
dest=Virt10
offset=-100
usetrim=0
muxtype=add
curvetype=deadband
points=0,0
[mixer]
src=RUD
dest=Virt10
offset=-100
usetrim=0
muxtype=add
curvetype=deadband
points=0,0

Timer Current configured without a reset switch:
[timer4]
type=countdown
src=!Virt10
resetsrc=
time=600

Please Log in or Create an account to join the conversation.

More
10 Aug 2013 15:56 - 10 Aug 2013 16:01 #12889 by Daryoon
Replied by Daryoon on topic Configure an Alarm : TX remained 'On'
Ah, got it working.

I had to go into the deadband to change the points there. I was wondering what points=50,50 in the .ini file meant.

Where your code threw me off is you have it configured for [virtchan10], but the mixes you shared were all destined for "dest=Virt4".

That's why when I copy/pasted your code. The Devo rewrites it and nothing seems to work.

Anyways, cheers for sharing. :)
Last edit: 10 Aug 2013 16:01 by Daryoon.

Please Log in or Create an account to join the conversation.

More
11 Aug 2013 16:32 #12911 by domcars0
Replied by domcars0 on topic Configure an Alarm : TX remained 'On'
Hi,
This config is not needed anymore since this feature is now implemented.
You just have ton configure the TX to enable (and set the time) the TX iddle alarm.

Devo 10 (+7e) owner. It's mine, please don't touch it with your big fingers :angry:

Please Log in or Create an account to join the conversation.

Time to create page: 0.031 seconds
Powered by Kunena Forum