andybryant9
January 4th, 2003, 10:34 AM
Hi guys,
I'm having some reliability problems with triggering events from Lua.
I've got a multigroup called Watch terrestial that runs a couple of commands (setting the lights, selecting the correct i/p on the amp) then it tries to determine if we are in TV or AV1 mode (from a girder variable).
if (TV=="AV") then
TriggerEvent("TV_AV",18);
TV="TV";
end
TV_AV corresponds to a standard UIRT2 output command.
If I execute TV_AV directly, it always works.
When I execute the multigroup, the TV_AV event seems to get triggered, but the UIRT doesn't always manage to get the command out.
I've just spotted an error message in girder... I get this sometimes when it isn't working.
"ERR No ACK from UIRT."
Any suggestions on how to debug this?
Is there a way to send a IR signal out directly from Lua, rather than having to trigger it as an event?
Cheers, Andy.
Girder 3.2.6b, UIRT plugin V2.0
I'm having some reliability problems with triggering events from Lua.
I've got a multigroup called Watch terrestial that runs a couple of commands (setting the lights, selecting the correct i/p on the amp) then it tries to determine if we are in TV or AV1 mode (from a girder variable).
if (TV=="AV") then
TriggerEvent("TV_AV",18);
TV="TV";
end
TV_AV corresponds to a standard UIRT2 output command.
If I execute TV_AV directly, it always works.
When I execute the multigroup, the TV_AV event seems to get triggered, but the UIRT doesn't always manage to get the command out.
I've just spotted an error message in girder... I get this sometimes when it isn't working.
"ERR No ACK from UIRT."
Any suggestions on how to debug this?
Is there a way to send a IR signal out directly from Lua, rather than having to trigger it as an event?
Cheers, Andy.
Girder 3.2.6b, UIRT plugin V2.0