User Tools

Site Tools


jvs:fscan:manual:chapter2:show

fScan Reference Manual, Chapter 2 (CmdLineOptions): show

Show -- Display data values

usage: -show mode [value] [varbname]

The SHOW command has 3 different uses, indicated by the MODE argument.

Show current data values:
Certain MODE keywords will display a list of current fScan data resource usage.
These keywords include:

  • data - list all data classes
  • reference - list time series reference data
  • set - list user-defined variables

Usage example: -show set
You can also redirect the output list to a text file by adding “ > filename”,
Example: -show data > datalist.txt

The VALUE and VARBNAME arguments are ignored if used with data display keywords.

Show the contents of a text file:
If MODE is “FILE” fScan will display the specified text file in a new window (assuming you are running fScan in interactive mode and the named file exists and is readable).

Usage example: -show file imagehdr.txt
Note: You can combine the data and file MODEs by first using SHOW to list data into a file and then using SHOW FILE to open that file in a new interactive display window.

The VARBNAME value is ignored if used with the FILE keyword.

Find data sets based on keyword values:
A few keywords can be used to search for current image data sets with specific data values. In this case you should specify both the keyword as MODE, and the specific VALUE you want to search for. Recognized search keywords include:

  • subtype value - find the first data set with SUBTYPE parameter equal to VALUE
  • taskname value - find the first data set with TASKNAME parameter equal to VALUE
  • name value - find the first data set with NAME parameter equal to VALUE
  • filename value - find the first data set with FILENAME parameter equal to VALUE

The find data feature can be used either to simply print the resulting data set name on the screen (default) or to store the result into a user-defined string variable, USERVARB.

Usage examples:
-show subtype t1
-show taskname oddball mytask
The first example would print out the T1 data set name, whereas the second would store the name of the ODDBALL data set in string variable '$mytask'.

See Also:

fScan Home,
fScan Manual,
CmdLineOptions,
Manual Help

jvs/fscan/manual/chapter2/show.txt · Last modified: 2014/08/04 16:03 (external edit)