Graphics

 View Only
  • 1.  Trigger GPI through Scene Director or Script

    Posted 09-04-2018 13:47
    Is there a way to trigger a GPI command when a scene is taken online and taken offline? I have the Rosstalk plugin for Daktronics and would like to trigger a GPI when certain scenes are taken online/offline through XPression. I've done it through Dashboard, but wondering if there's a script or scene director I could use in the actual scene file?


  • 2.  RE: Trigger GPI through Scene Director or Script

    Posted 09-04-2018 16:59
    I have no way to test this, but from the API Documentation:

    Dim board As xpGPIBoard
    engine.GetGPIBoard(0, board)
    board.TriggerAction(PinID.Value)

    The board would need to be defined in Xpression, I'd assume. Put in OnOnline and OnOffline events.
    #XPression


  • 3.  RE: Trigger GPI through Scene Director or Script

    Posted 09-05-2018 14:15
    The board is defined in my GPI mapping, as it uses RossTalk TCP over 7788 like all our devices do, so we're good there. However, I'm not quite sure where to put the GPI trigger number in that script, as I keep getting compiling errors? Do you happen to have a link to the API Documentation, so I can browse? Thanks!

    #XPression


  • 4.  RE: Trigger GPI through Scene Director or Script

    Posted 09-05-2018 14:27
    dim rosstalk as xpGPIBoard
    Engine.GetGPIBoard(0, rosstalk)
    rosstalk.SendMessage("GPI 1")

    API documentation installs with XPression - Start Menu > XPression > Help > XPression SDK Help

    RossTalk Document: https://rossvideoltd.sharepoint.com/:b:/s/proddev/XPression/EX_vjc--kW5JvHSWY6jN24oBDMfNmVfr4LFqMvLoROeL-A

    #XPression


  • 5.  RE: Trigger GPI through Scene Director or Script

    Posted 09-05-2018 14:43
    Ah thank you so much! (I was wondering where the doc was, couldn't find it online - was locally the whole time ha!)
    #XPression