Chris909 & Knob,
I ended up using two ASPECT system calls:
#define TIMEOUT 1
string InputBuffer ; 256 bytes reserved
integer InChar
integer InputBufIndex = 0
if $RXDATA ; Check for characters at port.
comgetc InChar TIMEOUT ; Get the waiting character
strputc...
Hi Knob, Chris909,
Thank you for your responses.
I wasn't clear about what I'm trying to do.
I want to search through the 9600 BAUD serial output from a device, to find various error messages. These error messages will be among many status messages that happen throughout a long period (days...
I'd like to write a fast routine that gets input from the COM port, parses it for various strings, and not add >0.5s second delays to the responses to dialog events.
ASPECT doesn't seem to have the ability to index into a 'string'. If true, I'm wondering how to get partial strings from the COM...
Knob,
Thank you for those very helpfull suggestions.
Before you sent your suggestions, I was able to get a dialog box with both dirlistbox and dirpath (to show the full path), but I didn't see anything in the help screens, or ASPECT Script User's Guide, with examples of how to specify a...
Hi,
Does Aspect have a dialog box that can both browse and take input for a file name (the way many installation programs allow a user to both search drives and enter directory names)?
I'd like to allow a user to specify a given (mounted) drive, a (existing) directory (no need to create a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.