Pop up menu when change in setting detected

Discussion on the use of Display creator software for MoTeC Colour displays

Pop up menu when change in setting detected

Postby BFGracing on Fri Mar 22, 2024 9:47 pm

Hello

Im struggling in my overlay page setup.

I have channel for example:

Boost with values from 1 to 8 on channel Driver Rotary Switch 3
config.JPG
config.JPG (47.35 KiB) Viewed 4429 times


I want to create pop up message when value is changed to new one like:

Boost 1,4
config2.JPG
config2.JPG (65.17 KiB) Viewed 4429 times


Could someone help me with it?
BFGracing
 
Posts: 6
Joined: Tue Mar 30, 2021 4:54 am

Re: Pop up menu when change in setting detected

Postby Anthony on Mon Mar 25, 2024 3:23 am

What's the current behaviour?
Have you checked Dash Manager monitor channels to ensure the boost change channel is being updated when you turn the switch?
Anthony
 
Posts: 69
Joined: Fri Apr 19, 2019 12:54 am

Re: Pop up menu when change in setting detected

Postby Stephen Dean on Mon Mar 25, 2024 8:43 am

Hi,

Can you post your Dash and DC configs?
Stephen Dean
MoTeC Research Centre Melbourne, Australia
User avatar
Stephen Dean
Site Admin
 
Posts: 1721
Joined: Tue Dec 02, 2014 10:29 am
Location: Melbourne

Re: Pop up menu when change in setting detected

Postby SOReilly on Mon Mar 25, 2024 9:52 am

Hello,

To achieve this you need a condition which is true after the channel value has changed.

The Global Conditions in DC don't have a 'changed by' operator but you can achieve this by using a delay filter. 1000ms seems suitable for the delay time.
delay channel.png
delay channel.png (74.81 KiB) Viewed 4409 times


You can reference the source channel and the delay channel in a Global Condition, the global condition will be true when the source channel and delayed channel are NOT the same, I set a result delay here so the overlay will remain active for 2 seconds after the origin channel and delay channel are equal.
overlay condition.png
overlay condition.png (68.6 KiB) Viewed 4409 times


Once you have this condition you can configure it as the switch channel for an overlay.

I have attached an example DC project with this all configured for you to take a look at.
Attachments
change condition delay test.dcproj
(34.97 KiB) Downloaded 211 times
SOReilly
MoTeC
 
Posts: 88
Joined: Wed May 04, 2022 12:28 pm
Location: Melbourne


Return to Display Creator

Who is online

Users browsing this forum: No registered users and 2 guests