• Support
  • Articles
  • Resources
  • Products
Search Support Forums

Search found 11 matches

Search found 11 matchesPage 1 of 1

by rdm
Thu Jul 20, 2017 4:25 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: exit from while loop with a key or mouse press
Replies: 2
Views: 319
counter2 = 0 while 1=1 int2str strcount counter sprintf2 s "WaitForError- %d" counter timeout=30 ;set rx timeout to 30 seconds ;;;wait for disconnect msg, increment a counter and display it waitregex 'state changed to DIS-CONNECTED' if result = 1 then counter2 = counter2+1 int2str strcount...
by rdm
Wed Jul 19, 2017 11:00 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: exit from while loop with a key or mouse press
Replies: 2
Views: 319
I have a while loop continuously receiving data from a com port. Is there a message or box that can be displayed to display an option to exit or stop the script? I will also need to close a log file before exiting. TT has a pause/end box that is minimized while running - can this box be made visible...
by rdm
Tue Nov 29, 2016 11:59 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Hex rx to string
Replies: 1
Views: 649
I set debug mode to 2 (hex) and receive a reply such as this: 82 00 00 00 2E 00 04 00 0A 00 00 00 05 30 31 32 33 34 35 36 37 38 39 I do it this way because I have a mix of printable and non-printables. Is there a command that can convert the printable chars starting at 30 31 32 33... , to a printabl...
by rdm
Wed Aug 08, 2012 5:15 pm
Forum: Tera Term, TTSSH, Tera Term Macro language (suggestions)
Topic: Configurable baud rate
Replies: 0
Views: 751
Hi,
I have a need for a baud rate of 187500 baud. I have seen some com programs that allow the user to just type in the exact baud rate they want. Can this be added to Teraterm?
by rdm
Tue Aug 07, 2012 10:48 pm
Forum: Tera Term, TTSSH (questions)
Topic: 187500 baud
Replies: 2
Views: 1038
Unfortunately, neither method worked. A scope trace shows 9600 baud, which was the baud rate before I changed to 187500.
by rdm
Tue Aug 07, 2012 3:35 pm
Forum: Tera Term, TTSSH (questions)
Topic: 187500 baud
Replies: 2
Views: 1038
Is there any way to set the baud rate to 187500 baud in teraterm? I am writing a simulator for an IBM point of sale terminal and this is the baud rate they use.
by rdm
Fri Aug 12, 2011 10:43 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: how access bytes within a string
Replies: 2
Views: 940
Is there a way to access individual bytes within a string stored in inputstr? For example, lets say inputstr contains hex values '02 34 35 36 03'. How do I do a a conditional on the first byte that is functionally like this: if inputstr[0] == 0x02 then statusbox 'got 02' ' ' else statusbox 'got some...
by rdm
Mon Aug 01, 2011 6:21 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Wait on control chars
Replies: 2
Views: 1029
I need to be able to wait on a message that contains a mix of printable chars, non printable control chars, and wild cards like this: #4#2'10'#27'00**'#3 The asterisks are wild cards, ie, they are printable chars but variable from msg to msg. Is there a way to construct a wait command to receive thi...
by rdm
Fri Jul 29, 2011 4:52 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: How do I clear the receive buffer in a teraterm script?
Replies: 2
Views: 1003
I am writing a script to test cts/rts flow control on a com port. I am using waitn to wait for 2 bytes to be received before performing some action (setrts). The problem is, waitn completes immediately, apparantly due to some data that was received previously in the script. The help entry for waitn ...
Display posts from previous:
Sort by:

Search found 11 matchesPage 1 of 1