Running iFIX From the Command Line

You can run iFIX from the command line with the Launch.exe command. Launch.exe resides in your iFIX base path. The following table describes the command line options available for the Launch.exe program.

Launch Command Line Options

Option

Description

/s SCUfile

Starts iFIX with the specified SCU file, if you have privileges to change the SCU. This option prevents the Startup dialog box from displaying, unless the /g is also on the command line.

If the SCU file path has spaces, you should use quotes around the path. For instance:

Launch /NSCUName /S"e:\Program Files (x86)\Proficy\iFIX\LOCAL\SCUName.SCU"  

/n NodeName

Starts iFIX with the specified node name, if you have privileges to change the node name. This option prevents the Startup dialog box from displaying, unless the /g is also on the command line.

/r

Restarts iFIX, if you have privileges to do so. If the iFIX Startup dialog box displays, continue by clicking the start iFIX button. If there are other command line options that prevent the Startup dialog box from displaying, then it is prevented and iFIX automatically restarts.

/l LogicalNodeName

Starts iFIX with the specified logical node name.

/e

Shuts down the currently running iFIX application, if the user has privileges to do so. iFIX does not display the iFIX Startup dialog box, nor does it try to restart iFIX. All other command line options are ignored.

NOTE: The only way to prevent a user from shutting down iFIX with the /e command line option is to uncheck the Allow User to Run Sample System check box for the user's startup profile (or, if the user is not defined, for the default profile in the Startup Profile Manager).

/t

Starts iFIX in Demo mode.

/g

Always displays the iFIX Startup dialog box, if the user has the privileges to do so. This option overrides the Don't Show This Dialog Box Again check box settings in the iFIX Startup dialog box.

/w NumSeconds

Indicates the maximum amount of time that iFIX waits for a Terminal Server session to start. If the Terminal Server session does not start, the connection times out.

/x

Starts the DBASRV.exe program.

/D

Forces iFIX to run in Demo Mode.

The Sample System shortcut contains a /D in the shortcut. If you remove the /D, the Sample System will run with a license. Be aware that you need to have an appropriate license installed for the Sample System to be fully functional.

NOTE: The check box in the Startup Profile Manager to override the iFIX startup command line parameters (the Startup Profiles defined in this application override iFIX Startup command line parameters option in the Options dialog box) only applies to the /n, /s, and /l command line options. In addition, for the override to work, the user must be defined in the Startup Profile Manager, or if the user is not defined, the default profile must be enabled. For more information on the Startup Profile Manager, refer to the Using the Startup Profile Manager chapter in this manual.

 

See Also