sending midi cc

Have you checked if AnalogValue contains a value at all?
Also, some midi monitors don't print out CC data by default, only note commands. So check if there's some filter in effect