Dear DTI1
Thank you for choosing National Instruments Support!
The SCXI 1122 does not allow you to choose the gain -- even though the documentation says "Programmatically Selectable". What this actually means is that when you specify a range to acquire, the NI-DAQmx driver will decide what gain to set.
You can however get access to this gain value by using property nodes. Hence, if your range is constant, the gain will remain the same, no matter where you try to change it.
Hope this helps!
Thanks and Regards
Shekhar S
National Instruments