channel assignment

I wanted to know how to assign a channel to the random number generator subject to communicate with a trigger