|Format||PG [axis]=[25 to 5101] (pre v2.84)
PG [axis]=[1 to 255] (v2.84 and above)
PG command is used to set the gain of the feedback stage. The setting is stored in a non volatile memory on the ADEPT board. This is one of the settings that is automatically picked during long auto calibration. Please refer the calibration section for its usage. It is an Axis specific command. Setting is automatically saved in the non-volatile memory.
The settings set with this command can also be done with
PZ commands. One does not have an advantage over another; usage is left to user preference.
Pre v2.83 a formula was used to convert
25-5101 to 8bit
255. We had rounding off issues and such. We removed the formula so now user can enter the setting directly and thus have more control.
|Format||PG [axis]=[1 to 255]|
On the Tunable Lens card , this PG is used to get and set a different parameter. Tunable lens diopter changes with temperature , this change varies with current being applied to the lens. So we built a model equation to help us calculate Diopter per Celsius change as a function of current. PG command sets the coefficient in this model equation. More info here