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!

Aspect script to watch serial data

Status
Not open for further replies.

jberry

Technical User
Jul 1, 2003
3
US
I am looking for an Aspect script for Procomm 4.8 that can watch a serial port for incoming ascii data and when it sees a specific string, capture it and email it out then reset itself to do this again.
 
You can use either waitfor or when target to key off a certain string. You'll want to specify a timeout value (or an infinite value) for the waitfor command as it times out after 30 seconds if the string it is seeking is not received.

I have a couple scripts on the samples page of my site that show how to send email with Procomm, one that uses Procomm's built-in mail client and another that uses MAPI to push emails through Outlook or other MAPI-aware applications.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top