<?xml version="1.0" encoding="iso-8859-1"?>
<system xmlns="http://www.ptcusa.com"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ptcusa.com A510.xsd" type="pyramid">
  <hosts>
    <!-- NOTE: The ip address does not matter but required to be present -->
    <host ip="129.57.228.97" name="IG2" localhost="true" />
  </hosts>

  <loopcontrollers>
    <!-- NOTE: The name must be unique for each device if there is more than one. -->
    <loopcontroller type="C400" name="C400_1" ip="192.168.55.129">
      <channels>
        <!-- False to True transition starts the acquisition -->
        <channel wire="digital_out_initiate" name="c_c400_1_initiate" init="true"/>
        <!-- Time in seconds between each sample of data, read and writable -->
        <channel wire="analog_out_period" name="c_c400_1_integration_time" units="s"/>
        <channel wire="int_out_accum_mode" name="c_c400_1_accumulation_mode"/>
        <!-- Paramters for the test pulse output -->
        <channel wire="int_out_pulse_period" name="c_c400_1_test_pulse_period" units="ns"/>
        <channel wire="int_out_pulse_width" name="c_c400_1_test_pulse_width" units="ns"/>

        <!-- Channel 1 data and readbacks -->
        <channel wire="int_in_counts_1" name="r_c400_1_channel_1_count"/>
        <channel wire="analog_in_rate_1" name="r_c400_1_channel_1_count_rate"/>
        <channel wire="analog_in_bias_1" name="r_c400_1_channel_1_bias_readback" units="V"/>
        <!-- Channel 1 configuration -->
        <channel wire="analog_out_bias_1" name="c_c400_1_channel_1_bias_command" units="V"/>
        <channel wire="analog_out_low_limit_1" name="c_c400_1_channel_1_low_limit" units="V"/>
        <channel wire="analog_out_high_limit_1" name="c_c400_1_channel_1_high_limit" units="V"/>
        <channel wire="digital_out_pulse_enable_1" name="c_c400_1_channel_1_test_pulse_enable"/>

        <!-- Channel 2 data and readbacks -->
        <channel wire="int_in_counts_2" name="r_c400_1_channel_2_count"/>
        <channel wire="analog_in_rate_2" name="r_c400_1_channel_2_count_rate"/>
        <channel wire="analog_in_bias_2" name="r_c400_1_channel_2_bias_readback" units="V"/>
        <!-- Channel 2 configuration -->
        <channel wire="analog_out_bias_2" name="c_c400_1_channel_2_bias_command" units="V"/>
        <channel wire="analog_out_low_limit_2" name="c_c400_1_channel_2_low_limit" units="V"/>
        <channel wire="analog_out_high_limit_2" name="c_c400_1_channel_2_high_limit" units="V"/>
        <channel wire="digital_out_pulse_enable_2" name="c_c400_1_channel_2_test_pulse_enable"/>

        <!-- Channel 3 data and readbacks -->
        <channel wire="int_in_counts_3" name="r_c400_1_channel_3_count"/>
        <channel wire="analog_in_rate_3" name="r_c400_1_channel_3_count_rate"/>
        <channel wire="analog_in_bias_3" name="r_c400_1_channel_3_bias_readback" units="V"/>
        <!-- Channel 3 configuration -->
        <channel wire="analog_out_bias_3" name="c_c400_1_channel_3_bias_command" units="V"/>
        <channel wire="analog_out_low_limit_3" name="c_c400_1_channel_3_low_limit" units="V"/>
        <channel wire="analog_out_high_limit_3" name="c_c400_1_channel_3_high_limit" units="V"/>
        <channel wire="digital_out_pulse_enable_3" name="c_c400_1_channel_3_test_pulse_enable"/>

        <!-- Channel 4 data and readbacks -->
        <channel wire="int_in_counts_4" name="r_c400_1_channel_4_count"/>
        <channel wire="analog_in_rate_4" name="r_c400_1_channel_4_count_rate"/>
        <channel wire="analog_in_bias_4" name="r_c400_1_channel_4_bias_readback" units="V"/>
        <!-- Channel 4 configuration -->
        <channel wire="analog_out_bias_4" name="c_c400_1_channel_4_bias_command" units="V"/>
        <channel wire="analog_out_low_limit_4" name="c_c400_1_channel_4_low_limit" units="V"/>
        <channel wire="analog_out_high_limit_4" name="c_c400_1_channel_4_high_limit" units="V"/>
        <channel wire="digital_out_pulse_enable_4" name="c_c400_1_channel_4_test_pulse_enable"/>

      </channels>
    </loopcontroller>
  </loopcontrollers>

  <interpreter>
    <devices>
      <!-- NOTE: This block enables the EPICS server -->
      <epicscas type="epicscas" name="epics_server" />
    </devices>
  </interpreter>
</system>
