Querying a motor position
log_note $table_vert
Within a script it is necessary to include the following statement at the top of each procedure for each motor of interest: variable motorName .
Example:
Writing the current motor position to the log window
proc print_some_motor_positions {} {
variable table_vert
variable gonio_phi
log_note $table_vert
log_note $gonio_phi }
Example Output:
15 Feb 2011 16:15:06 NOTE: 30.774772
15 Feb 2011 16:15:16 NOTE: 21.000000