Not familiar with Soundtraxx decoders, but the CV31, 32, and 407 thing sounds like you are setting an indexed CV. 32 and 32 are likely the index and 407 is the actual CV.
Sounds more like a consist config issue, not a decoder issue. What DCC system are you using and what type of a consist is configured?