From 248180c1e167121a4edb09611dcc504e25ebe793 Mon Sep 17 00:00:00 2001 From: Benjamin Linnik Date: Wed, 28 Aug 2013 17:18:16 +0200 Subject: [PATCH] Fixed small bug in external clockage settings, chip froze after ending all runs with external clockage override setting on --- bot/Mimosa_Autorun.au3 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bot/Mimosa_Autorun.au3 b/bot/Mimosa_Autorun.au3 index 93d6acc..8717d0a 100755 --- a/bot/Mimosa_Autorun.au3 +++ b/bot/Mimosa_Autorun.au3 @@ -21,7 +21,7 @@ #include "Chips/Mimosa34.au3" #include "Functions/BinaryIntegerConvert.au3" #include "Functions/EpochConvert.au3" -$programversion = "0.96" +$programversion = "0.97" $FileName = IniRead(@ScriptDir & "\config.ini", "experimental setup", "ExcelPath", "H:\dennis doering\Arbeitsprogramme\Mimosa34\LaborbuchMi34.xls") ; read path to Excel file $chipversion = IniRead(@ScriptDir & "\config.ini", "experimental setup", "ChipVersion", "Mi34") ; current chip generation in the system @@ -163,7 +163,7 @@ If (Not @error) And IsObj($oExcelDoc) Then ; Check again if everything went well ExitLoop 2 EndIf $currenttemp = RunWait(@AutoItExe & ' /AutoIt3ExecuteScript "' & @ScriptDir & '\Functions\TemperatureControl.au3"', @ScriptDir) - $tempgeti = $tempgeti + 1 + $tempgeti = $tempgeti + 1 Until $currenttemp < 100000 $currenttemp = $currenttemp / 100 If ($currentline[4][0] < $currenttemp + 0.5 And $currentline[4][0] > $currenttemp - 0.5) Then @@ -358,6 +358,7 @@ If (Not @error) And IsObj($oExcelDoc) Then ; Check again if everything went well Run(@AutoItExe & ' /AutoIt3ExecuteScript "' & @ScriptDir & '\Functions\RefreshGUI.au3" "' & $completelog & '"') EndIf Next + ControlCommand("I2C control Software for Mimosa32", "", "[TEXT:Intern]", "Check") ShellExecuteWait("C:\Programme\PuTTY\plink.exe", "-ssh cerberus /home/maps/bin/vxi11_cmd 192.168.10.152 'OUTPut1:STATe Off'", "", "", @SW_HIDE) $calcmin = _DateDiff('s', $starttimetotal, _NowCalc()) ; n for minites, s for seconds $calcmin = Round($calcmin / 60, 2) -- 2.43.0