User Tools

Site Tools


commands:scanr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
commands:scanr [2020/05/27 19:56] – brandoncommands:scanr [2026/03/23 18:16] (current) – brandon
Line 1: Line 1:
 ====== Command:SCANR (NR) ====== ====== Command:SCANR (NR) ======
  
---> MS2000 or RM2000 syntax#+--> MS2000 or RM2000 syntax ^
  
 ^Shortcut  |NR|  ^Shortcut  |NR| 
-^Format  |SCANR [X=start] [Y=stop] [Z=enc_divide] [F= #_pixels]| +^Format  |SCANR [X=start] [Y=stop] [Z=enc_divide] [F= #_pixels] [R=retrace_speed]| 
-^Units   |X and Y in mm, Z and F as integer|+^Units   |X and Y in mm, Z and F as integer, R as percentage (0-100)|
 ^Remembered |Using SS Z | ^Remembered |Using SS Z |
-^Firmware Required |SCAN|+^Firmware Required | [[:scan_module|SCAN MODULE]] |
  
 <-- <--
  
---> Tiger SPIM syntax#+--> Tiger (motorized) syntax ^ 
 + 
 +^Shortcut  |NR|  
 +^Format  |[addr#]SCANR [X=start] [Y=stop] [Z=enc_divide] [F= #_pixels] [R=retrace_speed]| 
 +^Units   |X and Y in mm, Z and F as integer, R as percentage (0-100)| 
 +^Type    |Card-Addressed| 
 +^Remembered |Using [addr#]SS Z | 
 +^Firmware Required | [[:scan_module|SCAN MODULE]] | 
 + 
 +<-- 
 + 
 +Sets up raster scan start and stop positions, with the position values expressed in millimeters.  During scanning, the stage will move past both of these positions slightly, so that when scanning within the range specified, the scan proceeds with uniform speed (set by the ''SPEED'' command).  On units equipped with hardware position Sync, the output pulse goes high as the stage crosses the start position.  
 + 
 + 
 +**X** [''start'']**:** The ''start'' position in millimeters. 
 + 
 +**Y** [''stop'']**:** The ''stop'' position in millimeters. 
 + 
 +**Z** [''enc_divide'']**:** On systems with the ''ENC_INT'' firmware module, an output pulse will occur every ''enc_divide'' number of encoder counts. 
 + 
 +**F** [''#_pixels'']**:** If the user specifies the ''#_pixels'', the stop position will be calculated based upon the enc_divide and start position.  Applicable to ''ENC_INT'' only. 
 + 
 +<wrap lo>MS-2000 v9.54 or Tiger v3.30 required</wrap> \\ 
 +**R** [''retrace_speed'']**:** Specify the speed of the retrace move as a percentage of the max speed (decimal value between 0 and 100). The default value of 67% was hardcoded previously. 
 + 
 + 
 +--> Tiger micro-mirror syntax ^
 ^Shortcut  |NR|  ^Shortcut  |NR| 
 ^Format  |[addr#]SCANR [X=scans_per_slice] [Y=slices_per_volume] [Z=SPIM_mode] [F=volume_repeats]  [R=slice_repeats]| ^Format  |[addr#]SCANR [X=scans_per_slice] [Y=slices_per_volume] [Z=SPIM_mode] [F=volume_repeats]  [R=slice_repeats]|
Line 36: Line 62:
   * Bit 4 is set to alternate sides after each piezo/slice position (for interleaved stage scan). Note that piezo trigger signals will continue, but this is OK for the stage scan situation when the piezos’ SAA value is 0 and either the piezo’s SAO position is the same as the offset or else bit 3 is set.  Default is unset (not alternating sides).  (v3.09+).   * Bit 4 is set to alternate sides after each piezo/slice position (for interleaved stage scan). Note that piezo trigger signals will continue, but this is OK for the stage scan situation when the piezos’ SAA value is 0 and either the piezo’s SAO position is the same as the offset or else bit 3 is set.  Default is unset (not alternating sides).  (v3.09+).
   * Bit 5 is set to alternate the beam scan direction between sweeps (either between slices or within same slice if the number of line scans per slice is more than 1).  Default is unset (not alternating direction).  Before v3.14 this was set using the LSB of the SAP setting. (v3.14+).   * Bit 5 is set to alternate the beam scan direction between sweeps (either between slices or within same slice if the number of line scans per slice is more than 1).  Default is unset (not alternating direction).  Before v3.14 this was set using the LSB of the SAP setting. (v3.14+).
-  * Planned but not yet implemented: Bit 6 is set to add one extra camera trigger at the end of each side.  Use this to accommodate “synchronous” or “overlap” camera mode without requiring an entire additional slice.  Default is unset (no extra camera trigger).  Proper operation requires the side delay (NV Y) be longer than the sum of the camera delay (NV T) and the camera duration (RT T).  Because this occurs during the side switch time the total acquisition time is only increased by the time required for the final camera trigger. +  * Planned but not yet implemented: Bit 6 is set to add one extra camera trigger at the end of each side.  Use this to accommodate "synchronous" or “overlap” camera mode without requiring an entire additional slice.  Default is unset (no extra camera trigger).  Proper operation requires the side delay (NV Y) be longer than the sum of the camera delay (NV T) and the camera duration (RT T).  Because this occurs during the side switch time the total acquisition time is only increased by the time required for the final camera trigger. 
-  * Bit 7 is reserved for future use +  * Bit 7 is set to have the slice axis move in a continuous linear fashion instead of in stairstep (i.e. when set it moves continuously during each slice) (v3.5+)
-<html><br></html> +
-//volume_repeats// (**F**): sets the number of volumes to be collected per trigger event (two sides count as a single volume).  Minimum value is 1.+
  
-<-- 
  
---> Tiger syntax# +//volume_repeats// (**F**): sets the number of volumes to be collected per trigger event (two sides count as a single volume).  Minimum value is 1.
  
-^Shortcut  |NR|  +//slice_repeats// (**R**): sets the number of slices to be collected at each piezo position.  Minimum value is 1.
-^Format  |[addr#]SCANR [X=start] [Y=stop] [Z=enc_divide] [F= #_pixels]  [R=retrace_speed]| +
-^Units   |X and Y in mm, Z and F as integer, R as percentage (0-100)| +
-^Type    |Card-Addressed| +
-^Remembered |Using [addr#]SS Z | +
-^Firmware Required |SCAN|+
  
 <-- <--
- 
-Sets up raster scan start and stop positions, with the position values expressed in millimeters.  During scanning, the stage will move past both of these positions slightly, so that when scanning within the range specified, the scan proceeds with uniform speed (set by the ''SPEED'' command).  On units equipped with hardware position Sync, the output pulse goes high as the stage crosses the start position. On systems with the ''ENC_INT'' firmware module, an output pulse will occur every ''enc_divide'' number of encoder counts. 
- 
-If the user specifies the ''#_pixels'', the stop position will be calculated based upon the enc_divide and start position. 
- 
-On TG-1000 v3.30 and later use ''retrace_speed'' to specify the speed of the retrace move as a percentage of the max speed (decimal value between 0 and 100).  The default value of 67 was the hardcoded value previously.  This feature can be added to MS-2000 on customer request. 
- 
- 
  
  
 {{tag>commands tiger ms2000 scan}} {{tag>commands tiger ms2000 scan}}
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
commands/scanr.1590623775.txt.gz · Last modified: (external edit)