Member Login
member
passwd
remember me on
this computer.

- join now -
- forgot username or password? -

Search

Jump to a Date

Sponsored Communities
Cool stuff
Select a topic of interest:
...and press:
Neat Stuff
Control.com Stuff

Visit our shop for nerds in control lifestyle products.

Fortune
Whenever I hear anyone arguing for slavery, I feel a strong impulse to
see it tried on him personally.
-- A. Lincoln
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
advertisement
from the Forum department...
Communication Via Com Port using VB6.0
Communications systems and equipment. topic
Posted by Bhushan Deshpande on 26 November, 2008 - 2:19 am
I need a little bit of help in the following scenario.

I am doing master slave communication using VB6.0. My PC is Master while a device on serial port is slave. I am sending a query to it (in hex, query is 02 82 00 00 84). After that the device is going to reply.

Please let me know the signal settings for the port (e.g.RTSEnable, RThreshold, etc.). After sending the query, what changes are supposed to be made to make the receive process enable? Also let me know if any other process is to be followed.

If possible contact on dbhushan at gmail. com


Posted by yantsi on 27 November, 2008 - 2:15 am
I think this thing depends on what type of device you use now.


Posted by Bhushan Deshpande on 2 December, 2008 - 11:39 pm
Hi, thanks for the reply.

My device is a modem and I am sending a query in the HEX format. The device is also sending responses in HEX format with more or less bytes. Please tell me the signals, (RTSEnable, Rthreshold, etc.) settings and how to store the bytes in temp variable and which data type to be used.

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2009 Reed Business Information. Subject to its Terms of Use.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2009 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.

Internet Explorer 6.0 Fix

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!