Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSK On Air Issue #229

Closed
joshjarmin opened this issue Aug 17, 2021 · 18 comments
Closed

DSK On Air Issue #229

joshjarmin opened this issue Aug 17, 2021 · 18 comments

Comments

@joshjarmin
Copy link

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!

@SteffeyDev
Copy link
Owner

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.

@joshjarmin
Copy link
Author

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
Copy link
Author

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!

@SteffeyDev
Copy link
Owner

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

@joshjarmin
Copy link
Author

joshjarmin commented Aug 17, 2021 via email

@SteffeyDev
Copy link
Owner

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

@joshjarmin
Copy link
Author

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!

@SteffeyDev
Copy link
Owner

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

@hpcamp
Copy link

hpcamp commented Oct 16, 2021

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

@joshjarmin
Copy link
Author

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?

@SteffeyDev
Copy link
Owner

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

@jochemno
Copy link

jochemno commented Jan 4, 2022

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
Copy link

jochemno commented Jan 4, 2022

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

@randallpacker
Copy link

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

@SteffeyDev
Copy link
Owner

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.

@jochemno
Copy link

jochemno commented Jan 4, 2022

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

@SteffeyDev
Copy link
Owner

@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.

@jochemno
Copy link

jochemno commented Jan 7, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants