Page 1 of 1

switching scenes in a panel

Posted: Sat 1. Sep 2018, 21:22
by Ino
I want to switch between more than 2 scenes in a panel with a virtual variable, but no succes. With 2 scenes it works fine. How can I switch between more than 2 scenes?

Re: switching scenes in a panel

Posted: Mon 3. Sep 2018, 09:53
by M.Maidhof
Hi,

which version of PCAN-Explorer 5 do you use? Can you please provide more details about you used panel, symbol file etc. With the given information we are unable to help you.

regards

Michael

Re: switching scenes in a panel

Posted: Mon 3. Sep 2018, 12:24
by Ino
Hello Michael,

Thanks for the fast reply!

I am using PCAN explorer ver. 5.0.4.641 and instruments panel ver. 3.0.4.321. For the symbol editor I am using format 5.0.

The major problem is that when i make a virtual variable to switch between different scenes only the value 0 and 1 are accepted as scene switch command/value. I created the switching value by a button with a push and release value (in this case equal) in a virtual variable (decimal value).

maybe you have an example of the scene switching function. The alternative I am trying now is to make a "virtual" CAN message with the value for the switching value.

If you need more information pls let me know.

Kind regards and thanks in advantage,

Ino

Re: switching scenes in a panel

Posted: Mon 3. Sep 2018, 13:47
by M.Maidhof
Hi,

as a first step, please download the latest version 5.4 from the startpage (news section) of PCAN-Explorer and install it. Next please don`t use a bit variable for switching the scenes. Use an unsigned variable, to be able to have more than 2 possibilities.

regards

Michael.

Re: switching scenes in a panel

Posted: Tue 4. Sep 2018, 18:37
by Ino
Michae,

Thanks its working now with the newe version of PCAN!