Add to Google

Go Back   HOME - FORUMS - > GENERAL INFORMATIONS > Online Class Room > Programming


Reply
 
LinkBack Thread Tools Display Modes
Old 05-08-2008, 08:12 AM   #1 (permalink)
Zombies
 
lengcallrobot's Avatar
 
Join Date: Apr 2008
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
lengcallrobot is on a distinguished road

Interrupt in VB


Hi everybody,

Do anyone know how to use hardware interrupt with Visual Basic 6 ?

Best regards
lengcallrobot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-11-2008, 09:58 PM   #2 (permalink)
Moderator
 
Pokemon's Avatar
 
Join Date: Dec 2007
Location: WA
Posts: 1,831
Thanks: 356
Thanked 35 Times in 11 Posts
Pokemon is on a distinguished road
sorry man that one I dont know te. What is interrupt?
Pokemon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-11-2008, 10:00 PM   #3 (permalink)
Moderator
 
Pokemon's Avatar
 
Join Date: Dec 2007
Location: WA
Posts: 1,831
Thanks: 356
Thanked 35 Times in 11 Posts
Pokemon is on a distinguished road
Read this maybe can help you man

[MEMBERS ONLY - REGISTER NOW...]
Pokemon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-12-2008, 11:07 PM   #4 (permalink)
អាលិក កីម
 
AlexKim's Avatar
 
Join Date: May 2007
Location: Seattle, WA
Posts: 1,492
Thanks: 92
Thanked 46 Times in 35 Posts
AlexKim is on a distinguished road
Send a message via AIM to AlexKim
bong s_keo might know this one, let's get him in hehe
__________________
AlexKim is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-12-2008, 11:34 PM   #5 (permalink)
Zombies
 
lengcallrobot's Avatar
 
Join Date: Apr 2008
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
lengcallrobot is on a distinguished road
Thank you very much to all of you.
I just look at the link "How to Use CALL INTERRUPT with QB, Basic PDS & VB (Complete)"
from Pokemon. However, I cannot test it right now because what I want is:

. I want to use interrupt in VB6 to check the interrupt event on LPT port. Normally, for COM port, the interrupt on received bit is embeded on MSCOMM.ocx but it is not the case of LPT
. I need to build hardware to test the LPT port. Now, I am in Japan, I cannot do this.
. I am looking for the OCX or DLL that have build in such fuction. I found it from the internet
the DLL such as inpout32.dll that can be used with window Me, NT, and XP (what I have tested) but this DLL provide only the read and write ability to LPT port.

As you know, interrupt is very important when we want to track the input that will happen unpredictable in the time. The pull-up method (scanning) cannot be used in the case the input will happen very short.

Anyways, thank for your effort and kind heart. What I consider is not the result but your heart. Hope one day, I will find what I want.

Right now, I can use COM port (fully), LPT port (fully if without interrup), and USB port (beginning).

Take care with love to all of you
lengcallrobot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2008, 12:55 AM   #6 (permalink)
Zombies
 
lengcallrobot's Avatar
 
Join Date: Apr 2008
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
lengcallrobot is on a distinguished road
Oh! I forget to tell you that if anyone need the book concerning about COM port, LPT port and USB port, the below link maybe helpfull:

COM: [MEMBERS ONLY - REGISTER NOW...]
LPT: [MEMBERS ONLY - REGISTER NOW...]
USB: forget the link but if you have account in rapidshare, you can find it from that. I will update it later or send the pdf file to you whenever you need it.

Take care
lengcallrobot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-13-2008, 06:55 PM   #7 (permalink)
Moderator
 
Pokemon's Avatar
 
Join Date: Dec 2007
Location: WA
Posts: 1,831
Thanks: 356
Thanked 35 Times in 11 Posts
Pokemon is on a distinguished road
I know very litter about programming. but I dont know about COM, LPT at all. what the point to use COM, LPT,...
Pokemon is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 05-14-2008, 01:24 PM   #8 (permalink)
Zombies
 
lengcallrobot's Avatar
 
Join Date: Apr 2008
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
lengcallrobot is on a distinguished road
Personally, as I am in electrical and electronic engineer, I know how to use the Microcontroller to control or to build some stand alone equipment in most of the time. However, if we can use parallele port (LPT) or serial port (COM) to communicate with external world, we can get many benifit, especially when the stand alone requirement are not needed. With PC, we can store alote of data. Let say, we want to monitor the weather for 10 years, in that case, a PC with external hardware such as temperature sensors, pressure, humidity, water level... may be used to monitor the surrounding environment and then send the report to PC to store up. As the USB is more popular in this era, I would like to used USB as well as the communication port between PC and my custom hardware.

Take care with love.
__________________
May God bless our lovely country !
lengcallrobot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

« - | - »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Forum Jump


All times are GMT -5. The time now is 06:40 PM.


Watch Khmer Movies Online - Watch Khmer Online TV
Powered by vBulletin® and Copyright ©2007 - 2008 by KhmerFun.NET Group Inc.

DISCAIMER: We do not host any of the media files. Links are gather and submit by user from (megaupload.com,rapidshare.com,youtube.com,veoh.com,dailymotion.com,google video). If you have any copyright issues please contact appropriate media file owners and/or hosters. This is not about car, insurance or health gosship, money or loan. It's about fun!