C1 LED's on Ignition

D153, D175, C125, C127, C185 and C187 forum

C1 LED's on Ignition

Postby Anthony on Wed May 06, 2020 1:25 am

What would the best way be to flash the led's on a c1 SLM on power/ign?

I have tried user condition activate/deactivate
Activate - device up time is = to 1s
Deactivate - device up time is = or >5s

With this the LED's won't turn on, I tried adjusting activate to =3s and had the same
Also tried = or > 3s and the LED's turn on but won't turn off
Anthony
 
Posts: 69
Joined: Fri Apr 19, 2019 12:54 am

Re: C1 LED's on Ignition

Postby z0mgchris on Wed May 06, 2020 10:37 am

what about just generate a channel for output using less than or equal to x seconds using User Channels. Then input that into the SLM setup of C127? I dont have access to my c127 or a customer 125 dash right now to test this however.
z0mgchris
 
Posts: 38
Joined: Mon Jun 18, 2018 5:30 pm
Location: Townsville, QLD

Re: C1 LED's on Ignition

Postby adrian on Wed May 06, 2020 2:34 pm

Its not really a good idea to use "Device Up Time" in conditions because it is a 32bit channel and you can get rollover issues when using User Conditions which will cause your lights to come on when you don't expect it.

I have attached an example (in C185 Manager because that's what I had on my desk to test with. Just copy the logic to which device you are using) that does what you want in 2 different ways.

The first way uses 2 timers and a User Condition. One timer for when the light needs to be on and the other to flash. The second method uses just one timer for when the light needs to be on and a User Condition to sort out the flashing.
Attachments
Start Flasher.c185v61
(863.67 KiB) Downloaded 698 times
adrian
MoTeC
 
Posts: 719
Joined: Mon Apr 13, 2015 5:16 pm


Return to Colour displays

Who is online

Users browsing this forum: No registered users and 23 guests