Member Login
Search
Past & Future Posts
Sponsored Communities
Neat Stuff

Visit our shop for nerds in control lifestyle products.
Cool stuff
Thermal Overload
The threads that wouldn't die...
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
Fortune
Love at first sight is one of the greatest labor-saving devices the
world has ever seen.
world has ever seen.
RSS Feed
www.control.com/rss
from the Automation List department...
How to send data over serial port RS232 using vb6Hi,
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.
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- Portable computing: Operators can be mobile with rugged HMI
- Whitepaper: Small form factor HMIs evolve
- Remote control: Get behind firewalls—securely
- Security: Yokogawa partners to add industrial firewall
- Performance intelligence: SmartSignal, General Physics deal focuses on expertise exchange
- ABB update: User conference, exhibition, flow, SCADA, wireless
- Interoperability: OPC for embedded applications
- Learning: Profibus, FDT seminars; FDT testing
- Fun engineering: FIRST Robotics Championship
- Rockwell to acquire Incuity Software; research shows how it could help
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.
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Patronize our advertisers!



