Startup options are very useful to create a user friendly system. It makes ONView run in a certain mode after its startup.
Startup option parameters can be added at the end of the ONView command and should be separated by spaces. These options are listed in the following. Notice that < > delineates the required information, so do not include the < > marks on the command line.
File Related Options
“<titletext>” |
Places the text entered between the “ ” in the Title bar of the ONView window. This is used to label the ONView window appropriately. |
/F<filename> |
Automatically trends the graph configured in the file,< filename >. |
/Q |
Used as the last option, it causes the ONView session to quit. |
/R<filename> |
Executes the OCL statements contained in the file < filename >. Filename must be a .OCL file. (Refer to the OCL User Guide, ONView Functions Section). |
/In |
Forces the ONView file, being loaded, into Parameter Mode. n is a 1 or 2 and identifies which graph is to be displayed in Parameter Mode. (See Parameter Mode under Chapter 5, Commands Pull-Down Menu). |
Printer Related Option
/P |
Select a printer. Sets the printer for ONView graph prints. |
/O |
Output to printer. Must be used after the /F option as it causes the graph to automatically print once the graph file is loaded. |
Time Related Options
/DnMM/DD/YYYY |
Sets the starting Date for the ONView graph being loaded. n is a 1 or 2 and identifies which graph's date is to be set. MM is month, DD is day, and YYYY is year. |
/TnHH:MM:SS |
Sets the starting Time for the ONView graph being loaded. n is a 1 or 2 and identifies which graph's time is to be set. HH is hours, MM is minutes, and SS is seconds. |
/Xnt |
Defines the x axis time period for the ONView graph being loaded. n is a 1 or 2 and identifies which graph's period is to be defined. t is a number identifying how long and |
Below are some example ONView run statements:
Example ONVIEW /FTEST.ONV /O /Q
Start ONView, load the file TEST.ONV, print the graph, then terminate the ONView session:
Example ONVIEW /FTWOGRAPH.ONV /I2
Start ONView, load the file TWOGRAPH.ONV, and place graph two into
Parameter Mode.
Example ONVIEW /RSTARTUP.OCL
The above STARTUP.OCL file contains the following:
TITLE(“LINE 1”);
LOAD(“LINE1.ONV”);
WINDOW($MAX);
WINDOW($TOP)
Start ONView, title the window LINE 1, load the file LINE1.ONV, maximize the window and bring it to the foreground.
Window Options
There are several startup options that allow you to configure the ONView window. These options allow you to specify the window height, width, and placement on the screen.
/MIN |
Start ONView as an icon. |
/MAX |
Start ONView in full screen (maximized). |
/HEIGHTn |
Start ONView with the height specified by n, where n is a number from 0 to 100 indicating percentage of the total screen. |
/WIDTHn |
Start ONView with the width specified by n, where n is a number from 0 to 100 indicating percentage of the total screen. |
/POSXn |
Start ONView with the X coordinate position specified by n, where n is a number that locates the X for the bottom left corner of the window. |
/POSYn |
Start ONView with the Y coordinate position specified by n, where n is a number that locates the Y for the bottom left corner of the window. |