Progress bar not updated during macro

More
2 years 5 months ago #1439 by bowlingbeeg
Progress bar not updated during macro was created by bowlingbeeg
I tried to add a progress bar that would show the progress through the power on flow since that can take around 20 seconds in my setup.  So at various stages I set a progress variable that the progress component in MyDesigner6 was supposed to be monitoring.  But when I run through the macro that progress meter never updates.  If I just manually change the variable in the dashboard then the progress meter updates so I know it's hooked up correctly.  What I'm not sure about is if that's a limitation of the system or a bug. Is the system single threaded running through the macro so updates to server variables aren't propagated out to the remote until after the macro has finished?

Please Log in to join the conversation.

More
2 years 4 months ago #1491 by bowlingbeeg
Replied by bowlingbeeg on topic Progress bar not updated during macro
Was messing around with this a little more today and I found two ways around this issue. One way is to remove the "SetActiveRoom" command from the macro that's updating the progress bar. The second is to take out some of the variable substitution in the progress bar variable. For example my variable in the progress bar was {{{{activeroom_{{clientname}}}}_progress_bar}}. But if I use {{theater_progress_bar}} that works just fine, even though {{activeroom_{{clientname}}}} == theater. Not sure if that's a bug or I'm doing something wrong but at least I found a way around the issue.

Please Log in to join the conversation.

More
2 years 4 months ago #1493 by andrew
Replied by andrew on topic Progress bar not updated during macro
I'd love to see what you end up with for this. Even waiting 5 seconds can seem a long time with nothing apparently happening.

Andrew

Please Log in to join the conversation.

More
2 years 4 months ago #1505 by bowlingbeeg
Replied by bowlingbeeg on topic Progress bar not updated during macro
Here is what I did.  I added these types of calls throughout the different macros that run during the "activation" flow of a source.
Code:
SetVariable|{{activeroom_{{clientname}}}}_poweron_progress~5! . . . SetVariable|{{activeroom_{{clientname}}}}_poweron_progress~25!

The value is the percentage complete and I just made up the percentage complete numbers.  I just wanted to show that things were moving forward so it didn't need to be super accurate.  Then I added the progress bar component to the overlay and set the variable field to, {{{{activeroom_{{clientname}}}}_poweron_progress}}.  But as I mentioned I did have some trouble with that so in the end I just did the substitution manually because I only have one room that I'm using this remote for.  So it ended up being {{theater_poweron_progress}}.

You can see what it looks like in the video below:
 

    PXL_202403...1.TS.mp4

The following user(s) said Thank You: BigShep, Fattykidd

Please Log in to join the conversation.

More
2 years 4 months ago #1509 by andrew
Replied by andrew on topic Progress bar not updated during macro
Yeah that's neat. I'd been thinking about an alternative loading screen that lists the things to be turned on or settings to be made and ticks them off as they happen.

Andrew

Please Log in to join the conversation.

More
2 years 4 months ago #1510 by bowlingbeeg
Replied by bowlingbeeg on topic Progress bar not updated during macro
Yeah, that would be cool.

Please Log in to join the conversation.

Time to create page: 0.212 seconds