jvs:fscan:manual:chapter2:output
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
jvs:fscan:manual:chapter2:output [2016/02/15 19:51] – voyvodic | jvs:fscan:manual:chapter2:output [2020/01/30 17:01] – voyvodic | ||
---|---|---|---|
Line 1: | Line 1: | ||
**fScan Reference Manual, Chapter 2 (CmdLineOptions): | **fScan Reference Manual, Chapter 2 (CmdLineOptions): | ||
- | ===== Output -- ===== | + | ===== Output -- = |
- | **usage: -output [formatname] filename [flg]**\\ | + | ==== |
- | **or: -output [wordsize] filename [flg]**\\ | + | **usage: -output [formatname] filename [flag]**\\ |
+ | **or: -output [wordsize] filename [flag]**\\ | ||
**or: -output > stdoutfile**\\ | **or: -output > stdoutfile**\\ | ||
**or: -output >> stdoutfile**\\ | **or: -output >> stdoutfile**\\ | ||
Line 40: | Line 41: | ||
* matrix | * matrix | ||
- | The OUTPUT command can be used to redirect standard output (stdout) to a file, causing text that would normally be displayed on the screen to be sent to that file.\\ | + | The **FLAG** argument can be used to specify additional options when writing out files.\\ |
+ | **FLAG** values when writing image files:\\ | ||
+ | * 020 - if in active display mode, flip images using display [[jvs: | ||
+ | * 020 - if no window display, flip images using [[jvs: | ||
+ | |||
+ | **FLAG** values when writing 3D surface files:\\ | ||
+ | * 020 - include all surfaces (default is just first active surface) | ||
+ | |||
+ | **FLAG** values when writing workspace (WDF or WSF) files:\\ | ||
+ | * 010 - do not write in XML format | ||
+ | * 020 - include all data sets (default is only to include only open data sets) | ||
+ | * 040 - do not include alignment matrices (written by default if there is alignment) | ||
+ | * 01000 - when writing WDF, include data sets from both workspaces (default is only current workspace) | ||
+ | |||
+ | The OUTPUT command can also be used to redirect standard output (stdout) to a file, causing text that would normally be displayed on the screen to be sent to that file. | ||
To redirect text output to a new file, use:\\ | To redirect text output to a new file, use:\\ | ||
** -output > filename **\\ | ** -output > filename **\\ | ||
Line 47: | Line 63: | ||
To stop redirecting output, use:\\ | To stop redirecting output, use:\\ | ||
** -output stdout 0 ** | ** -output stdout 0 ** | ||
+ | |||
+ | Note: If using the OUTPUT command to redirect output from a shell command line you must escape each '>' | ||
**See Also:**\\ | **See Also:**\\ | ||
+ | [[jvs: | ||
+ | [[jvs: | ||
+ | |||
[[jvs: | [[jvs: | ||
[[jvs: | [[jvs: |
jvs/fscan/manual/chapter2/output.txt · Last modified: 2024/06/21 15:44 by 127.0.0.1