The xRng register class is used for reading and writing analogue registers on VXI cards having 2 ranges.
Examples are the Germanium CFD threshold and Test Generator registers.

The class accepts raw data values in hexadecimal format or data in physical units. For example the class understands 0.1kV, 100V or 100000mV as equivalent.

There is no -w (width) attribute. All VXI accesses are assumed to be 16 bits.
There is no -p (permission) attribute. WO access is assumed to the DAC hardware register and RO access is assumed to the range control hardware register.

Attributes :-

All accesses to the register use the low gain range conversion if the gain control bit has the value 0 and use the high gain range conversion if the gain control bit has the value 1.

The absolute VME address of a register (relative to the card base address allocated by the Resource Manager) is given by (channel area base address) + (channel number * channel size) + (register offset).
The register containing the gain control bit is given by the same formula if the offset is supplied by the -g attribute or by just the offset if using the -G attribute.