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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by TomHAFC

  1. TomHAFC

    Strings vs Integer Arrays for Character Input

    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...
  2. TomHAFC

    Strings vs Integer Arrays for Character Input

    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...
  3. TomHAFC

    Strings vs Integer Arrays for Character Input

    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...
  4. TomHAFC

    Creating User Defined File Names At Run-Time

    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...
  5. TomHAFC

    Creating User Defined File Names At Run-Time

    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...

Part and Inventory Search

Back
Top