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
Places the text entered between the “ ” in the Title bar of the ONView window. This is used to label the ONView window appropriately.
Automatically trends the graph configured in the file,< filename >.
Used as the last option, it causes the ONView session to quit.
Executes the OCL statements contained in the file < filename >. Filename must be a .OCL file. (Refer to the OCL User Guide, ONView Functions Section).
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
Select a printer. Sets the printer for ONView graph prints.
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
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.
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.
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
Example ONVIEW /RSTARTUP.OCL
The above STARTUP.OCL file contains the following:
Start ONView, title the window LINE 1, load the file LINE1.ONV, maximize the window and bring it to the foreground.
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.
Start ONView as an icon.
Start ONView in full screen (maximized).
Start ONView with the height specified by n, where n is a number from 0 to 100 indicating percentage of the total screen.
Start ONView with the width specified by n, where n is a number from 0 to 100 indicating percentage of the total screen.
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.
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.