Jump to content

Stacker

Active Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by Stacker

  1. i can't find this "Check the helpfile for "technology" and play with the different options available. "
  2. i have reinstalled all package. (tryed uninstall/install) same problem in safe mode run... i uninstall amd video driver and now work..
  3. Hi i have a big issue with scite. in win7 stop working. when i open scite or a file au3 text is not visible (grey or black backgrounds) if i copy all and paste on notepad i have full text. i think is d2d dll . if i download from scintilla (non autoit version) i have no problem but i can't compile with it.
  4. You can fill "$empty" with header at line 0 but you need to write $empty[1] next add value you want and redim o delete header
  5. Hi all, i want to start a new application that capture a screen or image from webcam an read all barcode inside the picture. I have test this code https://www.autoitscript.com/forum/topic/27925-webcam-example/ Works fine for my webcam. Now i need to read all barcodes (code 128 code39, no 2d) inside the picture. I have found this https://www.codeproject.com/Articles/42852/Reading-Barcodes-from-an-Image-III It's possible to make a dll from VB source i linked with this parameters : filename, Array of barcode founded, error code and launch from Autoit with function ? Anyone can help me to make dll and autoit function, i don't know VB. Thanks
  6. Thanks TheXman code work fine, i make mistake with calculator 560 is the correct value. Now i need to understand your code row by row with help file
  7. Finally i do with COM udf, i send command from autoit and picmicro get data back. I work on micro code to solve my problem..The com udf works fine
  8. Hi i need help with conversion of data received from serial. I read hex value 30 8C in binary 00110000 10001100 (16 bit) i need to have result decimal of 561 (i try all but i crash my head on the wall) so : adc send a 10 bit value with first number "30" as LSB and the MSB (2 bits) are the 2 most left (6-7) of second number in binary other bits 0-5 need to discard MSB LSB RESULT I NEED IS 10xxxxxxxx 00110000 10 00110000 i try with: Local $ret = _CommGetLine(@CR, 100, 1000) ; return 308C $retL =stringtobinary(StringLeft($ret,1)) ; get first char as LSB $retH = stringtobinary(StringRight($ret,1)) ; get second char $reth= Bitrotate($retl,2,"W") ; then try but nothing to do $ret = $reth+$retl ; this sum need to be 561 please help me thanks a lot
  9. Thanks, works. I send command from pc and micro back the response. But i need to know how i can retry more data (sort of protocol). Ex: if i send one command Adc1 wait for response,.adc2 wait ... etc. All work. If i try to read all ADC, 8channel, one time and send data back to pc i read everytime different value.
  10. Hi i need help for communication from/to PC to microchip PIC. i need to send "ADC1xxx" (where xxx is delimiter) to microcontroller via serial port and wait for response (with timeout) i need to send other "commands" and waiting always a response from microcontroller. can anyone help me Yhanks so much
  11. Wow thanks. I use Opt("GUIOnEventMode", 1) in my code so i think your code can't work. I try
  12. it's an idea. If i can't do "real time context menu" Thanks
  13. sorry, but it's difficult to post a small runable reproducer..... and my code it's very complicated. I read database (sql) and populate the Listview... i try to change routine GUIgetmsg to read Secondary Mouse button and create the Context menu in real time with item enable or disabled dependig to value read in listview
  14. Sure, but i need first to read value with this code Local $indexSelected = ControlListView("", "", $idListView, "GetSelected") local $thisSelected = ControlListView("", "", $idListView, "GetText", $indexSelected, 1) and Disable Item when if find a specific value $thisselected. But when i press mouse right button on listview menu appear and can't modify in real time. So i need alternative code.... my not work properly
  15. Hi all, i need to enable/disable an item($listitem3) on context menu if find a specific value in listview ($idlistview).The item start disable (see code) I use GUIGetMsg() in my code $listtxt = GUICtrlCreateContextMenu($idListView) $listitem1 = GUICtrlCreateMenuItem("Ignore", $idListView) $listitem2 = GUICtrlCreateMenuItem("Remove Ignore", $idListView) $listitem3 = GUICtrlCreateMenuItem("Provide", $idListView) GUICtrlSetState(-1,$GUI_disable) Any suggestion ? Thanks
  16. Hi Morthawt Hi, i know this topic is old but i hope someone responds. I can't understand how key is unique. i explain.The serial code generator generate key with customer/details etc but all keys generated with different customer/details work with serial code checker. how can I do so that the key functions only for a specific installation. My idea is: user need to compile form (name,company etc) then retrive Hardware ID. this information is generate "pre-key" User send this information to me and i generate the key This key need to work only for that software. other suggestions are welcome thanks
  17. SOLVED - Sorry, today i need more coffe I reWrite code now variable $req"SELECT ...." is not argument of function. I call without arg. _SqliteQuery() _arraydisp working outside. Coffe work!!
  18. Hi jchd, code is to long... I startup and shutdown at query function because i use once in 6-7 hour i declare the variable with Global $aResult, $iRows, $iColumns, $iRval,$req at the start of my script
  19. Hi all i have this problem, I need to call sometimes the function below and i need return value outside. But when i write _Arraydisp($aResult) inside function show result, when i put outside nothing to show Func _SqliteQuery($req) _SqlStart() $iRval = _SQLite_GetTable2d (-1, $req, $aResult, $iRows, $iColumns) _SQLite_Close() _SQLite_Shutdown() EndFunc
  20. Thanks works fine
  21. Hi all i need to create some picture (1000 plus) in GUI i want to use variable like $n do $n=$n+1 Local $iPic & $n = GUICtrlCreatePic("", $x, $y, 50, 50) until $n = 1000 but i receive this error No variable given for "Dim", "Local", "Global", "Struct" or "Const" statement. Please help me, thanks
  22. The file is a "cad output" for printed circuit board. the steps are : - read file to array ( this no problem ) - plot in windows the coordinates ( plot in scale object or shape from "library" -> package ) - retrive information (string) on mouse over object or shape. I think the possible "solution" is to draw shape, for example filled red rectangle and: if color is red i retrive mouse coordinates if mouse is in range ( tolerance) at part center or in other way ( i don't know how ) i search in array the coordinates near the value and retrive the information i need so green background window with red or other color "box". suggestions are appreciated
  23. Hi all, i have a file with coordinate ( ID,code,x,y,rotation,package,description) like this : C2,CC001_100N,104445,69357,180,T-0603-08,100nF 10% 16V X7R 0603 can i plot this file on screen with rectangle or picture related to package. Is possible on mouse over get information like "C2 CC001_100N T-0603-08 100nF 10% 16V X7R 0603" ? thanks for any tips
×
×
  • Create New...