Building Example Programs

The example programs showing the UPI process are shipped with the IRIS release media in the utils/examples directory. Compile the programs to learn more.

Example Programs
Program Description
upi_rcv Receives a file from IRIS, prints out the file name, then deletes it. It can be customized to your requirements.
change_product Modifies an existing product file to add in a circular target.
upi_xmt Sends files back to IRIS
  1. Configure your IRIS development environment.
  2. Go to the directory containing the source code: ./iris/examples
  3. Compile the source code from the resident makefile with the command: $ make upi_rcv
  4. To rename the program, copy it elsewhere and make a script file to compile it.

    Take the compile and link commands from the Makefile file.