dropController V3: debug log File
Saved: 19/06/2019 12:55:03 PM

Program start

Enter formatSettings()

Enter updateLoopPage()
Enter loadSettings()
    CMD=Version  VAL=3
    CMD=Loop  VAL=ON
    CMD=ButOrTimer  VAL=BUTTON
    CMD=WaitTime  VAL=6000
    CMD=MirrLockup  VAL=OFF
    CMD=MirrLockTime  VAL=1000
    CMD=CT_Pulse  VAL=050
    CMD=FT1_Pulse  VAL=050
    CMD=FT2_Pulse  VAL=050
    CMD=FT3_Pulse  VAL=050
    CMD=Sound  VAL=OFF
    CMD=Leo  VAL=NO
    CMD=Debug  VAL=OFF
  settings loaded
Enter formatSettings()

Enter updateLoopPage()

Enter load drop data
 - dropData file found
  dropData loaded = Saved: 19/06/2019 12:44:26 PM
  dropData loaded = numDrops|9
Num Drops changed to  9
Enter updateRows()
Enter formatValues()
  dropData loaded = Bulb|ON
  dropData loaded = CT|0000|INC|000|ON
  dropData loaded = FT1|1000|INC|000|ON
  dropData loaded = FT2|1000|INC|000|ON
  dropData loaded = FT3|1000|INC|000|ON
  dropData loaded = Drop -s-start-ID-val-size- ID-val 
  dropData loaded = Drop1|1|0100|INC|000|0042|INC|000
  dropData loaded = Drop2|2|0207|INC|000|0027|INC|000
  dropData loaded = Drop3|3|0216|INC|000|0030|INC|000
  dropData loaded = Drop4|4|0400|INC|000|0030|INC|000
  dropData loaded = Drop5|5|0500|INC|000|0030|INC|000
  dropData loaded = Drop6|4|0600|INC|000|0030|INC|000
  dropData loaded = Drop7|3|0700|INC|000|0030|INC|000
  dropData loaded = Drop8|2|0800|INC|000|0030|INC|000
  dropData loaded = Drop9|1|0900|INC|000|0030|INC|000
  dropData loaded = END
Exit load drop data
Enter formatValues()
Enter updateRows()
Enter formatValues()
MainStart_BTN OFF
COM port list updated
Initialised and ready to start


Enter Settings TAB
Enter formatSettings()

Enter updateLoopPage()
connect_BTN_Click
  SerialPort1.IsOpen= False
timer_updateConnectButton_Tick
COM COM10 opened
sent com: [HELLO]
HELLO sent

MainStart_BTN ON
Enter activateValveDrainButtons()
Enter formatSettings()

Enter updateLoopPage()

Enter saveSettings()
Enter formatSettings()

Enter updateLoopPage()
  settings saved

Enter closeValves()
  serial port is open

disableValveDrainButtons()
  Exit Settings

ENTER SENSOR TAB
    sensorControl_All_DISABLE()
    sensorControl_CameraControls_DISABLE())
    sensorControl_ActivateButton_DISBALE()
    sensorControl_OnOff_Buttons_ENABLE()
    sensorControl_CameraFlash1Controls_ENABLE()
sent com: [ZENTER]
    Sensor 1 On/Off button to ON
    sensorControl_Sensor1Controls_ENABLE())
    sensorControl_ActivateButton_ENABLE()
sent com: [Z1ON]
EXIT SENSOR TAB
sent com: [ZX]
sent com: [ZEXIT]

ENTER SENSOR TAB
    sensorControl_All_DISABLE()
    sensorControl_CameraControls_DISABLE())
    sensorControl_ActivateButton_DISBALE()
    sensorControl_OnOff_Buttons_ENABLE()
    sensorControl_CameraFlash1Controls_ENABLE()
sent com: [ZENTER]
    Sensor 1 On/Off button to ON
    sensorControl_Sensor1Controls_ENABLE())
    sensorControl_ActivateButton_ENABLE()
sent com: [Z1ON]
   ACTIVATE button
    sendSensorCommands()
sent com: [Z1L2H]
sent com: [Z1T0512]
    sendSensorCommands2()
sent com: [ZCB0000050]
sent com: [ZF1OFF]
sent com: [Z1GO]
com = [ZZ]: TRIGGERED
MESSAGE: M,Triggered: sensor 1 = 513
   ACTIVATE button
    sendSensorCommands()
sent com: [Z1L2H]
sent com: [Z1T0512]
    sendSensorCommands2()
sent com: [ZCB0000050]
sent com: [ZF1OFF]
sent com: [Z1GO]
com = [ZZ]: TRIGGERED
MESSAGE: M,Triggered: sensor 1 = 519
   ACTIVATE button
    sendSensorCommands()
sent com: [Z1L2H]
sent com: [Z1T0512]
    sendSensorCommands2()
sent com: [ZCB0000050]
sent com: [ZF1OFF]
sent com: [Z1GO]
com = [ZZ]: TRIGGERED
MESSAGE: M,Triggered: sensor 1 = 512
Close X selected
Program closing

Enter closeValves()
  serial port is open

disableValveDrainButtons()

Enter saveSettings()
Enter formatSettings()

Enter updateLoopPage()
  settings saved

Enter saveDropData()
Enter formatValues()
  numDrops|9
  Bulb|ON
  CT|0000|INC|000
  FT1|1000|INC|000|ON
  FT2|1000|INC|000|ON
  FT3|1000|INC|000|ON
  Drop1|1|0100|INC|000|0042|INC|000
  Drop2|2|0207|INC|000|0027|INC|000
  Drop3|3|0216|INC|000|0030|INC|000
  Drop4|4|0400|INC|000|0030|INC|000
  Drop5|5|0500|INC|000|0030|INC|000
  Drop6|4|0600|INC|000|0030|INC|000
  Drop7|3|0700|INC|000|0030|INC|000
  Drop8|2|0800|INC|000|0030|INC|000
  Drop9|1|0900|INC|000|0030|INC|000
Exit saveDropData()
sent com: [ZEXIT]

Enter closeValves()
  serial port is open

disableValveDrainButtons()
sent com: [BYE]
COM port closed
MainStart_BTN OFF
Enter disableValveDrainButtons()
END
