]> jspc29.x-matter.uni-frankfurt.de Git - radhard.git/commitdiff
Added Dennis to Notification sending function
authorBenjamin Linnik <blinnik@jspc28.x-matter.uni-frankfurt.de>
Thu, 22 Aug 2013 12:04:48 +0000 (14:04 +0200)
committerBenjamin Linnik <blinnik@jspc28.x-matter.uni-frankfurt.de>
Thu, 22 Aug 2013 12:04:48 +0000 (14:04 +0200)
README.txt
bot/Functions/SendNtfctn.au3
bot/Mimosa_Autorun.au3
bot/bot backup.rar
bot/config.ini

index afdab9bedb0e07cfd500ee465c030146ea2d73c3..9b51ff98f9dcfdcd84a0a1b2ba397cbd6503a3cc 100644 (file)
@@ -1 +1,5 @@
 Radiation Hardness Stuff
+
+
+###### bot #######
+A script to automatically control the softwarte for the Mimosa chips.
index ac9847ef53eb97050a56dec8314285a5f37dc0a8..58318716eb91e287fe46e61977701bb991956e16 100644 (file)
@@ -26,8 +26,8 @@ Func SendNtfctn($text)
        EndIf
 
        If $notifyDennis Then
-          ;$oHTTP.Open("GET", "http://autoremotejoaomgcd.appspot.com/sendmessage?key=APA91bEejQPoLUIipcNpfeDvNoa5Bd48AASVBHRphY4ySu8U2FSfuDym2iHdkC_YJ2zyhhbVXVB0oRacd_QmDFsrNRATF0rT4b7pqIHj8EeUrOdq0s_gQq7BE0ERaUfHHikhet06D8ff8BUXe8uVZ5RqoI2ygWc48Q&message=RadHard:%20" & $text & "&password=TannenbaumSaftSchorle")
-          ;$oHTTP.Send()
+          $oHTTP.Open("GET", "http://autoremotejoaomgcd.appspot.com/sendmessage?key=APA91bHCZjLkmISyt3lHjn-ym1Md9SymV5hKq05gxuPKXSMVm6e1rphU55sjiQNfQOIUpzoNqCU8kGXLwDJTRksMBRgk62dW5N_Go69dchFvfYqNIKKrvG26FGBPjKea06PU6IPxLPm0WWSM53k7QIQj0EZtMSNxpg&message=RadHard:%20" & $text & "&password=mimosa")
+          $oHTTP.Send()
        EndIf
 
        If $notifyStefan Then
index 1c58ae841359604aa89fbbd5154f073ebf68f8f4..d14a8666ea5bbcaa7c8f463107d71487f6af289c 100644 (file)
@@ -120,7 +120,7 @@ If (Not @error) And IsObj($oExcelDoc) Then ; Check again if everything went well
                        Sleep(500)
                        $i = $i + 1
                        If ($i > 20) Then
-                               Run(@AutoItExe & ' /AutoIt3ExecuteScript "' & @ScriptDir & '\Functions\SendNtfctn.au3' & @ScriptDir & '\Functions\SendNtfctn.au3" "USB Boards could be not OK!"', @ScriptDir)
+                               Run(@AutoItExe & ' /AutoIt3ExecuteScript "' & @ScriptDir & '\Functions\SendNtfctn.au3" "USB Boards could be not OK!"', @ScriptDir)
                                MsgBox(16, "Message", "USB Boards could be not OK! Please check the Debug output.")
                                Exit
                        EndIf
@@ -275,7 +275,7 @@ If (Not @error) And IsObj($oExcelDoc) Then ; Check again if everything went well
                                                $calcsecestimate = Int($calcsecestimate)
                                                $timeend = _Epoch_encrypt(_NowCalc()) + $calcsecestimate
                                                $timeend = _Epoch_decrypt($timeend)
-                                               $completelog &= _NowCalc() & " Estimated runtime: " & $calcmin & " minutes. Estimated endtime: " & $timeend & @CRLF
+                                               $completelog &= _NowCalc() & " Estimated runtime: " & $calcmin & " minutes." & @CRLF & "Estimated endtime: " & $timeend & @CRLF
                                                Run(@AutoItExe & ' /AutoIt3ExecuteScript "' & @ScriptDir & '\Functions\SendNtfctn.au3" "Estimated runtime: ' & $calcmin & ' minutes.  Will end at ' & $timeend & '"', @ScriptDir)
                                                $estimate = 1
                                        EndIf
index 60f624ff998aa71481c381ef793930444933460d..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100755 (executable)
Binary files a/bot/bot backup.rar and b/bot/bot backup.rar differ
index 2343493eb03604f1a408d95d5372cf7f6807b3b2..e652d7e685d1daa20e31bb2f69efad9b0124bb5d 100755 (executable)
@@ -1,10 +1,10 @@
 [experimental setup]
 ChipVersion = Mi34
-ChipInstalled = 1
+ChipInstalled = 14
 ExcelPath = H:\dennis doering\Arbeitsprogramme\Mimosa34\LaborbuchMi34.xls
-SystemTemperature = -20
+SystemTemperature = 20
 RadSource = Fe55
-Radiated = 1Mrad
+Radiated = 0
 [various]
-Notify = 1
+Notify = 7
 NotifyCustom = (Optional)