Laser Property Tree

Each laser device will be represented by the following property tree structure:
  • ADAPTER:Endpoint=[NAME=INNOLAS, PORT=10011]
  • STATE:BasdaServiceStateMachine=ONLINE
  • LOGGER.REMOTE = true
  • NAME = "Innolas Nanio Serie"
  • VERSION = "00.00.01"
  • NAME=INNOLAS
  • LOGGER.LEVEL=15
  • SVC
    • LOAD = [NAME=LaserInnolas, LIB=BasdaLaserService]
    • DEVICES = [INNOLAS_1]
    • CFG
      • INTERVAL = 2000 +UNIT=millisecond
      • RECONNECTION_INTERVAL = 4000 +UNIT=millisecond
    • DEV![0..9]
      • LOAD=[INNOLAS_1, LIB=BasdaDeviceLaser]
      • DEVICE=INNOLAS_1
      • LIB=BasdaDeviceLaser
      • CON=tcp://192.168.3.171:5024
      • IS_REACHABLE:Bool=false
      • NAME="Laser Head N"
      • DIODE_STANDBY:Bool=true
      • DIODE_OPERATION_CURRENT:Float=50.0 +UNIT="%" +MIN=0.0 +MAX=100.0 +STEP=0.5 +ADJUST=true ActorMinMax
      • DIODE_STANDBY_CURRENT:Float=16.0 +UNIT="%" +MIN=0.0 +MAX=100.0 +STEP=0.5 +ADJUST=true ActorMinMax
      • PULSE_FREQUENCY:Float=10.0 +UNIT="kHz" +MIN=5.0 +MAX=200.0 +STEP=0.5 +ADJUST=true ActorMinMax
      • DIODE_1_TEMPERATURE:Float +MAX=35 +MIN=15 +ALARM=25 +UNIT="Celsius"
      • DIODE_2_TEMPERATURE:Float +MAX=35 +MIN=15 +ALARM=25 +UNIT="Celsius"
      • SHG_TEMPERATURE:Float +MAX=65 +MIN=45 +ALARM=60 +UNIT="Celsius"
      • SHG_TEMPERATURE_OFFSET:Float +MAX=5.0 +MIN=-5.0 +UNIT="Celsius"
      • WATER_FLOW:Float +MAX=10 +MIN=0 +ALARM=7.5 +UNIT="liter/minute"
      • WATER_TEMPERATURE:Float +MAX=35 +MIN=10 +ALARM=34 +UNIT="Celsius"
      • DIODE_1_OPERATING_HOURS:Float
      • DIODE_2_OPERATING_HOURS:Float
      • SW_VERSION_POWER_SUPPLY:String
      • SW_VERSION_HEAD:String
      • SW_VERSION_FPGA:String
      • EXTERNAL_TRIGGER_ON:Bool=true
      • IS_EXTERNAL_TRIGGER_ON:String
      • IS_DIODE_IN_STANDBY:String
      • MEASURED_DIODE_OPERATION_CURRENT:Float
      • MEASURED_DIODE_STANDBY_CURRENT:Float
      • MEASURED_PULSE_FREQUENCY:Float
      • MEASURED_SHG_TEMPERATURE_OFFSET:Float
      • KEY_SWITCH_STATE:String
      • SET_FULL_POWER:Bool
      • IS_SYSTEM_ENABLED:String
      • SYSTEM_ENABLED:Bool
      • SOFTWARE_KEY_POSITION:Int
      • FPK
        • START_VALUE=1650
        • FPK.RAMP=400
        • FPK.RESET_TIME=100 +UNIT="microsecond"
        • FPK.TRIGGER_SOURCE=7
The lines in bold fonts are created and dynamically updated by the laser service. Their attributes, like alarm thresholds, or Min-Max values can be overwritten in the configuration file.

Simulator

This device is used in the basda service to simulate the behavior of the Laser devices. It can be used to simulate communication and / or initialization situations. The simulator has the same properties described above, and adds the following ones:
  • DEV![0-9]
    • INITIAL_CONNECTION_FAILS:bool
    • COMMUNICATION_FAILS_AFTER_CONNECTION:int
    • RECONNECTION_FAILS_AFTER_COMMUNICATION_FAILS:int

where

  • INITIAL_CONNECTION_FAILS set to true causes a connection exception. The service tries to reconnect after (RECONNECTION_INTERVAL) seconds.
  • COMMUNICATION_FAILS_AFTER_CONNECTION causes a communication error while working after N loops.
  • RECONNECTION_FAILS_AFTER_COMMUNICATION_FAILS simulates a reconnection error during N times.

Topic revision: r1 - 30 May 2018, AndrewColson
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback