Facility Control

 View Only
  • 1.  Creating an element in sequencer.

    Posted 02-07-2019 13:17
    Hi all,

    I would like to know if it is possible to create an element in the sequencer, giving it predefined ID and populating couple of text fields after that.
    (reason - content will be live data feed and i would like to have different query parameters for every element which are not connected to the dashboard xml update)

    Thanks,
    Dimitar


  • 2.  RE: Creating an element in sequencer.

    Posted 02-07-2019 19:57
    I'm a little confused by your question.

    Do you mean you want to create a take item in the XPression sequencer from DashBoard?
    #DashBoard


  • 3.  RE: Creating an element in sequencer.

    Posted 02-08-2019 19:08
    If you are using the Xpression plugin, there is a command that can be used in an XPression context to create a take within the sequencer.

    params.executeCommand("cmds.create_take", {"sceneid": 0}, null);

    You give it a scene ID, and it creates the take based on that scene. But it's a fairly new command, and all the functionality around it has not really been flushed out.

    For instance, you cannot specify a takeID for it. It assigns the next available one.



    You can change what context an abs is pointing to by double clicking on it in PanelBuilder Edit mode, and configuring its "openGear or Xpression Datalinq" source. Click on Configure, choose the "select a Device" radio button, and select your XPression.



    Once the take item is created, you can access it's fields within the XPression context, using the XPression plugin parameters. For example, is the new takeID is 1000, then you can access it's published fields under:

    xprn.publishedfiled.take1000..

    You can also access the information about the sequence item using parameters like:

    xprm.sequenceitem.take1000.name
    xprm.sequenceitem.take1000.sceneid
    xprm.sequenceitem.take1000.state

    and so on.

    This is fairly new functionality, and I don't think anyone has used it for this type of purpose yet.




    #DashBoard