Jump to content

MikePan

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by MikePan

  1. It will show the password is incorrect. Please try again. Any one meet the issue?
  2. Nice, I modified the code from <Global $DigiDispSpecs[100][10]> to <Global $DigiDispSpecs[1000][10]> And then execute the program around 24hrs, this issue not happened. Thank you very much. 😁😁😁
  3. ok, let me try. Thank you brother~
  4. Thanks brother, could you provide the func code -> Func _DigitalDisplay_Remove I cannot find the _DigitalDisplay_Remove function in the DigitalDisplay.au3 Thank you~
  5. Hi Sir, Below is my code: I have created a click button for reading "No09-Temp.txt" and the tool will auto click the button every 5 mins. About "No09-Temp .txt", it just 2 line as below: 22.4 41.9 The value would be updated every 3 mins from other tool provide. Thank you ;MSS ;MSS ;MSS ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp GUICtrlCreateLabel("MSS Room Temp. / RH", 1045, 480, 170, 25) GUICtrlSetFont(-1, 9, 1000) GUICtrlCreateLabel("°C", 1105, 501, 170, 25) GUICtrlSetFont(-1, 10, 1000) GUICtrlCreateLabel("/", 1118, 510, 170, 60) GUICtrlSetFont(-1, 22, 1000) GUICtrlCreateLabel("%", 1167, 522, 170, 60) GUICtrlSetFont(-1, 10, 1000) $blackgui=False ; we'll need this flag later too If $blackgui=True Then GUISetBkColor(0) ; alternative view $Clientvalue=Int(Round(FileReadLine("\\10.32.15.183\SmartPowerMeter$\No09-Temp.txt",1),3)) $Clientvalue2=Int(Round(FileReadLine("\\10.32.15.183\SmartPowerMeter$\No09-Temp.txt",2),3)) GUISetState() ; this display will vanish after its counter ($value) reaches 130 ; red digits with orange glow on black background $maxdigits=3 $top=30 $left=105 $size=45 $displayID1=_DigitalDisplay_Create($Form1_1,$left,$top,$size,$maxdigits) ; calls initialisation func upon first call ;Temp. _DigitalDisplay_AspectRatio(1.5) ; change global setting for subsequent display definitions $maxdigits=3 ; zero-padded, because the current value has fewer digits than maxdigits $top=495 $left=1045 $size=16 $displayID3=_DigitalDisplay_Create($Form1_1,$left,$top,$size,$maxdigits) ; calls initialisation func upon first call ;RH _DigitalDisplay_AspectRatio(1.5) ; change global setting for subsequent display definitions $maxdigits=3 ; zero-padded, because the current value has fewer digits than maxdigits $top=510 $left=1130 $size=10 $displayID4=_DigitalDisplay_Create($Form1_1,$left,$top,$size,$maxdigits) ; calls initialisation func upon first call _DigitalDisplay_AspectRatio() ; reset to 1 _DigitalDisplay_Show($displayID3,$Clientvalue,"black","") _DigitalDisplay_Show($displayID4,$Clientvalue2,"black","") ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp ;Temp
  6. I execute the program and wait for a long time around 3 hours and it will show error about -> $DigiDispSpecs[$displayID][0]=$left Does anyone meet this problem? Thank you
×
×
  • Create New...