Greetings Ole A,
You can accomplish this with some fairly simple scripting.
Here's an example that shows a timer triggering one Ross Talk command if the timer exceeds 10s, and another Ross Talk command if it is reset.
Here is the code for the OGL ( .grid) file:
And here is the code for tha parameters (.xml) file:
params.setValue(0x2, 0, event.getDisplay());
//if the value is greater than 10000ms (10 seconds)
if (event.getCurrentValue() >= 10000)
{
//if we aren't are already in 'extra time'
if (params.getValue(0x03, 0) != 1)
{
//Set the 'extra time' parameter to 'on'
params.setValue(0x03, 0, 1);
//Send RossTalk command to turn on Sequence 1, Layer 2
rosstalk.sendMessage('localhost', 7788, 'SEQI 1:2');
}
}
else
{
//if we are still in 'extra time'
if (params.getValue(0x03, 0) != 1)
{
//Set the 'extra time' parameter to 'off'
params.setValue(0x03, 0, 1);
//Send RossTalk command to turn on Sequence 1, Layer 1
rosstalk.sendMessage('localhost', 7788, 'SEQI 1:1');
}
}
And here is the code for tha parameters (.xml) file:
EXTRA TIME
Good luck!
John
#DashBoard