Graphics

 View Only
  • 1.  XPression GPO

    Posted 02-09-2021 21:37

    Wanting to have XPression send GPO to a JL Cooper box on scene launch. Is this possible? Is there documentation? Examples: on scene launch latch pins 2 & 4 to ground; on scene launch latch pin 2 only; on scene launch latch pins 2 & 3 to ground; etc.



  • 2.  RE: XPression GPO

    Posted 03-19-2021 12:06

    You want to something along the lines of this? 

     

    'The “0” in the GetGPIBoard is the index of the GPI board in Hardware Setup > GPI Boards 

    '(Board #1 = Index 0, Board #2 = Index 1, etc..) 

      

    Physical GPO: 

      

    OnOnline: 

      

    Dim gpi As xpGPIBoard 

      

    If engine.GPIBoardCount > 0 Then 

        engine.GetGPIBoard(0, gpi) 

        gpi.SetOutputPinState(0, true) 

    End If 

      

    OnOffline: 

      

    Dim gpi As xpGPIBoard 

      

    If engine.GPIBoardCount > 0 Then 

        engine.GetGPIBoard(0, gpi) 

        gpi.SetOutputPinState(0, false) 

    End If 


    #XPression