Home AMX User Forum NetLinx Studio

Polycom HDX-8000

Does anyone having Polycom HDX-8000 serial Power ON/OFF Commands?

Sent from my Nexus 4 using Tapatalk

Comments

  • I don't think you have Power On/Off Control.

    You have "wake" and "sleep"
  • I don't think you have Power On/Off Control.

    You have "wake" and "sleep"



    Yes I checked, I have Wake and Sleep

    SEND_STRING dvPolycom, "sleep register"

    Is this ok?
  • Are you using the AMX Module for the HDX9002?

    If so, I think you can simply do:
    ON[vdvHDX, POWER_ON]; //Module does Send_String dvHDX, "'wake', $0D";
    and
    OFF[vdvHDX, POWER_ON];//Module does Send_String dvHDX, "'sleep', $0D";

    If I am wrong, please correct me anyone.
  • Are you using the AMX Module for the HDX9002?

    If so, I think you can simply do:
    ON[vdvHDX, POWER_ON]; //Module does Send_String dvHDX, "'wake', $0D";
    and
    OFF[vdvHDX, POWER_ON];//Module does Send_String dvHDX, "'sleep', $0D";

    If I am wrong, please correct me anyone.


    Yes I am using AMX Module for the HDX9002

    Thanx for helping me
  • Are you using the AMX Module for the HDX9002?

    If so, I think you can simply do:
    ON[vdvHDX, POWER_ON]; //Module does Send_String dvHDX, "'wake', $0D";
    and
    OFF[vdvHDX, POWER_ON];//Module does Send_String dvHDX, "'sleep', $0D";

    If I am wrong, please correct me anyone.


    DEFINE_DEVICE is

    dvPolycomHDXSerial = 5001:1:0 // RS232 port 1 real device

    vdvPolycomHDX1Serial = 41002:1:0 // Serial virtual device 1
    vdvPolycomHDX2Serial = 41002:2:0 // Serial virtual device 2
    vdvPolycomHDX3Serial = 41002:3:0 // Serial virtual device 3
    vdvPolycomHDX4Serial = 41002:4:0 // Serial virtual device 4
    vdvPolycomHDX5Serial = 41002:5:0 // Serial virtual device 5
    vdvPolycomHDX6Serial = 41002:6:0 // Serial virtual device 6
    vdvPolycomHDX7Serial = 41002:7:0 // Serial virtual device 7
    vdvPolycomHDX8Serial = 41002:8:0 // Serial virtual device 8
  • When user selects VC:
    Wake up Codec, if it is not already Awake.

    if ( !([vdvPolycomHDX1Serial, POWER_ON]) )
    ON[vdvPolycomHDX1Serial, POWER_ON];
    ...Route VC to displays, etc...

    On System Shutdown:
    Put Codec to Sleep, if it is Awake
    if ( ([vdvPolycomHDX1Serial, POWER_ON]) )
    OFF[vdvPolycomHDX1Serial, POWER_ON];
  • nickmnickm Posts: 152
    For some reason (and this may have been the early revisions of the module), channel 27 and 28 didn't work very reliably to wake and sleep the codec. I've gotten into the habit of doing SEND_COMMAND vdvCodec,"'PASSTHRU-wake'" and 'sleep' for that particular function.
  • nickm wrote: »
    For some reason (and this may have been the early revisions of the module), channel 27 and 28 didn't work very reliably to wake and sleep the codec. I've gotten into the habit of doing SEND_COMMAND vdvCodec,"'PASSTHRU-wake'" and 'sleep' for that particular function.


    I will agree with nickm.
    Change the previous code to:
    //When user selects VC Call:
    Define_Function VCStartup()
    {
      //Wake up Codec, if it is not already Awake.
      if ( !VCStarted )
      {
        Send_Command vdvPolycomHDX1Serial, "'PASSTHRU-wake'"; 
        VCStarted = True;
      }
      //...Route VC to displays, etc...
    }
    
    //On System Shutdown Call:
    Define_Function VCShutdown()
    {
      //Put Codec to Sleep, if it is Awake
      if ( VCStarted )
      {
        Send_Command vdvPolycomHDX1Serial, "'PASSTHRU-sleep'"; 
        VCStarted = False;
      }
    }
    
Sign In or Register to comment.