Answers

 

Roberto D

Siebel integration staff member

see all my questions

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?

posted July 4, 2008 in Telecommunications, Computer Networking | Closed

Share This Question

Share This

Good Answers (1)

 

Francesco Maria R

Owner, FMR9000 s.r.l. Information Technology and Services Consultant

see all my answers

Best Answers in: Computer Networking (1), Telecommunications (1)

This was selected as Best Answer

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.

posted July 5, 2008

More Answers (4)

 

Bryan C W

★ Technical Product Marketing Professional ★

see all my answers

Best Answers in: Using LinkedIn (446), Customer Service (13), Education and Schools (9), Staffing and Recruiting (7), Manufacturing (7), Professional Networking (6), Small Business (6), Job Search (5), Internet Marketing (5), Business Development (5), Web Development (4), Business Insurance (3), Resume Writing (3), Exporting/Importing (3), Criminal Law (3), Public Relations (3), Change Management (3), Project Management (3), Ethics (3), Wireless (3), Facilities Management (2), Purchasing (2), Mentoring (2), Event Marketing and Promotions (2), Accounting (2), Offshoring and Outsourcing (2), Employment and Labor Law (2), Business Analytics (2), Corporate Governance (2), Supply Chain Management (2), Business Plans (2), Starting Up (2), Energy and Development (2), Enterprise Software (2), Databases (2), Software Development (2), Commercial Real Estate (1), Regulation and Compliance (1), Air Travel (1), Business Dining and Entertainment (1), Certification and Licenses (1), Occupational Training (1), Budgeting (1), Economics (1), Mergers and Acquisitions (1), Government Contracts (1), Government Policy (1), Compensation and Benefits (1), Personnel Policies (1), International Law (1), Internationalization and Localization (1), Contracts (1), Tax Law (1), Advertising (1), Events Marketing (1), Graphic Design (1), Customer Relationship Management (1), Lead Generation (1), Search Marketing (1), Writing and Editing (1), Labor Relations (1), Organizational Development (1), Commodity Markets (1), Currency Markets (1), Equity Markets (1), Non-profit Management (1), Quality Management and Standards (1), Wealth Management (1), Branding (1), Market Research and Definition (1), Engineering (1), Career Management (1), Communication and Public Speaking (1), Franchising (1), Green Products (1), E-Commerce (1), Telecommunications (1)

Check with National Instruments. Their LabVIEW or LabWindows products can help and they may have drivers for your instrument.

Links:

posted July 4, 2008

 

James Brian P

Network Engineer at SAIC

see all my answers

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:

posted July 4, 2008

 

Shahid H

Assistant Manager Data Warehouse

see all my answers

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:

posted July 5, 2008

 

Andrew Z

Tecnical Director at Telegroup Ukraine

see all my answers

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.

posted July 5, 2008