Hi Alaisen,
The SMT Ajacent Channel Power.vi in the SMT Measuments sub-palette from the Spectral Measurements Toolkit will give you the power in a channel and the power in the ajacent channels. You should be able to work out the ratio from these values.
I hope this helps.
Regards
Jon B
Applications Engineer
NI UK & Ireland