I'm assuming you're using something like the
vex ultrasonic sensor (otherwise you should be able to treat an ultrasonic like any other sensor).
In this case, I believe that the pingChannel is the PWM out pin that goes into the input wire and the echoChannel is the analog channel you read the final value on.