The Scan Operation command lets you apply changes to the scan descriptions of several scans at once. It will replace the specified scan parameters in the scan description with the new values specified in the command. If there are not already entries for the specified parameters, the parameters will be added.
Note that this command is intended for advanced users. The system will not prevent you from making changes which lead to invalid or inconsistent scans. See "Notes and Warnings" section below.
SCAN OPERATION [name1,name2] [changes]
[name1,name2] is a list of scan names to apply changes to. The list should be separated by commas and no spaces.
[changes]is a list of settings for scan keyword attributes. Each attribute is an attribute name followed by the equals sign and value. Different attributes are separated by commas or colons.
-DELETERANGES. When this keyword is present, all existing ranges in the scan are deleted. If a Q component has been specified, then the other components of the existing Q range will be retained.
SCAN OPERATION "scanName1,scanName2" -DELETERANGES Range=Q=1~1~0 1~1~1 s,Counts=100,CountType=Time
This will set scans named scanName1 and scanName2 to each count for 100 seconds per point, delete existing scan ranges, and set a new Q range from the (1,1,0) plane to the (1,1,1) plane.
Warning. This command does not protect against breaking scans.
Note: . When Q components are included in a scan operation, each target scan must include a Q range.
See also. Scan description format, defined in CommandScan documentation.
See also. Scan Operation Panel documentation for Scan Operation GUI support.