Problem solve Get help with specific problems with your technologies, process and projects.

What is the best method of getting data from a COM port?

What is the best method of getting data from a COM port (or RS232&TCP/IP)?
I haven't done this, and I wouldn't try to do it in LotusScript. Since serial input is an event-driven process, you need to use a language that lets you insert your own code as the receiver for those events.

It's probably easier to write an outside monitor program (written in C or C++, perhaps) that reads the information and stores it in text files that your LotusScript code can pick up when it's ready.

If you're brave, you could try using the Windows APIs from LotusScript, as was done here for writing to the COM port.

Dig Deeper on Lotus Notes Domino Administration Tools

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...