Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Capture Files, one for each com port

Status
Not open for further replies.

ebferro

IS-IT--Management
Mar 14, 2000
8
US
I'm currently researching whether it's possible to have multiple capture files open at the same time. There would be one capture file open for each com port and I will be using 4 different com ports. Is this possible?
Also, the data that I'm capturing is a text file that's being output from 4 different machines. At the end of the text file, the text 'Report Complete' is sent over. Is there any sample code available that would show me how to wait till I see those words and then automatically close the text file and save it to disk?
 
You should be able to have multiple capture files open, provided you only have one capture file per session of Procomm. You can use either the when target or waitfor (with the FOREVER keyword) flag to look for the necessary string.

 
knob:
Thanks for the quick response. Hopefully you won't mind another quick question for clarification. By 'one capture file per session of Procomm', you mean that if I want to capture com port data from 4 com ports, I would run 4 instances of Procomm on the same machine and each instance would capture data from a different com port. Is that correct?
TIA.
Ernie
 
Yes, that's correct. If necessaary, you can use the set modem connection command to set the proper com port in each session (basically have a command line or shortcut that launches Procomm and sets the connection, one script for each com port).

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top