User Tools

Site Tools


commands:pg

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 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. 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-bit 255. 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. The PG command sets the coefficient in this model equation. See the Temperature Compensation section in the TGTLC manual.

Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/pg.txt · Last modified: 2023/08/31 03:44 by brandon