ConsultingJoe Posted May 1, 2006 Share Posted May 1, 2006 Hi, I just got this IgorPlug-USB(AVR) in the mail today but i dont know exactly how to use it. it came with this dll that is supposed to have functions for it. Is there a way to find what functions are availible in this??? THnaks [center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 1, 2006 Moderators Share Posted May 1, 2006 Hi, I just got this IgorPlug-USB(AVR) in the mail today but i dont know exactly how to use it. it came with this dll that is supposed to have functions for it.Is there a way to find what functions are availible in this???THnaksIt didn't have a list of API calls for it? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
ChrisL Posted May 1, 2006 Share Posted May 1, 2006 See attached [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
ConsultingJoe Posted May 1, 2006 Author Share Posted May 1, 2006 (edited) It didn't have a list of API calls for it?how did you search it though Edited May 1, 2006 by zerocool60544 [center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 1, 2006 Moderators Share Posted May 1, 2006 See attached I did that too, but doesn't help with parameter calls lol. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
ChrisL Posted May 1, 2006 Share Posted May 1, 2006 (edited) I did that too, but doesn't help with parameter calls lol.Yeah I know, he needs the API reallyhow did you search it thoughhttp://www.nirsoft.net/utils/dll_export_viewer.html Edited May 1, 2006 by ChrisL [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
ConsultingJoe Posted May 1, 2006 Author Share Posted May 1, 2006 Yeah I know, he needs the API reallyhttp://www.nirsoft.net/utils/dll_export_viewer.htmlthanks guys, I dono what to do I just got this. It says that it works with a program called girderhere is the sitehttp://www.alldiy.info/usb.htmlLet me know what you think [center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center] Link to comment Share on other sites More sharing options...
ConsultingJoe Posted May 1, 2006 Author Share Posted May 1, 2006 any ideas about dllcalls. I really dont understand how to use it [center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 1, 2006 Moderators Share Posted May 1, 2006 any ideas about dllcalls. I really dont understand how to use itNo need to post anymore, you need to do 1 of 4 things.1. If this was a .dll sent to you from the manufactuer, then look through their support information to see if they have the "API" calls to the functions.2. If they have a website look to see if you can find the "API" calls to the functions.3. Google to see if you can find the "API" calls to the functions.4. Contact the developer to see if they will get the "API" calls to the functions.Get the trend here? Without "API" calls, is kind of like pissing into the wind. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
ConsultingJoe Posted May 1, 2006 Author Share Posted May 1, 2006 (edited) found this on web... so far...#define IgorUSBDLL "IgorUSB.dll"; //return values from IgorUSBDLL functions: #define NO_ERROR 0; #define DEVICE_NOT_PRESENT 1; #define NO_DATA_AVAILABLE 2; #define INVALID_BAUDRATE 3; #define OVERRUN_ERROR 4; int __stdcall DoGetInfraCode(uchar * TimeCodeDiagram, int DummyInt, int * DiagramLength); int __stdcall DoSetDataPortDirection(uchar DirectionByte); int __stdcall DoGetDataPortDirection(uchar * DataDirectionByte); int __stdcall DoSetOutDataPort(uchar DataOutByte); int __stdcall DoGetOutDataPort(uchar * DataOutByte); int __stdcall DoGetInDataPort(uchar * DataInByte); int __stdcall DoEEPROMRead(uchar Address, uchar * DataInByte); int __stdcall DoEEPROMWrite(uchar Address, uchar DataOutByte); int __stdcall DoRS232Send(uchar DataOutByte); int __stdcall DoRS232Read(uchar * DataInByte); int __stdcall DoSetRS232Baud(int BaudRate); int __stdcall DoGetRS232Baud(int * BaudRate);cool, that looks like a start, thanks. Can you translate that??? Edited May 1, 2006 by zerocool60544 [center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 1, 2006 Moderators Share Posted May 1, 2006 cool, that looks like a start, thanks. Can you translate that???http://www.autoitscript.com/forum/index.php?showtopic=7072 Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Simucal Posted May 1, 2006 Share Posted May 1, 2006 http://www.autoitscript.com/forum/index.php?showtopic=7072Haha, I never ran across that before, thanks for the link Smoke.-Sim AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc) Link to comment Share on other sites More sharing options...
ConsultingJoe Posted May 2, 2006 Author Share Posted May 2, 2006 I tried this: Sleep(1000) $result = DllCall("IgorUSB.dll", "str", "DoGetInfraCode", "TimeCodeDiagram", 0, "DiagramLength", 0 ) ConsoleWrite( $result ) it just keeps returning 0 any other ideas, I read that topic but I still dont completely understand how to just write a dllcall [center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 2, 2006 Moderators Share Posted May 2, 2006 (edited) I tried this: Sleep(1000) $result = DllCall("IgorUSB.dll", "str", "DoGetInfraCode", "TimeCodeDiagram", 0, "DiagramLength", 0 ) ConsoleWrite( $result ) it just keeps returning 0 any other ideas, I read that topic but I still dont completely understand how to just write a dllcalldll calls return arrays... So $result[0] is probably what your after.... and your call looks incorrect (I provided a link earlier to look at). (hope the dll is in the script directory) $result = DllCall("IgorUSB.dll", "str", "DoGetInfraCode", 'str', $TimeCodeDiagram, 'int', $DummyInt, 'int', $DiagramLength) MsgBox(64, 'Info:', @error & @CR & $result[0])I don't know what uchar would be, so I substituted 'str', but I would look and try all if this doesn't work. Also, I can't imagine that the parameters should be left with the paramater names, they are probably meant to be filled with something. I don't know what the values are of the variables I made... what have you found out yourself? Edited May 2, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
nfwu Posted May 2, 2006 Share Posted May 2, 2006 I tried this: Sleep(1000) $result = DllCall("IgorUSB.dll", "str", "DoGetInfraCode", "TimeCodeDiagram", 0, "DiagramLength", 0 ) ConsoleWrite( $result ) it just keeps returning 0 any other ideas, I read that topic but I still dont completely understand how to just write a dllcallFunction Def: int __stdcall DoGetInfraCode(uchar * TimeCodeDiagram, int DummyInt, int * DiagramLength); Resulting AutoIt DllCall: $TimeCodeDiagram = "<value for TimecodeDiagram>" $DiagramLength = DLLSTRUCTCREATE("int") DllStructSetData ( $DiagramLength, 1, <put your value for diagramlength here> ) $DummyInt = <value for dummyint> $result = DllCall("IgorUSB.dll", "int", "DoGetInfraCode", "str", $TimeCodeDiagram, "int", $DummyInt ,"int_ptr", DllStructGetPtr ($DiagramLength, 1) ) ConsoleWrite( $result ) Maybe try that? #) TwitterOut of date stuff:Scripts: Sudoku Solver | Webserver | 3D library (Pure AutoIt) | Wood's GadgetsUDFs: _WoodUniqueID() | _DialogEditIni() | _Console*() | _GetIPConfigData() | _URLEncode/Decode() Link to comment Share on other sites More sharing options...
ConsultingJoe Posted May 2, 2006 Author Share Posted May 2, 2006 Thanks a lot guys. I will try that. I finaly got the girder program to work with my USB IR. I made some WMP macros for it, heres a screen shot. I really would rather make my own script to handle this tho because I want to add it to my robot. [center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center] Link to comment Share on other sites More sharing options...
ConsultingJoe Posted May 2, 2006 Author Share Posted May 2, 2006 Function Def: int __stdcall DoGetInfraCode(uchar * TimeCodeDiagram, int DummyInt, int * DiagramLength); Resulting AutoIt DllCall: $TimeCodeDiagram = "<value for TimecodeDiagram>" $DiagramLength = DLLSTRUCTCREATE("int") DllStructSetData ( $DiagramLength, 1, <put your value for diagramlength here> ) $DummyInt = <value for dummyint> $result = DllCall("IgorUSB.dll", "int", "DoGetInfraCode", "str", $TimeCodeDiagram, "int", $DummyInt ,"int_ptr", DllStructGetPtr ($DiagramLength, 1) ) ConsoleWrite( $result ) Maybe try that? #)I tried that, and there is no return value at all? [center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center] Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 2, 2006 Moderators Share Posted May 2, 2006 (edited) Again, I know that was a simple mistake on nwfu's part... the return value is an array. Edit: If the function call fails then @error is set to 1. Otherwise an array is returned that contains the function return value and a copy of all the parameters (including parameters that the function may have modified). $return[0] = function return value $return[1] = param1 $return[2] = param2 ... $return[n] = paramn Edited May 2, 2006 by SmOke_N Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
ConsultingJoe Posted May 2, 2006 Author Share Posted May 2, 2006 (edited) Again, I know that was a simple mistake on nwfu's part... the return value is an array.OMG, I just forgot that, I added: ConsoleWrite( $result[1] ) And it switches on/off (H/L) and then I sent a code with a remote and got the codes. THANKS SOOO MUCH!!! Now... there are 4 var from the array with no command I get 10 10 0 10 and when theres a ir code I get 100 0 (those squares, (@CRLF)) =>could this be a handle var??? Edited May 2, 2006 by zerocool60544 [center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center] Link to comment Share on other sites More sharing options...
Lakes Posted May 2, 2006 Share Posted May 2, 2006 Is this device an IR transmitter as well? Learning remote anyone? You could have custom layouts like the Philips Pronto... 2015 - Still no flying cars, instead blankets with sleeves. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now