fScan Reference Manual, Chapter 2 (CmdLineOptions): wait

Wait -- Wait for input data records to be generated

usage: -wait flag toutsecs count delayms

When processing data, the WAIT command can be used to affect the timing of steps and whether the program should check for multiple data files or if each data record is actually available before processing. By default, the WAIT command instructs the program to wait for missing data. The FLAG argument controls other WAIT behavior options (see below).

The TOUTSECS argument indicates how long to wait for data before giving up. TOUTSECS defaults to 300s (5 min). Specifying TOUTSECS=0 means wait forever if necessary.

COUNT is only used with FLAG=1; it indicates maximum number of image volumes (3D time points) to wait for. Default COUNT is 1000.

DELAYMS is used with FLAG 1 – it will pause at least that many milliseconds between images. DELAYMS defaults to 10 if FLAG & 16.

NOTE: The -WAIT 1 or -WAIT 4 options should be specified before the command options that they are modifying. Most WAIT options return to default when the current processing is completed. If you select the -1 FLAG option, however, it will stay in effect until you explicitly reset it with the command:

See Also:
Watch
fScan Home, fScan Manual, CmdLineOptions, Manual Help