STARTUP OPTIONS

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 >.

Note: filename must be a .ONV file.

/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).
Notice that the /I parameter is used in conjunction with the /F parameter. /I overrides the Parameter Mode settings defined in the config file.

Printer Related Option

/P

Select a printer. Sets the printer for ONView graph prints. must be a valid printer currently configured on your system.

/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.
Note: Since the default starting date is the current date, using the /D parameter places ONView into historical analysis mode.

/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.
Note: Since the default starting time is the current time, using the /T parameter places ONView into historical analysis mode.

/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 names the units of t. must be one of the following:
          HOURS
          MINUTES
          SECONDS
          WEEKS
          YEARS

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.

You can chain these startup parameters, but you must insert a space between each one. If you include both /MIN and /MAX, the /MIN parameter will be used. If you provide the /POSX and /POSY, but do not provide /HEIGHT or /WIDTH, then the height and width will default to 75% of the total screen. If you do not provide the /POSX and /POSY, the top left corner of ONView will automatically locate at the current position of the pointer. If you do not provide any of these parameters, the startup position for ONView is provided by the operating system.

Contact us

Feel free to contact us!

Give us a call or drop us an email to schedule a visit!