BMOG
... I was messing around with the routing, Home tab, on the X32 and changed inputs 25-32 to card 9-16 and changed my master out on Sonar to stereo 15/16 out because that is the mains for x32 and I finally got a signal on x32 on channels 31 and 32. Does that mean even though X32 has up to 32 inputs the usb is only going to see 16 and does that mean channels 17-32 are basically 1-16 output channels? ...
There are a couple of X32 setup options that you've probably missed:
On the 'Setup>>Card' screen you'll see that it has combinations of 32in/32out at the top of the list, and all other combinations of 16in/16out, 32in/8out (I use this for my Sonar config), 8in/32out 8in/8out and 2in/2out.
On the 'Routing>>Home' screen, I use the 'Aux-in Remap' column set to Card 1-6. In that way, the other four columns of Inputs 1-8, 9-16, 17-24, 25-32 are contiguously dedicated to inputs.
By default, Sonar's master output will go to the 1-2 output pair of the Card 1-6 which is mapped to the Aux-In. The physical 15/16 output of the X32 is the main-L/R and can be engaged for any input, including the Aux-In.
I think these facts should help you get things sorted.