atemOSC icon indicating copy to clipboard operation
atemOSC copied to clipboard

DSK On Air Issue

Open joshjarmin opened this issue 3 years ago • 18 comments

So I'm having an issue where I can turn off the DSK but can not figure out how to get it to turn back on. What am I missing with this command?

It seems that both of these commands turn the DSK On Air button off:

/atem/dsk/1/on-air/0 /atem/dsk/1/on-air/1

Shouldn't 0 turn it off and 1 turn it back on? I was able to get the /atem/dsk/1/on-air/toggle to work but I really need separate control over turning it on and off at different times rather than trying to figure out toggling back and forth. Is there something I missing or doing wrong? Thanks for the help!

joshjarmin avatar Aug 17 '21 14:08 joshjarmin

Please read the documentation in the README. You should be passing true or false Boolean values to turn it on or off, instead of adding /0 and /1 to the address. The fact that it works in one direction is probably just an accident.

SteffeyDev avatar Aug 17 '21 14:08 SteffeyDev

Thanks for the response. I have tried /atem/dsk/1/on-air/true and /atem/dsk/1/on-air/false but they do not seem to work. Is that the correct syntax or is there a different way?

joshjarmin avatar Aug 17 '21 14:08 joshjarmin

I'm not sure how to "passing true or false Boolean values". Sorry, I am rather new at this and still learning. Any help would be greatly appreciated. Thank you!

joshjarmin avatar Aug 17 '21 15:08 joshjarmin

What tool are you using to send the OSC commands? Each tool has a different process for sending values

SteffeyDev avatar Aug 17 '21 15:08 SteffeyDev

I am using OSCulator and ATEMOSC with ProPresenter 7


From: Peter Steffey @.> Sent: Tuesday, August 17, 2021 11:52:43 AM To: SteffeyDev/atemOSC @.> Cc: joshjarmin @.>; Author @.> Subject: Re: [SteffeyDev/atemOSC] DSK On Air Issue (#229)

What tool are you using to send the OSC commands? Each tool has a different process for sending values

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/SteffeyDev/atemOSC/issues/229#issuecomment-900417547, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVHV5RRDYHTLZJH4ZNLWDOTT5KAUXANCNFSM5CJ7ZFNA. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

joshjarmin avatar Aug 17 '21 16:08 joshjarmin

Ok, please review the OSCulator manual, specifically the section on OSC Routing Parameters. https://dl.osculator.net/doc/OSCulator+2.12+Manual.pdf#page9

The goal is to send a single Boolean argument to the address

SteffeyDev avatar Aug 17 '21 16:08 SteffeyDev

I have read through the manual and do not see how to accomplish this command. Any advice you can give would be greatly appreciated. Thank you!

joshjarmin avatar Aug 17 '21 17:08 joshjarmin

Sorry I didn't respond, been busy with work. Did you end up figuring this out?

SteffeyDev avatar Sep 21 '21 00:09 SteffeyDev

I'm still having the same issue. I can toggle the "Key" button on but it goes right back off. I'm using /atem/AtemMini/usk/1/on-air

hpcamp avatar Oct 16 '21 15:10 hpcamp

Sorry I didn't respond, been busy with work. Did you end up figuring this out?

No I am still trying to figure out the correct syntax. Any advice?

joshjarmin avatar Oct 17 '21 12:10 joshjarmin

If you look at the log in atemOSC, what does it say?

SteffeyDev avatar Nov 09 '21 17:11 SteffeyDev

I am having the exact same isue, using qlab to send to command. this one works: /atem/dsk/1/on-air/auto but these dont': /atem/dsk/1/on-air/false /atem/dsk/1/on-air/true

What can i do to switch the key to off?

jochemno avatar Jan 04 '22 12:01 jochemno

ps this is the error: [Error] Incorrect value type for /atem/dsk/1/on-air/false

jochemno avatar Jan 04 '22 13:01 jochemno

You need to use 0 for off and 1 for on. Give that a try...

/atem/dsk/1/on-air 0 /atem/dsk/1/on-air 1

randallpacker avatar Jan 04 '22 13:01 randallpacker

We'll, more formally you should send true and false as I mentioned above...

/atem/dsk/1/on-air true /atem/dsk/1/on-air false

But I think the issue @randallpacker is that they don't know how to set the value in OSCulator.

As far as I can tell, you just need to type true or false into the "Arguments" box in the OSC Route Editor dialog, which you used to enter the address. So Rewrite Address should be "/atem/dsk/1/on-air" and the Arguments should be "true" or "false" depending on what you want. If those arguments don't work, you can also use "0" and "1" integer values as @randallpacker mentioned, which are converted to true and false by atemOSC.

SteffeyDev avatar Jan 04 '22 13:01 SteffeyDev

thx guys for the quick reply, I will try this soon,(not in studio now) what I all ready know is that the 'true / false' option doesn't work. Maybe it is the way Qlab sends the osc message

jochemno avatar Jan 04 '22 13:01 jochemno

@jochemno it looks like you were sending the true/false as part of the address, instead of as an argument. If you are not already familiar, please research OSC message structure so that you can differentiate between the address and the arguments.

SteffeyDev avatar Jan 04 '22 14:01 SteffeyDev

after testing it looks like Qlab can't send the arguments the right way. I solved it with a /toggle command. That did the job. so somehow the ...on-air/ false or 0 did not work at all. Atemosc responded that a wrong argument was sent. So solved somehow...thanks for the help

jochemno avatar Jan 07 '22 14:01 jochemno