Facility Control

 View Only
  • 1.  Edit existing Rosstalk command in Dashboard

    Posted 12-22-2020 18:13

    Hi,

    Now I know this is probably a simple task, but without knowing the correct terminology, it is hard to find the information.

    I have a simple buttons in Dashboard that will trigger a selected clip in Xpression, and then key it on in Carbonite.

    The issue is sometimes I only need to run one clip, sometimes I need to run 2 or 3 back to back. But if I select my next preferred clip (it will be a random choice, not a select sequence), it of course turns my key off. 

    I want to be able to select a second clip from Xpression but leave the key on, so my two selected clips will be on air back to back, rather than it turning the key off because it was already on with the first selection.

    It is a case of, and excuse my wording as this is where I don't know scripting, if 1 was key on, 2 is key off or something like that.

    So I need each button to turn the key on if used individually, but to remain on if I select a second clip button.

    How do I go about editing an existing simple ross talk command to achieve this?

    TIA



  • 2.  RE: Edit existing Rosstalk command in Dashboard

    Posted 12-30-2020 11:13

    I've been poking around to try to figure this out for you for the past couple hours. Came up with a full-on custompanel if you want to try it out. It's somewhat complicated, but from what I gathered in your post, I set it up as follows:

    1. Receives number of clips in the back-to-back sequence by a few toggle buttons with additional tasks attached to each for aesthetics.

    2. Updates the "ClipCount" parameter that's used later on.

    3. Receives the take ID(s) and clip duration(s) for each clip in text fields below the fire button. You could probably set this up to automatically receive clip durations from XPression using DataLinq, but I don't currently have a dongle and am at home so I can't test that. 

    4. Waits for you to press the fire button. Fire button is described below.

    a. API calls to Carbonite over IP (set in the setup tab) to perform a keyer auto-trans on.

    b. Fires the first take-item using a Cue Take command over API to XPression via the IP address set in the setup tab. Then it sends a debug message with just the take ID so that you can see what's happening if something goes wrong. Lastly, it "swaps" the cued item to air over API.

    c. Pauses for the first clip's duration (set in step 3).

    d. Checks the ClipCount to see if it has permission to run the next tasks. If the number of clips is 2 or more, it fires the second take ID and does the same debug message and swap as in 4b.

    e. Checks the ClipCount to see if it needs to pause here for the second clip. If so, it pauses for the second clip duration; if not, it pauses for 0 milliseconds and continues.

    f. Checks ClipCount to see if it has permission to fire the last TakeItem. If number of clips is 3 or more, it fires the third take ID and does the debug message and swap.

    g. Checks ClipCount to see if it needs to pause here for the third clip. If yes, it pauses for the third clip duration. If not, it pauses for 0 milliseconds and continues.

    h. Performs a Carbonite keyer auto-trans off using the setup settings over IP/API call. 

     

    Notes: I could've had it set the pauses to 0 when there was only 1 clip selected, but that would be a pain to have to re-add the clip pauses whenever you need more than 1 at a time. Also, pauses are required to be in milliseconds.

     

    Lastly, I really wasn't sure how exactly you're operating this based on your post, so if this is all irrelevant to what you're trying to do, let us know and I may still be able to help. Either way, you should be able to see how I built it out to check certain parameters before firing and to try to have all the buttons & parameters talk to each other as much as possible.

    Here's the custompanel on my Google Drive: https://drive.google.com/file/d/1MpePn9m7Rhf5oSJZTX_pxjHZrd_WQzUx/view?usp=sharing

    Hope this helps!


    #DashBoard


  • 3.  RE: Edit existing Rosstalk command in Dashboard

    Posted 12-30-2020 11:17

    Something else I should've mentioned: I'm not sure how extensively built-out the rest of your panel is, so if it's pretty bare, you could just move your existing panel info into the new one if you like it, otherwise you'd have to bring in all of the parameters from mine and then bring over the buttons & tasks. Last option is to rebuild it in order to familiarize yourself with it.

     

    PS I made this panel in DashBoard 9.1.4, so if you have any corruption issues when trying to use it for the first time, double-check your DB version. I've seen some weird things when transferring panels cross-version in the past.


    #DashBoard