مشاهده نسخه کامل
: پورت USB
سلام
چگونه می توانم به پورت USB اطلاعات بفرستم؟
ممنون
masood hashemy
12-02-2010, 20:30
من یک سخت افزار با میکرو AVR میخوام بسازم که با زبان بیسیک نوشتمش و خروجی دیتا داره.
حالا یک برنامه هم با VB در کامپیوتر براش میخوام بنویسم.
حالا رابط بین سخت افزار و کامپیوتر پورت USB هست.
آیا ویژوال بیسیک میتونه با پورت USB کار کنه؟
به احتمال زیاد با توابع api بشه این کار رو کرد.
حالا سخت افزار شما چی هست؟
من یک سخت افزار با میکرو AVR میخوام بسازم که با زبان بیسیک نوشتمش و خروجی دیتا داره.
حالا یک برنامه هم با VB در کامپیوتر براش میخوام بنویسم.
حالا رابط بین سخت افزار و کامپیوتر پورت USB هست.
آیا ویژوال بیسیک میتونه با پورت USB کار کنه؟
نمی دونم
ولی فکر کنم برای avr از زبان c استفاده می کنند که اون هم کامپایلر
جداگانه داره.
masood hashemy
13-02-2010, 10:10
چون من میخوام vb یاد بگیرم و با ارتبط سریال با سخت افزارم برقرار کنم.
چه جوری؟
با سلام
چون شما از ميكرو كنترلرهاي AVR استفاده ميكني، حتما يك پروگرامر هم تهيه كردين.
بايد صبر كنيد تا يه نگاهي بندازم.
من فكر كنم بتونم با Qbasic بنويسم.
با c هم كه راحته.
بايد ببينم با VB چطوريه؟
با تشكر
یه سری سورس کد برای این کار پیدا کردم
ببین به درد می خورن یا نه
Barcode Reader/Scanner ...
Read or Scan Barcodes with this few line of codes.. No (API/OCX/DLL) required ... This works well with barcode scanner/reader connected to serial comm1 port, it supports Code 39/128/UPC/EAN/etc... dnt know much about this terms :)) No need for votes.. I just post this for refference, i hope this could help you, especially those who code in a POS related business.. Note: Doenst work with some barcode reader/scanner, check your mannual/driver for other type of reader/scanner.. :D For comments/questions/suggestions email @ richard_2k03@yahoo.com
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
---------- Post added at 11:06 AM ---------- Previous post was at 11:05 AM ----------
COM Detect
Simple app I use for seeing if COM ports are present and if they are in use by another app. My main use is when installing call acounting systems on PC's. I see what serial ports are free for the software to use. Nothing real complex, but a usefull tool.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
---------- Post added at 11:07 AM ---------- Previous post was at 11:06 AM ----------
CONTROL PORTS for NT and W2K
Here is what you need. Control ports from NT and W2K. You can INPUT and OUTPUT from any port. (parallel, serial, joystick, usb...)
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
---------- Post added at 11:08 AM ---------- Previous post was at 11:07 AM ----------
Data Logger
(Refer to DataLogger 2 for newest version) - I wrote this program to monitor the input of an RS232 Serial Port and graphically log all activity. It acts and operates just like a Digital Storage Oscilloscope, capable of logging up to 5 hours in one file. It also has real time cursors, displaying amplitude, time and frequency. The program monitors a selected Comm Port and records the digital values sent to it (Range 0 ~ 255). It runs in two clock modes (Horiz step modes) selectable by the user. It does not send anything out the port. It reads the port only. All files are saved as DataLogger Files (*.dlg). This is a fully functional program which will allow you to hunt bugs and/or test your embedded micro projects with ease.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
---------- Post added at 11:10 AM ---------- Previous post was at 11:08 AM ----------
PCI GeniusBus Card
This is mostly for Controls Engineers that need to access a GeniusBus network and have a PCI Genius Card. For the rest, this is an example of how to map hardware memory with API (in this case dual port ram) and access that memory directly using memory offsets (indirectly mimics C++ pointers). This also shows how to mimic a C++ IOCTL Macro. Has a basic I/O handshaking setup that can port into other device communication protcols.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
---------- Post added at 11:12 AM ---------- Previous post was at 11:10 AM ----------
USB Detect and Inform to Server
Hello Friends! Iam a new user of PSC and it is my pleasure to upload my first code into it.It is a simple code with one module and one dll file to detect the unauthorised Usb in an office with the systems are connected with Lan/network.It will be very useful to monitor weather the staff is carrying important data from the office.I thank to one of the programmer from whose code i got the idea to come with this. One important thing is that to see the best results of this program you need two systems connected in Lan.Any feed back is greatly apriciated.
[ برای مشاهده لینک ، لطفا با نام کاربری خود وارد شوید یا ثبت نام کنید ]
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
یه سری سورس کد برای این کار پیدا کردم
ببین به درد می خورن یا نه
Barcode Reader/Scanner ...
Read or Scan Barcodes with this few line of codes.. No (API/OCX/DLL) required ... This works well with barcode scanner/reader connected to serial comm1 port, it supports Code 39/128/UPC/EAN/etc... dnt know much about this terms :)) No need for votes.. I just post this for refference, i hope this could help you, especially those who code in a POS related business.. Note: Doenst work with some barcode reader/scanner, check your mannual/driver for other type of reader/scanner.. :D For comments/questions/suggestions email @ richard_2k03@yahoo.com
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
---------- Post added at 11:06 AM ---------- Previous post was at 11:05 AM ----------
COM Detect
Simple app I use for seeing if COM ports are present and if they are in use by another app. My main use is when installing call acounting systems on PC's. I see what serial ports are free for the software to use. Nothing real complex, but a usefull tool.
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
---------- Post added at 11:07 AM ---------- Previous post was at 11:06 AM ----------
CONTROL PORTS for NT and W2K
Here is what you need. Control ports from NT and W2K. You can INPUT and OUTPUT from any port. (parallel, serial, joystick, usb...)
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
---------- Post added at 11:08 AM ---------- Previous post was at 11:07 AM ----------
Data Logger
(Refer to DataLogger 2 for newest version) - I wrote this program to monitor the input of an RS232 Serial Port and graphically log all activity. It acts and operates just like a Digital Storage Oscilloscope, capable of logging up to 5 hours in one file. It also has real time cursors, displaying amplitude, time and frequency. The program monitors a selected Comm Port and records the digital values sent to it (Range 0 ~ 255). It runs in two clock modes (Horiz step modes) selectable by the user. It does not send anything out the port. It reads the port only. All files are saved as DataLogger Files (*.dlg). This is a fully functional program which will allow you to hunt bugs and/or test your embedded micro projects with ease.
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
---------- Post added at 11:10 AM ---------- Previous post was at 11:08 AM ----------
PCI GeniusBus Card
This is mostly for Controls Engineers that need to access a GeniusBus network and have a PCI Genius Card. For the rest, this is an example of how to map hardware memory with API (in this case dual port ram) and access that memory directly using memory offsets (indirectly mimics C++ pointers). This also shows how to mimic a C++ IOCTL Macro. Has a basic I/O handshaking setup that can port into other device communication protcols.
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
---------- Post added at 11:12 AM ---------- Previous post was at 11:10 AM ----------
USB Detect and Inform to Server
Hello Friends! Iam a new user of PSC and it is my pleasure to upload my first code into it.It is a simple code with one module and one dll file to detect the unauthorised Usb in an office with the systems are connected with Lan/network.It will be very useful to monitor weather the staff is carrying important data from the office.I thank to one of the programmer from whose code i got the idea to come with this. One important thing is that to see the best results of this program you need two systems connected in Lan.Any feed back is greatly apriciated.
برای مشاهده محتوا ، لطفا وارد شوید یا ثبت نام کنید
ممنون خیلی خوب بود
vBulletin , Copyright ©2000-2025, Jelsoft Enterprises Ltd.