# This is a configuration file to launch the camera application configured for
# the CIS1910 sensor with Gigabit Ethernet IO board.
#
# There can not be empty lines; # lines are comments and are ignored.
#
# The general format is TEXT_TAG for what the lines are.
# Valid TEXT_TAGS:
#      COMMAND_INTERFACE - says the following flag is a CommandInterface
#      SENSOR - says the sensor to instantiate
#      REPORT_INTERFACE - says the following flag is a StatusReporter
#      IO_CHANNEL - the method by which images are output.
#      TEC - declares a TEC is present for control.
#
# Launch the application by executing:
#     camera_application -f CIS1910_GIGE
#
# --------------------------------------------------------------------------- #
#
# Sensor:
#      There can only be one "sensor" object per board as this represents the
#      headboard. SENSOR must be the first TEXT_TAG or the -f must be preceded
#      by a valid -s command.
#  
# Valid Sensors:
#     3 - CIS1910; MUST be followed by the /dev/ node for the spi device.
SENSOR
3
/dev/spidev3.0
# Command Interfaces:
#      There can be N CommandInterface objects for each possible mode of 
#      command entry. The command interface will control the IO channel 
#      preceeding it if applicable. There can be many CommandInterface objects 
#      after a single IO Channel. CommandInterface objects may also be an 
#      IO Channel; in these cases, just instantiate the CommandInterface and it
#      it will automatically use itself as the IO Channel. MityViewer will use
#      a provided IOChannel by default if one is provided.
#
#      Each CommandInterface MUST be preceeded by an IO_CHANNEL to control
#
# Valid command interfaces:
#      0 - CameraLink serial interface; should be followed by the /dev/ path to
#          the serial port device.
#      1 - stdin console interface.
#      2 - MityViewer acts as the interface.
#      3 - Name Pipe interface.
#      4 - GIGE Vision interface.
#
# MityViewer acts over USB without interfering to other components.
COMMAND_INTERFACE
2
3
IO_CHANNEL
0
0xFF240000
IO_CHANNEL
3
3
COMMAND_INTERFACE
4
0
# IO Channel:
#      There can be N IO Channels for each method of IO. These should be placed
#      before the Command Interface(s) which controls them.
#
# Valid IO Channels:
#      0 - CameraLink; This currently is for both Expanded and Base modes.
#          Following line should be the start address of the CameraLink FPGA 
#          component with the proper prefix for the base (0x - hex, 0 - octal).
#      1 - Filesystem; This outputs to the filesystem. Configuration support is
#          possible through CameraLink Serial and stdin currently.
#      2 - Buffered Camera Link;
#      3 - GIGE Vision
# Report Interface:
#     There can be N StatusReporter objects for each possible way of reporting
#
# Valid report interface flags:
#     0 - A PCA9553; next line should be "bus_addr_r_g_b"
REPORT_INTERFACE
0
1_0x62_1_2_0
# TEC Cooler:
#    There can be only one TEC cooler and it must follow all CommandInterface
#    declarations that should be able to control the TEC cooler. If the TEC 
#    should not be controlled by a CommandInterface, declare that 
#    CommandInterface after the TEC declaration.
TEC
0
1_0x63
