943,840 Members | Top Members by Rank

Ad:
Jan 27th, 2009
0

VB hardware appli

Expand Post »
hello guys,
am a newbie here.. and i just want to ask for some help..
if any1 knows more on visual basic and how can i interface it with some hardwares (e.g. 7seg, LED, fan, Buzzer) some stuffs like that.
Can you help me understand how can i make a program for a buzzer or fan?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
atsirk is offline Offline
3 posts
since Jan 2009
Jan 27th, 2009
0

Re: VB hardware appli

hi atsirk, controlling ports in vb is not so easy, you need to create your own dll or activex control to do this.. or you can make use of MSCOMM control to manipulate the ports..

check out this site for more info..
http://www.tek-tips.com/viewthread.c...1347924&page=1
Reputation Points: 19
Solved Threads: 115
Nearly a Posting Virtuoso
cguan_77 is offline Offline
1,317 posts
since Apr 2007
Jan 30th, 2009
0

Re: VB hardware appli

Click to Expand / Collapse  Quote originally posted by cguan_77 ...
hi atsirk, controlling ports in vb is not so easy, you need to create your own dll or activex control to do this.. or you can make use of MSCOMM control to manipulate the ports..

check out this site for more info..
http://www.tek-tips.com/viewthread.c...1347924&page=1

thanks!
the DLL that we used on LED and 7segment applications were inpout.dll . can we use the same dll or not?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
atsirk is offline Offline
3 posts
since Jan 2009
Jan 30th, 2009
0

Re: VB hardware appli

if you know how to use the dll, try it out send some data to the port and check whether you'll have a signal or not..

but for buzzer or fan you might need to build a circuit..to amplify the signal coming out from your pc..

i don't think that the signal coming out from your pc will be enough to control your device... sorry that's beyond the topic from here.. this forum is just for VB.. hehehe..
Reputation Points: 19
Solved Threads: 115
Nearly a Posting Virtuoso
cguan_77 is offline Offline
1,317 posts
since Apr 2007
Jan 30th, 2009
0

Re: VB hardware appli

Click to Expand / Collapse  Quote originally posted by cguan_77 ...
if you know how to use the dll, try it out send some data to the port and check whether you'll have a signal or not..

but for buzzer or fan you might need to build a circuit..to amplify the signal coming out from your pc..

i don't think that the signal coming out from your pc will be enough to control your device... sorry that's beyond the topic from here.. this forum is just for VB.. hehehe..

the inpout DLL that we used is working for 7segment and LED applications only. i dont now if its applicable to other hardware interfacing device..
Reputation Points: 10
Solved Threads: 0
Newbie Poster
atsirk is offline Offline
3 posts
since Jan 2009
Jan 30th, 2009
0

Re: VB hardware appli

as long as you can send command to the port you can use it,

that's whyI told you, you need know how the dll works..

for example you give a command to your dll to give a number 1 display output on your segment so two LED's will be enable,

so if you use this to activate a buzzer or fan you don't need to enable two signal..but you can just send one (high) signal to your port and use this signal to activate your device..

so you need to know how the dll works and your hardware configuration also...

just be carefull, if you're not familiar with this thing, just forget it you might toast your pc..
Reputation Points: 19
Solved Threads: 115
Nearly a Posting Virtuoso
cguan_77 is offline Offline
1,317 posts
since Apr 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: dropdown VBA excel
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: EXCEL VBA reporting in a target file





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC