Facility Control

 View Only
Expand all | Collapse all

AJA Ki Pro control via Dashboard

Joseph Adams

Joseph Adams11-16-2017 00:18

Joseph Adams

Joseph Adams01-24-2018 19:44

  • 1.  AJA Ki Pro control via Dashboard

    Posted 10-05-2014 11:49
    Hey everyone. This is my first post. We just got a Carbonite a few months ago and I'm enjoying experimenting with Dashboard also.

    Has anyone been able to use Dashboard to control/arm a Ki Pro? I wasn't able to determine if it was possible with my research. I haven't found anything concrete, which is leading me to feel like it is not supported at this time.

    Any information you can share would be great.

    Thanks!

    Joseph


  • 2.  RE: AJA Ki Pro control via Dashboard

    Posted 10-06-2014 01:57
    Hi Joseph,

    There is a tutuorial showing how to create a similar panel for a Blackmagic deck:

    http://www.rossvideo.com/control-systems/dashboard/dashboard-u/video-tutorial-304.html

    To do this for the AJA unit you would need to have the protocol from them that their unit supports.

    You would need to contact AJA for that protocol as I do not have it, but, with that information and matching the examples we've posted you should be able to add that control.

    All that being said, the easiest way for someone like yourselves to control the unit from DashBoard would be if AJA were to add support for DashBoard into the ki pro.

    Ross offers all integration information to other companies such as AJA for free. There are no up front costs nor any royalties. You might want to mention to them what you are trying to do.

    We'd love to see what you've created!

    Troy.

    #DashBoard


  • 3.  RE: AJA Ki Pro control via Dashboard

    Posted 10-06-2014 22:39

    It's easy just to use the URLs for the transport controls from the Transport page on the KiPro's web interface. The URLs are of the format:

    http://[kiproaddr]/config?action=set&paramid=eParamID_TransportCommand&value=[command_value]&configid=0

    It took a bit of searching through the javascript to find that, but below is a list of the "command_value" that you can use in the URL above to control the KiPro:

    var eTCPlay = 1;

    var eTCPlayForward = eTCPlay; /* i.e. 1 */

    var eTCPlayReverse = 2;

    var eTCRecord = 3;

    var eTCStop = 4;

    var eTCFastForward = 5;

    var eTCFastReverse = 6;

    var eTCSingleStepForward = 7;

    var eTCSingleStepReverse = 8;

    var eTCNextClip = 9;

    var eTCPrevClip = 10;

    var eTCVarPlay = 11;

    var eTCPreroll = 12;

    var eTCAssembleEdit = 13;

    var eTCCue = 14;

    So, for example, to tell it to play, you can replace "command_value" with '1' as follows:

    http://[kiproaddr]/config?action=set&paramid=eParamID_TransportCommand&value=1&configid=0

    I've tested this and it works perfectly.

    EDIT: Fixed formatting issues.


    #DashBoard


  • 4.  RE: AJA Ki Pro control via Dashboard

    Posted 10-06-2014 22:44
    Thanks Troy and James!

    This list is going to be helpful. I decided this afternoon that I'm going to write a panel similar to the Blackmagic one to execute the commands. I'll share when I am finished in case you would like to use it. I had found some of these URL commands already and started playing around with it, so this list will be handy! I think a set interface panel will help my volunteers run the equipment more reliably.

    Thanks!

    Joseph

    #DashBoard


  • 5.  RE: AJA Ki Pro control via Dashboard

    Posted 10-07-2014 14:35
    I made good progress on my panel last night. For my purposes, I only use my Ki Pro as a recorder - not a playback unit, so I'm not going to bother with writing the playback parts for now.

    The biggest help here was learning that if you go to: http://kiproaddr/descriptors

    You will get a list of all of the available parameters and values.

    What I have is working great - I can set the IP address of the unit, and the video/audio input options, and then set a custom clip name from the panel and trigger the transport mode. Since I am using volunteers to run the equipment, I moved the input video/audio options to the setup panel. I mainly included them for proof of concept, but it's not something I really need.

    Joseph

    #DashBoard


  • 6.  RE: AJA Ki Pro control via Dashboard

    Posted 10-14-2015 00:47
    Joseph

    I'm in the same position and need a KiPro Dashboard controller. Any possibility you could share what you have what is working and I can add the play capabilities to it?

    Thanks

    Jonathan

    #DashBoard


  • 7.  RE: AJA Ki Pro control via Dashboard

    Posted 10-14-2015 15:23
    Jonathan, send me an email and I will send it to you.

    jadams@fellowshipgreenville.org

    Thanks!

    Joseph

    #DashBoard


  • 8.  RE: AJA Ki Pro control via Dashboard

    Posted 06-18-2017 13:57
    Just saw this post and looking at trying to get a dashboard for our ki pros as well. Any chance you could share your build again?
    #DashBoard


  • 9.  RE: AJA Ki Pro control via Dashboard

    Posted 06-19-2017 12:46
    dgreene93, send me an email and I will send it to you.

    jadams@fellowshipgreenville.org

    Thanks!

    Joseph
    #DashBoard


  • 10.  RE: AJA Ki Pro control via Dashboard

    Posted 07-09-2017 10:38
    dgreene93, still waiting on your email if you need me to send this over to you. Thanks!
    #DashBoard


  • 11.  RE: AJA Ki Pro control via Dashboard

    Posted 08-22-2017 15:33
    Is there any documentation from AJA that covers all the commands?
    #DashBoard


  • 12.  RE: AJA Ki Pro control via Dashboard

    Posted 09-20-2017 15:17

    I don't know if anyone is still using my custom panel I wrote awhile back, if if you're interested in a new version, let me know. I wrote this earlier in the week.

    This one polls the KiPro for a list of clips and includes all of the transport commands as well as the current device status. You can enter a new recording custom clip name just as easily but also cue up an existing clip or delete a selected clip. I wrote all of the functions to be non-device specific, so you can use it on multiple KiPro's, if desired. For my purposes, I'm just going to duplicate the widgets, but it could be modified to work based on a radio button or similar list of available KiPro's.



    It's pretty much done but I am still tweaking it.

    Joseph


    #DashBoard


  • 13.  RE: AJA Ki Pro control via Dashboard

    Posted 09-24-2017 23:54

    Here is how my panel is looking right now. You can set the IP of the device as well as some basic input configuration. I figured I'd leave the rest of the config to the browser interface because I personally don't need to change that.



    Full transport control including cueing up clips. You can see percentage of the drive remaining, change slots, etc.



    A label will deliver a message based on what you are trying to do. The panel will update itself based on the current state of the KiPro itself, meaning if someone else is running an instance of the panel or using the device directly, the panel in front of you will update to reflect that state.



    In Data-Lan media state, you can delete clips. I'm working on the ability to hopefully be able to download/upload clips. That would be great!



    I'm still tweaking it but if anyone wants a copy, let me know.

    Joseph


    #DashBoard


  • 14.  RE: AJA Ki Pro control via Dashboard

    Posted 09-28-2017 19:47
    @josephadams I would love a copy! Jeff.bins@gmail.com

    #DashBoard


  • 15.  RE: AJA Ki Pro control via Dashboard

    Posted 09-29-2017 12:30
    I'll send it to you first of next week!
    #DashBoard


  • 16.  RE: AJA Ki Pro control via Dashboard

    Posted 10-01-2017 21:34
    Hey Jeff, I sent you a copy via email. Thanks!
    #DashBoard


  • 17.  RE: AJA Ki Pro control via Dashboard

    Posted 11-15-2017 21:38
    @josephadams Hi Joseph,

    If you wouldn't mind sending us a copy here at TV Warren that would be greatly appreciated! georgemikla@cityofwarren.org

    Thanks!

    George
    #DashBoard


  • 18.  RE: AJA Ki Pro control via Dashboard

    Posted 11-16-2017 00:18
    I just sent it!
    #DashBoard


  • 19.  RE: AJA Ki Pro control via Dashboard

    Posted 11-16-2017 00:21
    Uh oh, it bounced, @georgemikla! Did they fire you and not let you know? :-P
    #DashBoard


  • 20.  RE: AJA Ki Pro control via Dashboard

    Posted 11-19-2017 12:04
    @georgemikla Just following back up - if you want me to send you the panel, send me your correct email address. Thanks!
    #DashBoard


  • 21.  RE: AJA Ki Pro control via Dashboard

    Posted 11-19-2017 17:28
    @josephadams I would love to also get your custom panel.

    I am trying to send a simple play command to the AJA KiPro I have here, How did you do it? I am trying to send a RossTalk command but it isn't working. how did you make it send the command out? When i paste the command into a browser it works but not in dashboard.

    http://10.1.75.1/config?action=set&paramid=eParamID_TransportCommand&value=1&configid=0

    that is the command.
    #DashBoard


  • 22.  RE: AJA Ki Pro control via Dashboard

    Posted 11-19-2017 18:45
    I'm using ogscript.post for most of the functions and ogscript.asyncpost for a few (instead of rosstalk.sendmessage).

    I can send you the panel later today!
    #DashBoard


  • 23.  RE: AJA Ki Pro control via Dashboard

    Posted 11-19-2017 20:49
    I'm using ogscript.post for most of the functions and ogscript.asyncpost for a few (instead of rosstalk.sendmessage).

    I can send you the panel later today!



    Thank you, that helped me soo much. I just have to get my Carbonite to co-operate and fire the RossTalk GPI to dashboard and get it to trigger the play. this one is a head scratcher.
    #DashBoard


  • 24.  RE: AJA Ki Pro control via Dashboard

    Posted 11-19-2017 23:24
    Biggest thing to remember there is that you have to add the Dashboard as an Xpression device and attach it to an input (any input on the Carbonite) in order for the GPI instructions to actually fire. Check your email for the KiPro Panel!
    #DashBoard


  • 25.  RE: AJA Ki Pro control via Dashboard

    Posted 01-24-2018 19:30
    @josephadams This is exactly what I came on here looking for! May I get a copy as well? jerodl@christchapelbc.org
    #DashBoard


  • 26.  RE: AJA Ki Pro control via Dashboard

    Posted 01-24-2018 19:44
    Sure, I'll send it to you!
    #DashBoard


  • 27.  RE: AJA Ki Pro control via Dashboard

    Posted 02-18-2018 17:21
    @josephadams This is just what I was looking for. Can you please send me a copy. djrockwell@stmatthewumc.org.

    Thanks Man
    #DashBoard


  • 28.  RE: AJA Ki Pro control via Dashboard

    Posted 02-22-2018 19:54
    @josephadams I'd like to see what the ogscript.post looks like in your kiPro panel. Thanks nathan.vogel@crossroadschristian.org
    #DashBoard


  • 29.  RE: AJA Ki Pro control via Dashboard

    Posted 02-23-2018 03:39

    @nathan the ogscript.post calls look like this (here's a sample function that gets the transport state of the KiPro):

    function KiPro_GetTransportState(KiPro)
          {
               var address = ogscript.getPrivateString('hosts', KiPro + '.address');
               var KiProURL = '';
               var KiProParameter = '';
               var KiProParameterValue = '';
               
               var status = ''; // what we will get from the KiPro
               var returnStatus = null; // what we return to the calling function
               
               KiProURL = '/config?action=get&paramid=';
               KiProParameter = 'eParamID_TransportState';
               status = ogscript.post('http://' + address + KiProURL + KiProParameter, null);
    
               var parsedJSON = JSON.parse(status);
               returnStatus = parsedJSON.value_name;
               
               return returnStatus;
          }

    I parse the JSON that the KiPro returns to figure out the value needed. Biggest thing to note is that this code does lock up the panel while waiting on the response, but in my case, the response is rather instantenous, so that wasn't really a concern. You could do asyncpost and parse the data in a callback function if you wanted to.

    Hope this helps!

    Joseph


    #DashBoard


  • 30.  RE: AJA Ki Pro control via Dashboard

    Posted 02-23-2018 18:18
    Hey #nathan.
    If you call ogscript.asyncPost and set the second argument (the "data" argument) to null, you'll do an HTTP GET instead of an HTTP Post.

    james
    #DashBoard


  • 31.  RE: AJA Ki Pro control via Dashboard

    Posted 02-23-2018 18:20
    Hey @nathan
    While it is called ogscript.asyncPost, it is actually capable of doing HTTP POST and HTTP GET. If you set the second argument (the "data" argument) to null, it will do an HTTP GET instead of a POST.

    James
    #DashBoard


  • 32.  RE: AJA Ki Pro control via Dashboard

    Posted 05-18-2018 10:30
    @josephadams could you please send me a copy of your panel too please. aaron.donnelly@mediatecgroup.com.au
    thanks
    aaron
    #DashBoard


  • 33.  RE: AJA Ki Pro control via Dashboard

    Posted 06-23-2018 17:35
    @josephadams If you could send me a copy please , this look great ! phil@plandry.net
    #DashBoard


  • 34.  RE: AJA Ki Pro control via Dashboard

    Posted 06-23-2018 17:51
    Self, serve, Phil!

    You can download it yourself, as well as other Dashboard panels I have made available, from my Github repository here: https://github.com/josephdadams/RossDashboardPanels

    And you can read more about how it works here: https://techministry.blog/2018/06/11/controlling-aja-ki-pro-in-ross-dashboard/

    Let me know how it works for you! Thanks!

    Joseph
    #DashBoard