OSC triggering an ion

440 views
Skip to first unread message

Brendan Aanes

unread,
Oct 9, 2017, 5:25:18 PM10/9/17
to ql...@googlegroups.com
Apologies if this has been discussed before. We are triggering an Ion via OSC, using the /eos/[cue list]/[cue number]/fire command. However, whenever a command is received it clears anything typed on the ion command line, which is causing problems for the LD. There are cues firing in multiple lists, but it seems to clear the command line regardless.

ETC has suggested using the syntax /eos/user/61/[cue list]/[cue number]/fire so that the OSC cues are taken by a background user, however the Qlab side of this show is maybe 1000 cues deep and has already been programmed. So it’s a big job to update.

I’m curious if anyone has run into this issue and if there are any workarounds.

luckydave

unread,
Oct 9, 2017, 5:54:00 PM10/9/17
to ql...@googlegroups.com
Here's a down and dirty script. It assumes you have selected your Network cues, and you're just changing the preface in accurately-formatted commands. In other words, I feel confident it'll work for you, but there's very little protection against errors.

tell application id "com.figure53.qlab.4" to tell front workspace

-- /eos/[cue list]/[cue number]/fire

-- /eos/user/61/[cue list]/[cue number]/fire

set currentTIDs to AppleScript's text item delimiters

set AppleScript's text item delimiters to {"/"}

set theCues to (selected as list)

repeat with eachCue in theCues

if q type of eachCue is "Network" then

set currentOSC to custom message of eachCue

set newCommand to "/eos/user/61/" & (text item 2 of currentOSC) & "/" & (text item 3 of currentOSC) & "/" & (text item 4 of currentOSC) & "/" & "fire"

set custom message of eachCue to newCommand

end if

end repeat

set AppleScript's text item delimiters to currentTIDs

end tell



--
luckydave

Brendan Aanes

unread,
Oct 9, 2017, 7:11:05 PM10/9/17
to ql...@googlegroups.com
Thanks luckydave! Figure53 support 1, ETC support 0. You amaze me.

I modified the syntax slightly to get it work for me (I inaccurately stated the eos syntax I’d been using, it should have been /eos/cue/[list]/[number]/fire) - and I've posted below for posterity. Otherwise works great.

For anyone else watching, it does appear from talking to ETC that clearing the console command prompt when OSC triggers a cue is a known issue on the Ion, and hopefully ETC updates their documentation to mention this and include the syntax that works better.



tell application id "com.figure53.qlab.4" to tell front workspace
-- /eos/cue/[cue list]/[cue number]/fire
-- /eos/user/61/[cue list]/[cue number]/fire
set currentTIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to {"/"}
set theCues to (selected as list)
repeat with eachCue in theCues
if q type of eachCue is "Network" then
set currentOSC to custom message of eachCue
set newCommand to "/eos/user/61/" & (text item 3 of currentOSC) & "/" & (text item 4 of currentOSC) & "/" & (text item 5 of currentOSC) & "/" & "fire"
set custom message of eachCue to newCommand
end if
end repeat
set AppleScript's text item delimiters to currentTIDs
end tell
On Oct 9, 2017, at 4:53 PM, luckydave <luck...@figure53.com> wrote:

Here's a down and dirty script. It assumes you have selected your Network cues, and you're just changing the preface in accurately-formatted commands. In other words, I feel confident it'll work for you, but there's very little protection against errors.

tell application id "com.figure53.qlab.4" to tell front workspace


-- /eos/[cue list]/[cue number]/fire
-- /eos/user/61/[cue list]/[cue number]/fire


set currentTIDs to AppleScript's text item delimiters
set AppleScript's text item delimiters to {"/"}


set theCues to (selected as list)
repeat with eachCue in theCues
if q type of eachCue is "Network" then
set currentOSC to custom message of eachCue
set newCommand to "/eos/user/61/" & (text item 2 of currentOSC) & "/" & (text item 3 ofcurrentOSC) & "/" & (text item 4 of currentOSC) & "/" & "fire"
set custom message of eachCue to newCommand
end if
end repeat


set AppleScript's text item delimiters to currentTIDs


end tell


--
luckydave

On October 9, 2017 at 2:25:16 PM, Brendan Aanes (baa...@gmail.com) wrote:

Apologies if this has been discussed before. We are triggering an Ion via OSC, using the /eos/[cue list]/[cue number]/fire command. However, whenever a command is received it clears anything typed on the ion command line, which is causing problems for the LD. There are cues firing in multiple lists, but it seems to clear the command line regardless. 

ETC has suggested using the syntax /eos/user/61/[cue list]/[cue number]/fire so that the OSC cues are taken by a background user, however the Qlab side of this show is maybe 1000 cues deep and has already been programmed. So it’s a big job to update. 

-- 
Contact support anytime: sup...@figure53.com
Follow Figure 53 on Twitter: https://twitter.com/Figure53
User Group Code of Conduct: https://figure53.com/help/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qlab/CANrzNvyJ%2Bs6RE%2Bk3J2kHosc8foRYWJkNpLNfsxkmj0rmX4R5pQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Anthony Sutton

unread,
Oct 9, 2017, 10:08:18 PM10/9/17
to QLab
ETC Makes a program Called OSCrouter. It's mostly used for translating outgoing messages from eos that are automatically sent on cue trigger (like MSC) to qlab messages. I don't see why it wouldn't work the other way around.

Alexander (Mailing List) Taylor

unread,
Oct 10, 2017, 9:09:59 AM10/10/17
to ql...@googlegroups.com
I've used OSCrouter extensively and it will work in this case.  I even have it so pressing the macro buttons can trigger QLab without any programming on the EOS side.

Alexander


-- 
Contact support anytime: sup...@figure53.com
Follow Figure 53 on Twitter: https://twitter.com/Figure53
User Group Code of Conduct: https://figure53.com/help/code-of-conduct/
--- 
You received this message because you are subscribed to the Google Groups "QLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qlab+uns...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

The Right-To-Know Law provides that most e-mail communications to or from School District employees regarding the business of the School District are government records available to the public upon request. Therefore, this e-mail communication may be subject to public disclosure.

Allan

unread,
Oct 11, 2017, 6:50:46 PM10/11/17
to QLab
HI Brendan,

Further info for all users, the command line clearing on external OSC trigger is not just an ION issue, it's an issues across the entire EOS platform (EOS GIO ION). Using a different user number (we use user/5) also generates a log entry in the EOS logs as a different user.  This makes for easier triggering diagnostics.

Cheers

Allan

Senior Production Technician
Melbourne Theatre Company
Reply all
Reply to author
Forward
0 new messages