Member Login
member
passwd
remember me on this computer.

- join now -

Search

Neat Stuff

Visit our shop for nerds in control lifestyle products.

Cool stuff
Select a topic of interest:
...and press:
Fortune
Love at first sight is one of the greatest labor-saving devices the
world has ever seen.
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
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
from the Automation List department...
How to send data over serial port RS232 using vb6
Languages topic
advertisement
Posted by Anonymous on 9 January, 2008 - 1:04 am
Hi,

There are a total of 30 command buttons. The buttons are arranged in 5x6 matrix. Normally the value of all the row values will be 10000000 (first 10 is default). If I click bit0 (LSB) button in the first row the output will be 10000001 for first row and 10000000 for remaining 4 rows. If I release the mouse click again the output will be 10000000 for all the rows. When I click or release the mouse I need to send 5 input to RS232 using vb6

For example If I press 3rd button in the first row then I need to send 0x84,0x80, 0x80, 0x80, 0x80 (i.e. 10000100, 10000000, 10000000, 10000000, 10000000)

Can anybody help me in coding? It's very urgent. My email id is vijayakamala @ rediffmail. com

Thanks in advance.

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2008 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-2008 Control Technology Corporation. All rights reserved.

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

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