DALI User Manual: Installation Instructions

Instructions for QNX

Only QNX 6 is supported by DALI. This section covers installation instructions for the DALI server, C client libraries, and demo programs.

Section Shortcuts:

DALI Server Installation

DALI server software is available as an Gzip'd Tar archive for QNX. To install DALI simply extract this archive to the directory of your choice. This documentation will use /opt/dali as an example.

The files are organized into directories as follows:

/bin
Executables related to DALI. The DALI server is called dalid and is present in this directory.

/boards
The board configuration directory. See the Board Configuration section of the documentation for more information.

/boards-examples
Example board configuration files which can be copied to the board configuration directory and used as templates for the desired board configuration.

/alarms
The alarm configuration directory. See the Alarms section of the documentation for more information.

/alarms-examples
Example alarm configuration files which can be copied to the alarm configuration directory and used as templates for the desired alarm configuration.

/etc
Contains miscelaneous configuration files. The default location of the password file if user authentication will be used.

/ssl
Contains the temporary self-signed SSL certificate for use in testing DALI SSL support.

/manual
Contains html files and PHP files for the DALI administration web application admin PHP DALI demo pages. Apache with PHP is required to view these pages.

/htdocs
Contains html files for the DALI user manual. This is plain HTML which can be viewed with your web browser with Apache installed. Load the index.html file to get started.

Once the server is installed you can start the server by running the dalid binary in the /bin directory.

DALI C Client Installation

The DALI C client is installed with the DALI server using the instructions in the previous section. The following directories in /opt/dali are related to the client.

/include
Contains the header file for using the C/C++ client library. This library is documented later in this manual.

/lib
Contains the library file for the C/C++ client library. This library is documented later in this manual.

DALI C Client Demos Installation

The DALI C client demos are installed with the DALI server using the instructions in the previous section. These demos are executables and source code which can be used to as samples for your own DALI client software. The following directories in /opt/dali are related to the demos.

/demos
Contains executables and souce code for the demos.