
public class ScriptingCommands extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ScriptingCommands.FileList
A simple extension of
List<File> which add an extra utility method
for getting the common root directory of all the files in the list. |
| Modifier and Type | Method and Description |
|---|---|
ScriptingCommands.FileList |
waitForFitsFiles(Duration timeout)
Wait until all FITS files have been written.
|
void |
waitForImages(Duration timeout)
Wait until all images have been received from the DAQ (but not
necessarily written as FITS files)
|
void |
waitForSequencer(Duration timeout)
Wait until the sequencer stops.
|
@Command(type=QUERY, description="Wait for FITS files to be saved", level=0, autoAck=false) public ScriptingCommands.FileList waitForFitsFiles(@Argument(defaultValue="PT30S") Duration timeout)
timeout - The maximum duration to wait@Command(type=QUERY, description="Wait for image data to arrive", level=0, autoAck=false) public void waitForImages(@Argument(defaultValue="PT30S") Duration timeout)
timeout - The maximum duration to wait@Command(type=QUERY, description="Wait for sequencer to stop", level=0, autoAck=false) public void waitForSequencer(@Argument(defaultValue="PT30S") Duration timeout)
timeout - Copyright © 2019 LSST. All rights reserved.