supervision of an instrument that communicates through rs 232 protocol
I have to do:
1) be listening on port to capture on my pc the prints that the instrument automatically sends to network printer
2) read or write values by sending a query and receiving a response. That is worth in a protocol that I have, I also know the number of characters response and other values to interpret the first timeout the answer.
I need to know how to set the values of control mscomm.ocx.
You have some examples about?
Good Answers (1)
Francesco Maria R
Owner, FMR9000 s.r.l. Information Technology and Services Consultant
Best Answers in: Computer Networking (1), Telecommunications (1)
Hi all,
ATTENTION, mscomm.ocx works well, for RS232 devices, only when the port is a on board port, on USB converter there are some problems dues to USB buffering. Thus if the protocol has a character termination for PC input USB converter could work.
This problem is manifest on RS232 connections to PLC, EEPROM writer and so on. Before write a program is needed to examine the protocol.
More Answers (4)
Bryan C W
Sales Manager - North America at AZZ | Blenkhorn & Sawle Ltd
Best Answers in: Using LinkedIn (223), Education and Schools (5), Staffing and Recruiting (5), Customer Service (4), Web Development (4), Manufacturing (3), Professional Networking (3), Business Insurance (2), Criminal Law (2), Business Development (2), Change Management (2), Supply Chain Management (2), Small Business (2), Starting Up (2), Software Development (2), Facilities Management (1), Air Travel (1), Resume Writing (1), Accounting (1), Budgeting (1), Government Contracts (1), Government Policy (1), Personnel Policies (1), Internationalization and Localization (1), Contracts (1), Employment and Labor Law (1), Tax Law (1), Events Marketing (1), Internet Marketing (1), Graphic Design (1), Public Relations (1), Customer Relationship Management (1), Lead Generation (1), Corporate Governance (1), Organizational Development (1), Commodity Markets (1), Equity Markets (1), Non-profit Management (1), Market Research and Definition (1), Engineering (1), Ethics (1), Business Plans (1), Green Products (1), Enterprise Software (1), Databases (1), Wireless (1)
Check with National Instruments. Their LabVIEW or LabWindows products can help and they may have drivers for your instrument.
Links:
James "Brian" P
Network Engineer at SAIC
Best Answers in: Computer Networking (1), Software Development (1)
First you will need to know the speed of the connection...I.E. 9600 bps
8 none and 1 or 19200 bps.
I would experiment with a hyperterminal first and see what the instrument sends at what speed and what the flow control needs to be set for...
I found an excellent web resource that may also help you in regards to setting up the mscomm.ocx.
http://bytes.com/forum/thread13252.html
Links:
Shahid H
Data Warehouse Analyst at Telenor Pakistan and Telecom Business Intelligence Consultant
Best Answers in: Databases (2), Telecommunications (1)
Hi Roberto,
It looks quite similar to one of application that my team and I developed almost 4 years back, with a purpose to capture billing call details from PBX switch through a RS-232 port.
We had used Microsft Visal Foxpor/Basic communication activex control "MSCoMM" for all the interfacing with the device through a serial port. You may further read about it at
Links:
Try to dig in the MSDN samles. It was perfect samle on the Developer Studio 5 and 6 CD. As far as I remember I relocate from API to mscomm.ocx for a couple days.