Progamming the CFA-635 LEDs

Author: JC634

Programming Instructions:

Programming the CFA-635 LEDís is quite simple compared to programming keys. First, determine the variable(s) you want to monitor. Then open the lcd_635.ini file (located in the cc2-service directory) and add the appropriate code. Restart CC2 and you the LEDís will now visually monitor a variable.

The following example shows how to program the LEDís to display CPU usage on the bottom 2 LEDís and Network bytes received/sent on the top 2 LEDís. This code is placed at the end of the lcd_635.ini file.


led01_id_value=381711152 ; bytes sent id number
led01_value_max=100000.000000 ; maximum bytes
led02_id_value=3123086274 ; bytes received id number
led02_value_max=500000.000000 ; maximum bytes
led03_id_value=1733063910 ; CPU usage id number
led03_value_max=100.000000 ; 100 % CPU usage
led03_value_min=50.000000 ; 50 % CPU usage
led04_id_value=1733063910 ; CPU usage id number
led04_value_max=50.000000 ; 50 % CPU usage
led04_value_min=0.000000 ; 0 % CPU usage

In the above example, please note that the bytes maximum number give a reasonable green-to-red transition for my cable modem. Different types of connections require different values.

Where do the id numbers come from? The answer ranges from quite simple to slightly more difficult. If you programmed a screen that uses these variables, it is quite simple. If you added a screen which does not use these variables, generate one that uses them. After the screen has been added and CC2 restarted, open up the following file: cc2_perfmon.ini (located in the cc2-service directory).

Look for the following code:
full_name="\\Processor(_Total)\\% Processor Time"

Now you know where the 1733063910 came from. Please note that your id number will be different. Copy and paste as required.

For the network id numbers, look for code similar to the following:
full_name="\\Network Interface(Intel[R] PRO_1000 CT Network Connection - Packet Scheduler Miniport)\\Bytes Received/sec"

full_name="\\Network Interface(Intel[R] PRO_1000 CT Network Connection - Packet Scheduler Miniport)\\Bytes Sent/sec"

The (Intel[R] PRO_1000 CT Network Connection - Packet Scheduler Miniport) may be different for your system. In order to determine what your Network Interface is, you will need to do the following:

Run a program named perfmon_enum.exe in the cc2-service\perfmon_enum folder. It creates a file named perfdump.txt in this directory. Open this file and search for Network Interface. Copy and paste these values into a network screen file. You can use the screen file located here: for this purpose.

Add this screen file. Open the cc2_perfmon.ini file as described earlier and search for the appropriate id numbers.

Development thread: Part of the User Screen Syntax Manual.