====== Command:HERE (H) ====== The 'here' command differs on a TGPMT card from our other systems. --> Actuators, Piezos, MicroMirror etc ^ --> MS2000 or RM2000 syntax ^ The HERE command sets the current reported position(s) of the axis(es) provided. ^Shortcut |H | ^Format |HERE [axis]=[position in 1/10 microns]… | ^Units |1/10 microns| ^Remembered |Automatically | <-- --> Tiger syntax ^ ^Shortcut |H | ^Format |HERE [axis]=[position in 1/10 microns] or see below for clocked devices| ^Units |1/10 microns| ^Type |Axis-Specific | ^Remembered |Automatically | <-- Assign the specified number to the axis’s current position buffer. If no position is specified, 0 is assumed. For non-clocked devices, the unit of measurement is in tenths of microns. This defines the current position to be a specific distance from the origin (0). **Clocked Devices:** On clocked devices (filter slider, turret, mirrored port switch, etc), you can //change position #1// or you can //change the spacing between positions//.\\ \\ Change position #1: MS-2000 v9.2l or Tiger v3.18 required - Remove all axes from either the joystick or a knob (for example, the Z-axis from the Z-knob J Z=0). - Assign the clocked device axis to that joystick or knob (for example, the M-axis to the Z-knob J M=22). - Use the joystick or knob to adjust the axis to the desired position. - Issue the ''HERE'' command to set the position (for example, the M-axis H M=1). - Restore (assign and unassign) the desired axes to the joystick / knobs as desired (for example, the M-axis from and the Z-axis to the Z-knob J M=0 Z=22). \\ \\ Change the spacing between positions: MS-2000 v9.2m or Tiger v3.28 required\\ - Move to position #2 (for example, the M-axis M M=2). - Remove all axes from either the joystick or a knob (for example, the Z-axis from the Z-knob J Z=0). - Assign the clocked device axis to that joystick or knob (for example, the M-axis to the Z-knob J M=22). - Use the joystick or knob to adjust the axis to the desired position. - Issue the ''HERE'' command to set the spacing (for example, the M-axis H M+). - Restore (assign and unassign) the desired axes to the joystick / knobs as desired (for example, the M-axis from and the Z-axis to the Z-knob J M=0 Z=22). \\ If there are no errors, the positive reply :A will be sent back from the controller **Warning!** DOES NOT WORK FOR PIEZOS AND MICROMIRRORS. __//Example//__ $ H X=1234 Y=4321 Z :A The X position will change to 123.4 microns from the origin, Y will change to 432.1 microns, and the Z will be zeroed. <-- --> TGPMT usage ^ ^Shortcut |H | ^Format |''HERE [axis]'' or \\ ''HERE [axis]=0'' | ^Type |Axis-Specific | ^Remembered |Automatically | On a TGPMT card, this command this used to Zero the PMT signal reported by the [[commands:rdadc|RDADC command]]. When this command is issue, the current PMT signal is saved, and the controller begins subtracting it from the current PMT signal. Users can use this as a background subtract or offset feature. User can cancel the zeroing by issuing ''HERE [axis]=0''. Readings reported by [[commands:rdadc|RDADC command]] will not be altered anymore. Only the readings reported by the [[commands:rdadc|RDADC command]] are altered. 0-4V Analog PMT signal on the BNC connector is not altered. This is a card wide-settings, both PMT0 and PMT1's reading are altered. More details [[:tgpmt#adc_specification|here]]. __//Example//__ $ H M :A If the TGPMT card axis char is **M**. Saves the current PMTs readings and starts subtracting them from the ''RDADC'' commands reported readings. $ H M=0 :A If the TGPMT card axis char is **M**. Clears the saved PMTs readings and stops subtracting them from the ''RDADC'' commands reported readings. <-- {{tag>tgpmt commands tiger ms2000}}