Skip to content

Command Line Arguments

Additional parameters can be given on the command line, or in the program's shortcut, when the program starts. For example:

xview.exe /L /HIDELOGO

Table 9 — Command line arguments

Display and screen

Argument Description
/L Load Layout — start with the saved window sizes and positions, and display data immediately without waiting
/LMMI Load MMI Layout — like /L, but loads and displays the MMI screen instead of a graph
/HIDELOGO or /NOLOGO Hide Logo — skip the splash screen at start-up, so the program opens faster
/HIDEMMI Hide MMI — keep the MMI screen hidden
/EMBED Embedded Mode — show only the essential menu and toolbar; suitable when embedding the program inside another application
/RESETMENU Reset Menu — clear the position and state of every toolbar and lay them out afresh (use when a toolbar has disappeared or is in the wrong place)
/TOPMOST Top Most — keep the program window above all others
/mmi:filename MMI File — the MMI file to load, for example /mmi:main.mmi (must be typed in lower case)

Operating modes

Argument Description
/N No Communication — start without communicating with any device; suitable for printing reports or managing data only
/M Maintenance Mode — press F9 to inspect the state of data communication
/STOP Stop Mode — start in the stopped state (no automatic scan or poll)
/BATCH Batch Mode — run without user interaction, and disable DDE automatically
/SERVICE Run as Service — run the program as a Windows service
/2NDINSTANCE Second Instance — allow more than one instance of the program at once
/DEBUG Debug Mode — turn on debugging for inspecting the program's internals
/STARTINGDEBUG Starting Debug — turn on debugging from the start-up stage onwards

Communication and networking

Argument Description
/SERVER Server Mode — act as a TCP/IP server or NetDDE server so that clients can connect over the network to view data
/CLIENT Client Mode — act as a client, connecting to a server to view real-time and historical data over the network (disables DDE automatically)
/NODDE No DDE — disable DDE; suitable for lower-powered machines, to reduce load
/CENTERSERVER Center Server — act as a central server (combines /SERVER with Center Server)
/CENTERCLIENT Center Client — act as a client connecting to a Center Server (combines /CLIENT with Center Client)
/LOCALSERVER Local Server — act as a local node connected to a Center Server
/RTU RTU Mode — turn on RTU (Remote Terminal Unit) mode

Files and projects

Argument Description
/I:filename INI File — the configuration (.ini) file to use, for example /I:MYCONFIG.INI
/P:projectname Project — the project to open, for example /P:PLANT_A
/PROJECT Project Mode — turn on project mode
/DATASET Dataset Mode — store data in a user-specified directory (starts in stop mode automatically)
/BITMAP:filename Bitmap Mode — load and display the given bitmap file (disables communication automatically)

Database updates

Argument Description
/ITEMSUPDATE Items Update — update the items at start-up
/NOITEMSUPDATE No Items Update — do not update the items at start-up
/DEVICESUPDATE Devices Update — update the devices at start-up
/NODEVICESUPDATE No Devices Update — do not update the devices at start-up
/GROUPSUPDATE Groups Update — update the groups at start-up
/NOGROUPSUPDATE No Groups Update — do not update the groups at start-up
/RTDB Realtime Database — enable the real-time database
/NODBOPEN No DB Open — do not open the database connection at start-up
/SPDB SPDB — enable SPDB

Script

Argument Description
/SCRIPT Script — enable script execution
/NOSCRIPT No Script — disable script execution entirely

Settings and licence information

Argument Description
/LICINFO License Info — show the licence details of the registered user
/ENTERPRISE Enterprise — enable the Enterprise features for the web database
/ENTERPRISESETTINGS Enterprise Settings — open the Enterprise settings screen
/MMISETTINGS MMI Settings — open the MMI settings screen
/LANGUAGESETTINGS Language Settings — open the language settings screen
/REMOTESETTINGS Remote Settings — open the remote settings screen
/16 COMM16 — enable 16-channel communication mode