Configuring Directory Paths

iFIX uses a number of directories to store program and data files. Use the Path Configuration dialog box to specify the location and names of your iFIX directories. You can display this dialog box by clicking the Path button on the SCU toolbox.

When iFIX is installed it creates a directory, called the Base directory, and all the subdirectories you see listed in the Path Configuration dialog box. If you decide to change the Base path, and the other directories are subdirectories of the Base path, click Change Base to automatically update all the listed directory names. When you change a path the SCU creates the new directory for you. However, it does not copy the files from the old directory to the new directory.

NOTE: When configuring paths for your iFIX components, it may be helpful to place some directories on the local machine and some on a network server. For example, keeping your Local and Database directories on a local path name allows you easy accessibility on your computer, whereas copying the Picture and Historical files to a network server enables anyone on the network to access these files to view a picture, historical data, and so forth.

The table below describes the use of each directory.

Path Descriptions 

The path...

Is used for storing...

Default Path

Base

All executable files. The Base path points to the main iFIX directory. Other directories are usually subdirectories of the Base directory.

C:\Program Files (x86)\Proficy\iFIX

Language

The language files used to create dialog boxes and help files. If you choose to implement a language other than English, the new language and help files replace the files found in this directory.

C:\Program Files (x86)\Proficy\iFIX\NLS

Local

Configuration files associated with the local computer, including SCU, recipe format, and system security files.

C:\Program Files (x86)\Proficy\iFIX\LOCAL

Project

A grouping of application files, such as pictures, databases, and tag groups, saved in a specific folder identified by the project name.

You can manage your application files by naming a different path for each project.

C:\Program Files (x86)\Proficy\iFIX

Database

Process database files, Database Manager configuration files, and I/O driver configuration files.

C:\Program Files (x86)\Proficy\iFIX\PDB

Picture

The pictures of the configuration and run-time environments.

NOTE: If you are using a shared PIC directory on a drive other than the one on which iFIX is installed, you must enter the full path to the PIC directory. For example, if you want to use a shared PIC directory on the G:\ drive, you must enter G:\PIC in the SCU

If you want to allow multiple clients to open the same picture file past the Windows concurrent limit, you need to make sure that the PIC folder on your iFIX Server is set to read-only and that the pictures in that folder are also read-only. Additionally, the following entry needs to be added to FixUserPreferecnes.ini:

[FileOpenMethod]

FileOpenStyle=1

The limit of 20 concurrent users opening a file at one time is a Microsoft limitation when using the IStorage object. This limitation is documented in the Microsoft online reference for the IStorage object, located here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa380364%28v=vs.85%29.aspx.

C:\Program Files (x86)\Proficy\iFIX\PIC

Application

Data and configuration files for your iFIX applications. If you create your own applications, use this directory to store data files.

C:\Program Files (x86)\Proficy\iFIX\APP

Historical

Historical Trending configuration files.

C:\Program Files (x86)\Proficy\iFIX\HTR

Historical Data

Historical data files. Historical Trending creates a unique subdirectory to this directory for each node that data is being collected from. The subdirectory uses the name of the node the data comes from.

C:\Program Files (x86)\Proficy\iFIX\HTRDATA

Alarms

Alarm data files and event log.

NOTE: If you want to view an event log (.evt), make sure that you associate an editor such as Notepad with the .evt file type so that you can open and read the file. If you do not, when you double-click the .evt file, an error may appear.

C:\Program Files (x86)\Proficy\iFIX\ALM

Master Recipe

Master recipe, master recipe error, and master recipe report files.

C:\Program Files (x86)\Proficy\iFIX\RCM

Control Recipe

Control recipe, control recipe error, and control recipe report files.

C:\Program Files (x86)\Proficy\iFIX\RCC

Alarm Areas (AAD)

Primary Alarm Area Database files.

C:\Program Files (x86)\Proficy\iFIX\PDB

 

See Also

How Do I...