206 8163A/B, 8164A/B & 8166A/B Mainframes Programming Guide4 Measurement Operations & SettingsSignal RoutingThe commands in this section allow you to control Keysight 8159x OpticalSwitch modulescommand: :ROUTe[n][:CHANnel[m]]syntax: :ROUTe[n]:[CHANnel[m]]description: Sets the channel route between two ports.When you use switches with dependent connections (e.g. the 2x2 switch), it is possible that one route configurationautomatically changes another connection!parameters: n:m:channel_listthe slot number of the switch modulethe switch channel within the selected switch module.e.g. for dual 1 x 2 module m = 1 for switch 1; m = 2 for switch 2the route between left and right ports.channel_list format: [A....Z],[1....n]response: If an invalid route is selected the following error message is returned - "StatParamError"example: rout3:chan1 A,2 (module in slot 3,channel 1, connect port A with port 2)affects: All switch modulescommand: :ROUTe[n][:CHANnel[m]]?syntax: :ROUTe[n]:[CHANnel[m]]description: Queries the current channel route of the switch for a specific module and switch channel.parameters: n:m:the slot number of the switch modulethe switch channel within the selected switch module. Default value is 1.response: [A.....Z],[1.....n];[A.....Z],[1.....n] as a text string."," separates input and output ports of a specific connection.";" separates parallel connections (as used in 2x2 switch).example: rout3:chan1? -> A,1 simple 1xN switchrout2:chan1? -> A,2;B,1 (2x2 crossover switch in crossover config).affects: All switch modules