Home AMX User Forum NetLinx Studio

Wake panel upon channel input

Hi

I need to wake a panel from sleep state, upon trigering a channel input on a NI-4100. How is this achieved in codeing ?

Regards.

Brian Andersen, Denmark

Comments

  • SEND_COMMAND TP1,"'WAKE'"

    Bet you didn't think it would be that easy..

    Kevin D.
  • 2Fast2Fast Posts: 90
    Something like that ...
    DEFINE_DEVICE
    
    dvIO  = 5001:17:0 // I/O ports
    
    dvTP = 10001:1:0 //TOUCH PANEL
    .
    .
    .
    
    DEFINE_EVENT
    
    CHANNEL_EVENT[dvIO,1]
    {
       ON:
       {
         SEND_COMMAND dvTP,"'WAKE'"
       }
       OFF:
       {
         //something else
       }
    }
    
    .
    .
    .
    
    


    Hope this helps!
  • Thanks guys

    Of course - Send_command as in "control a device".....

    Thanks!
Sign In or Register to comment.