Hi everyone
I have a dashboard panel with 4 timers being used for rugby yellow card sin-bin timing. I have a scene containing a text object that receives the clock information from Dashboard (NOT an internal XPression clock). I am using XPression PRIME Go. The clock comes on via the main scene director, with a pause, followed by a “take offline” event. So, the timer comes on, and I then need the scene director to resume (or play on) once the timer reaches 00:00. I am struggling to get the visual logic to work. I’ve tried String Compare using the clocktimer text object and a string value block. Doesn’t work. I’ve tried various other methods, both using numeric values and string values, and have come up empty every time. I’m running out of time, so if anybody has the secret knowledge, please share?
Here is a screenshot of my visual logic. The String Value is 00:00. Regardless of the clock’s value, I’m getting a boolean of 1 all the time, even when the 2 are different.
Thanks!
Ilana
Hi Ilana
This looks like you are using the XPresssion Visual Logic. You’ll want to post in their community page for that team to see your question and provide you some help.
If you’d like options for how to handle this in DashBoard (for example, have DashBoard’s Visual Logic send a RossTalk message to XPression when the counter is done), here is a quick example that will achieve this:
true
-1145302
rosstalk
params.getValue('myxpression_RossTalkPort', 0)
params.getValue('myxpression_RossTalkExPort', 0)
params.getValue('myxpression_IPAddress', 0)
true
true
XPression
params.setValue('timerdisplay', 0, event.getDisplay());
/! block id=1001,1000,1003,1002 !/
if (params.getValue(‘timerdisplay’, 0) == “00:00”)
{
ogscript.debug(“Taking Graphic Out”);
rosstalk.sendMessage(params.getValue(‘myxpression_IPAddress’, 0), params.getValue(‘myxpression_RossTalkPort’, 0), "SEQO " + 1)
} else {
}
/!!
!!/
/!!61cf8474fbde2b4793bb0fedbfcd1591!!/
ogscript.getTimerManager().getTimer('my-timer').startTimer(false);
ogscript.getTimerManager().getTimer('my-timer').stopTimer(false);
ogscript.getTimerManager().getTimer('my-timer').resetTimer();
The DashBoard Visual Logic script looks like this:
Cheers
James
Hi James.
Thanks for the quick answer. I’d like to build this in Visual Logic in dashboard, but I can’t seem to find the SEQO block. Where is it hiding?
Thanks
Ilana
On the left side of Visual Logic, you need to add an Xpression to your panel - once it is there, you can select the seqo block.