• Support
  • Articles
  • Resources
  • Products
Search Support Forums

Search found 467 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 19

Search found 467 matchesPage 1 of 19

by Trevor
Sun Mar 19, 2017 4:33 pm
Forum: Tera Term, TTSSH (questions)
Topic: Should we give Tera Term a face-lift? Please vote.
Replies: 5
Views: 233
Many thanks Boris for adding the new options, I have voted.
by Trevor
Fri Mar 17, 2017 10:46 am
Forum: Tera Term, TTSSH (questions)
Topic: Should we give Tera Term a face-lift? Please vote.
Replies: 5
Views: 233
Hi Boris, I didn't vote because none of the options reflected my view. I would have no need for such a tool but I would not want to say/vote that such a tool is not necessary as others might well find it very useful (but I have no way of knowing). So if there was an option for "I do not need su...
by Trevor
Sat Mar 04, 2017 12:47 am
Forum: Tera Term, TTSSH (questions)
Topic: sending hex values in tera term
Replies: 17
Views: 924
cannot see the image attachment you refer to, maybe the forum will not support such attachments. Can you make a link e.g. dropbox or google drive etc. ? Or refer me to the website for the device. If I have some data I can figure it out otherwise I'm blind.
by Trevor
Fri Mar 03, 2017 9:48 pm
Forum: Tera Term, TTSSH (questions)
Topic: sending hex values in tera term
Replies: 17
Views: 924
Do have a document for the digital interface card you can point me to?.
by Trevor
Fri Mar 03, 2017 10:24 am
Forum: Tera Term, TTSSH (questions)
Topic: sending hex values in tera term
Replies: 17
Views: 924
Hi luxlcd,
Do you want to send hex from a Tera Term macro or some other way?

As per my question above what exactly do you mean by hex? Do you mean a raw byte (which may not be printable) or do you mean 2 character string representing a hex value for a byte?

Please provide some examples.

Trevor
by Trevor
Sat Feb 11, 2017 3:36 pm
Forum: Tera Term, TTSSH (questions)
Topic: How does TeraTerm signal "end of file" in Send File
Replies: 3
Views: 224
Hi Joe, It would be much more odd if there were a signal for end of file. If you need to know end of file look at xmodem or ymodem or zmodem etc. These are protocols for this purpose, making send file into some proprietary protocol by having end (or start or length or CRC) would just be inventing an...
by Trevor
Fri Feb 10, 2017 6:09 pm
Forum: Tera Term, TTSSH (questions)
Topic: How does TeraTerm signal "end of file" in Send File
Replies: 3
Views: 224
No it only sends what is in the file, no control character(s) are sent at the end.
by Trevor
Sat Jan 14, 2017 1:43 pm
Forum: Tera Term, TTSSH (questions)
Topic: MACRO:Error (Link macro first. Use 'connect' macro
Replies: 2
Views: 207
Can you stick this at the beginning of your macro? It will confirm if the serial port is being opened or not. testlink if result != 2 then     connect "/c=4"     testlink     if result != 2 then         messagebox "Unable to open COM4" "Error"         exit     endif end...
by Trevor
Wed Jan 11, 2017 12:25 pm
Forum: Tera Term, TTSSH (questions)
Topic: Answerback
Replies: 2
Views: 256
Set the Answerback to whatever (Setup -> Terminal). Then get your microprocessor to send the byte 0x05 and Tera Term will send the Answerback string you defined back to your microprocessor. Just tried it here on V4.93 and it works.
by Trevor
Tue Jan 10, 2017 4:08 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: How to print the number of looped in TTL macro
Replies: 2
Views: 193
You could put something like this in the loop to have a status box display the loop counter:

Code: Select all

  1. sprintf2 status "no_of_loops = %d" no_of_loops
  2. statusbox status "Status"
  3.  
"
by Trevor
Sat Dec 24, 2016 2:54 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Getting type mismatch on my "for i" command
Replies: 3
Views: 253
E.g. as a one liner sprintf2 hponcfg 'hponcfg "IP_Add"="%s","Sub"="%s","Gate"="","Hostname"="%s","Domain"="%s" %d http://10.10.192.17/SAP/HP/BLC7000/ILO_STATIC.xml' IPAdd, Subnet, gateway, Hostname, D...
by Trevor
Wed Nov 30, 2016 10:34 am
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Hex rx to string
Replies: 1
Views: 433
Something like this (not tested) would accumulate the output into a string but you could log it or wrtite to file instead. Depends on what you want to do. It uses a dot for non-printable bytes. setdebug 2 output_string = "" while 1     ; wait for a hex sting representing a byte (seperated ...
by Trevor
Thu Nov 17, 2016 9:00 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: How to exit macro if encountered error during execution
Replies: 1
Views: 372
Lots of ways. Here are 2 examples. logopen "logfile.txt" connect "myserver:23 /nossh" if result != 2 goto error   .   .   .   goto the_end :error logwrite "connection failed" messagebox "connection failed" "Error" :the_end ; Any cleanup before exit g...
by Trevor
Thu Nov 03, 2016 4:16 pm
Forum: Tera Term, TTSSH (questions)
Topic: sending hex values in tera term
Replies: 17
Views: 924
can you please tell how to use macro or provide some links??
Here you go:
http://ttssh2.osdn.jp/manual/en/macro/
by Trevor
Tue Nov 01, 2016 8:46 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Random/Aleatory Remote connection with a host list
Replies: 2
Views: 472
There are a few reasons why your macro does not work. I'd use something like this instead: strdim server 24   server[0] = '192.168.1.1 /nossh ' server[1] = '192.168.1.2 /nossh ' server[2] = '192.168.1.6 /nossh ' server[3] = '192.168.1.8 /nossh ' server[4] = '192.168.1.11 /nossh ' server[5] = '192.16...
by Trevor
Mon Oct 24, 2016 8:20 am
Forum: Tera Term, TTSSH (questions)
Topic: sending hex values in tera term
Replies: 17
Views: 924
What exactly do you mean by "send a command in hex value"? How is the command terminated? Can you provide an example? You can send hex/binary from a macro e.g. send 0x31 as raw byte value value = $31 send value or send as 2 char hex string representing a byte value = $31 sprintf2 command &...
by Trevor
Mon Oct 17, 2016 2:28 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: TeraTerm 4.90 (SVN# 6338)
Replies: 1
Views: 403
Hi Brian, I can't see the attachment (the forum software may not like it). Please post as a link to the file (e.g. place on dropbox or other file sharing space and get a link). The ""flash:15:wait 'Ok' " tells you the macro is at line 15 in the wait command i.e. it is waiting to recei...
by Trevor
Sat Oct 08, 2016 11:06 am
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Time and counter to same messagebox
Replies: 1
Views: 308
This seems a duplication of http://logmett.com/forum-index/3/time-display-window-2934?p=9060#p9060 . See my response on there for how to display several variables in one message box -- the same principle can be used for your status box. Re continuing to display and update stuff once the macro is pau...
by Trevor
Sat Oct 08, 2016 10:08 am
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Time display window
Replies: 1
Views: 278
See gettime: http://ttssh2.osdn.jp/manual/en/macro/command/gettime e.g.   loop_counter = 1 while 1     gettime time_string "%H%M%S"     sprintf2 msg "Loop %d, time = %s" loop_counter time_string     messagebox msg "Status"     loop_counter = loop_counter + 1 endwhile
by Trevor
Fri Sep 23, 2016 10:48 am
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Waiting for character loop
Replies: 4
Views: 591

Code: Select all

  1. wait 'A' 'B' 'C' 'D' 'E'
  2. if (result == 1) || (result == 2) || (result == 3)  then
  3.     dispstr ' text for A, B or C'
  4. endif


or

Code: Select all

  1. wait 'A' 'B' 'C' 'D' 'E'
  2. if (result >= 1) && (result <= 3) then
  3.     dispstr ' text for A, B or C'
  4. endif
  5.  
by Trevor
Wed Sep 14, 2016 8:35 am
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: correct settings for Teraterm
Replies: 1
Views: 311
Hi Camerart,
Could flow control be an issue?

What radio module, what baudrate, is command echo on or off, what is the serial port like (e.g. USB to serial converter)?.
by Trevor
Sat Sep 10, 2016 8:49 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Waiting for character loop
Replies: 4
Views: 591
You can wait for multiple strings with wait command. E.g.

Code: Select all

  1. wait 'A' 'B' 'C'
  2. if result == 1 then
  3.     dispstr  ' text for A'
  4. elseif result == 2 then
  5.     dispstr  ' text for B'
  6. elseif  result == 3 then
  7.     dispstr  ' text for C'
  8. else
  9.     ; deal with timeout
  10. endif
  11.  
by Trevor
Wed Aug 31, 2016 9:40 am
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Using while loop
Replies: 2
Views: 326
testlink should be all you need (if you use enough of them in the right places). E.g.

Code: Select all

  1. testlink
  2. if result != 2 then
  3.     ; deal with connection issue here
  4. endif



Maybe try it and then post your code here if it does not do what you expect and we can provide suggestions..
by Trevor
Fri Aug 12, 2016 9:07 am
Forum: Tera Term, TTSSH (questions)
Topic: Serial Port reading garbage.
Replies: 3
Views: 718
Daniel,
The Nucleo 64 board will be UART voltage levels (TTL), not RS232. How exactly are you connecting to the PC (what serial to USB device conected to the PC, what pins on the Nucleo 64 board etc, etc,).

Trevor
by Trevor
Mon Jul 11, 2016 2:51 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Relative Path
Replies: 3
Views: 507
You need to expands environment variables before using them. See this:
http://ttssh2.osdn.jp/manual/en/macro/command/expandenv.html
E.g.

Code: Select all

  1. str = "%userprofile%\documents"
  2. expandenv str
  3. messagebox str "env"
Display posts from previous:
Sort by:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 19

Search found 467 matchesPage 1 of 19