Home AMX User Forum NetLinx Studio
Options

DVX-2155 Switch Commands

This is the first one of these units I have worked on and I'm a little confused about the port mapping. The Instruction Manual shows multiple inputs and outputs on the same port number. Then later in the doc it has sample commands that look like AutoPatch commands. Just not sure how to structure the commands. Just need to do input and output switching.

Here is the structure:
SEND_COMMAND <DEV>, "'CI<input>O<output>'"

Here is the example command:
SEND_COMMAND SWITCHER,"'CI4O2'"
switches input 4 to output 2

I don't have the hardware with me so troubleshooting is a little hard. Do I need to define the dev address and port or just send to "SWITCHER" like the command above?

thanks

Hope this makes sense.

Brian

Comments

  • Options
    ericmedleyericmedley Posts: 4,177
    You have to define the switcher as a device. I get the DVX and DGX confused in my head sometimes and I'm not in front of the computer to double check. But I think it is bt default device 5002. Double check that, however or somebody correct me if wrong.

    You don't have to declare the device in the command. You could just hard code the actual device:port:system but why do all that typing?
  • Options
    NZRobNZRob Posts: 70
    Just reaffirming what Eric said:

    DEFINE_DEVICE
    dvSwitcher = 05002:1:0


    Usage:

    SEND_COMMAND dvSwitcher,"'CI4O2'"
  • Options
    BrianBrian Posts: 3
    Thanks for the help!!!! I knew it was something easy
Sign In or Register to comment.