PDA

View Full Version : Problem with Enable/Disable groups



Ron
October 13th, 2002, 12:55 PM
To prevent girder from disabling the group after you enabled it you can either use states or use stop the processing

Ron
October 13th, 2002, 12:55 PM
Put a stop processing at the end of the originally enabled group that will prevent girder from executing the freshly enabled group.

The state settings have gone into the menu ( Command->State settings ), F6.

Wykat
October 13th, 2002, 12:55 PM
I've started to update my Girder file to 3.2. The converter(s) somehow messed up the enable/disable groups, but that gave me a chance to look at what I've made so long ago :) .

With some programs I appeared to have had a problem like this;

Group TV
Command: Start teletext (Teletext button)
start Teletext
Enable Group Teletext
Disable Group TV

Group Teletext
Command: End teletext (Teletext button)
stop Teletext
Enable Group TV
Disable Group Teletext

So with 1 button I want to switch between 2 groups. What happened in practice is that the second group (Teletext) was executed immediately after the first group. (So opened and closed at the same time). To resolve this I disabled the 'End teletext' command and enabled it again with a short delay;

Group TV
Command: Start Teletext (Teletext button)
Disable command end teletext
start Teletext
Alarmtimer enable 'end teletext' (normally after 2 seconds via a separate command)
Enable Group Teletext
Disable Group TV

This worked (as proven by my file during several months. However, now with 3.2 I'm having the same problems going back :cry: (so end Teletext). Maybe Girder has become to quick, I don't know. But maybe there is a simpler way to go around this in stead of using the alarmtimer. Anybody an idea ??

Wykat

Wykat
October 13th, 2002, 12:55 PM
It's more the other way around. I enable a disabled group (so plan to execute the originally enable group only). However the 'fresh' enabled group is executed as well. After I disable the original enabled group the execution in that group stops immediately so I placed it at the end and didn't see any need to use a stop command. Am I wrong there?

With respect to states, where have they gone in 3.2 ?

Wykat

Wykat
October 13th, 2002, 12:55 PM
Maybe a short explanation why I don't use states. My Girder file works like this;


Main
+---------Digital TV
.....................+ Teletext
.....................+ Videorecorder recording
.....................+ Videorecorder playback
.....................+ De-interlacer
.....................+ CAM
...........................+ CAM 1
...........................+ CAM 2
...........................+ CAM Reset
+---------Digital Radio

etc.

So basically it's a state machine with 1 main function, the POWER key. With power I always go back to MAIN. So whatever happens to the application, all applications are closed and I'm back in the main menu (With 7 options available; Digital TV, Digital Radio, MP3 Jukebox, DVD, Divx, Photo album and options)

When I use states, I'm afraid that they will mess up the state machine :oops: .

Wykat