--- title: "Command LC" slug: "command-lc" updated: 2024-07-04T11:07:49Z published: 2024-07-04T11:07:49Z canonical: "docs-linescan.alliedvision.com/command-lc" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs-linescan.alliedvision.com/llms.txt > Use this file to discover all available pages before exploring further. # Command LC Command LC is used to switch on or off one or more channel of the XLC4 control unit. ## Structure | Command | Notes | | --- | --- | | CommandID | LC | LC is only available in “Command mode” and “Bulb mode” | | Parameter | None | | | | Channel | | | | New state | | | Parameter | Value | Description | | None | | | | Channel | “A” | Channel 1 of the XLC4 control unit | | | “B” | Channel 2 of the XLC4 control unit | | | “C” | Channel 3 of the XLC4 control unit | | | “D” | Channel 4 of the XLC4 control unit | | | “E” | Corona II module connected to channel 1 | | | “F” | Corona II module connected to channel 2 | | | “G” | Corona II module connected to channel 3 | | | “H” | Corona II module connected to channel 4 | | New state | “0” | Off | | | “1” | On | | Response | | | lc , [channel] , new state | | General notes | | | The new values are applied immediately. If no channel is defined, the command is applied to all 4 channels. From 6.106 with additional function for bulb mode. | > [!NOTE] > NOTE > > When using Corona II modules always use the command LC with channel identifiers E, F, G and H. > > Example: > > A Corona II module is connected to the channels A, B and C. The command “LC 1” switches on all 4 channels. XLC4 Commander indicates an error for channel D. > > Use the command “LC E 1”. It switches on only the channels A, B and C. No error is indicated. ## Example ### Without parameter | Query | Response | | --- | --- | | LC | lc 1 1 0 0 | Responses which channel is on and off. ### With channel parameter | Query | Action | | --- | --- | | LC A 1 | Channel 1 is switched on | ### With new state parameter | Query | Action | | --- | --- | | LC 1 | All LEDs are switched on | | LC 0 | All LEDs are switched off |