Command:PG
- Piezo
-
Shortcut PG Format PG [axis]=[25 to 5101] (pre v2.84)
PG [axis]=[1 to 255] (v2.84 and above)Units integer code Type Axis-Specific Remembered Automatically The
PG
command is used to set the gain of the feedback stage. The setting is stored in non-volatile memory on theADEPT
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. This 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 8-bit255
. Due to rounding issues and such, we removed the formula so now user can enter the setting directly and have more control.
- Tunable Lens
-
Shortcut PG Format PG [axis]=[1 to 255] Units integer code Type Axis-Specific Remembered Automatically On the Tiger Tunable Lens card,
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. ThePG
command sets the coefficient in this model equation. See the Temperature Compensation section in theTGTLC
manual.