Home AMX User Forum NetLinx Studio

Nyko BlueWave PS3 IR DOngle

We have one of these installed but we are having an issue with the commands doubling.
Here is the code that I am using to try and control the device.
Data_Event[dvPS3]
{
   Send_Command dvPS3,"'SET MODE IR'"
   Send_Command dvPS3,"'CTON',0"
  Send_Command dvPS3,"'CTOF',0"
}

Send_Command dvPS3,"'CP',<IR COMMAND>"


I have tried setting CTON, CTOF from the ranges of 0-5 with no luck.
Any ideas on how to fix this?

Thanks

Chris

Comments

  • a_riot42a_riot42 Posts: 1,624
    ondrovic wrote: »
    We have one of these installed but we are having an issue with the commands doubling.
    Here is the code that I am using to try and control the device.
    Data_Event[dvPS3]
    {
       Send_Command dvPS3,"'SET MODE IR'"
       Send_Command dvPS3,"'CTON',0"
      Send_Command dvPS3,"'CTOF',0"
    }
    
    Send_Command dvPS3,"'CP',<IR COMMAND>"
    
    

    I have tried setting CTON, CTOF from the ranges of 0-5 with no luck.
    Any ideas on how to fix this?

    Thanks

    Chris

    Your IR emitter is probably too close to the IR receiver and flooding it, or is getting a second reflection or something similar. Could also be the button event code is duplicated. Are you getting only one button push in Notifications?
    Paul
  • ondrovicondrovic Posts: 217
    Thanks,

    I have fixed it by doing away with the send_command dvDev,"'CP',<IR CHANNEL>"

    And used the follwoing:
    Buttton_Event[dvTP,dvPS3_BTNS]
    {
         Push:
         {
              SET_PULSE_TIME(0)
              PULSE[dvPS3,<IR CHANNEL>]
         }
         Release:
         {
            SET_PULSE_TIME(5)
         }
    }
    

    It is working fine now
  • DHawthorneDHawthorne Posts: 4,584
    It's also possible to capture the IR badly. This is especially true with IR that repeats ... the IRIS can easily take two pulses and learn them as one. It's also possible to capture only a partial IR. I've done both, and it's no end of annoyance.
Sign In or Register to comment.