Package xal.smf.scada

Class ScadaCheckConnect

java.lang.Object
xal.smf.scada.ScadaCheckConnect

@Deprecated public class ScadaCheckConnect extends Object
Deprecated.
This class is replaced by BatchConnectionTest
This class is used to test the connections between a SCADA structure and an AcceleratorNode object. This is done without sending any data (i.e., a caget or caput command. Moreover, all the connections are tested in batch and the timeout period is specified by the user (i.e., it is not the default channel access timeout).
Since:
Mar 4, 2011
Author:
Christopher K. Allen
  • Constructor Details

    • ScadaCheckConnect

      public ScadaCheckConnect(AcceleratorNode smfDev)
      Deprecated.
      Create a new ScadaCheckConnect object connected to the given accelerator device.
      Parameters:
      smfDev - accelerator device under test
      Since:
      Mar 4, 2011
  • Method Details

    • testConnection

      public boolean testConnection(Class<?> clsScada, double dblTmOut) throws BadStructException
      Deprecated.
      Test the connections in all the channels in this DAQ data structure for the given accelerator device. The test will wait up to the given length of time before declaring failure.
      Parameters:
      clsScada - the SCADA data structure defining the connection channels
      dblTmOut - time to wait for establishing connection
      Returns:
      true if all connections were successful, false if not all connection were made within given time
      Throws:
      BadStructException - the data structure is not annotated by AScada
      Since:
      Feb 4, 2011
    • getFailedChannels

      public List<Channel> getFailedChannels()
      Deprecated.
      Returns the list of channels that failed to connect.
      Returns:
      channels not passing the connection test
      Since:
      Mar 10, 2011