• Support
  • Articles
  • Resources
  • Products
Search Support Forums

Search found 480 matches

  • 1
  • 2
  • 3
  • 4
  • 5
  • 20

Search found 480 matchesPage 1 of 20

by Trevor
Mon May 15, 2017 10:57 am
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Sending string after Enterkey from keyboard to COM port
Replies: 1
Views: 103
Neither are ideal but you could do one of the following.......

  1. paste the command using Alt+R (which appends a carriage return).
  2. use a macro to send the command(s)

    Code: Select all

    1. sendln "command to send"
by Trevor
Sun May 07, 2017 12:24 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Automating firmware upgrade/transfer using Tera Term ymodem interface.
Replies: 5
Views: 148
Hi Yogesh, I would do it like this. ; Openning Serial connection using COM port. sprintf2 constr '/C=%s /BAUD=115200' param2 connect constr   testlink if result == 2 then     ; Assigning new title to TeraTerm window     settitle constr       ;start sending the carriage return command to the micro-co...
by Trevor
Sat May 06, 2017 5:45 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Automating firmware upgrade/transfer using Tera Term ymodem interface.
Replies: 5
Views: 148
Sure, I have done this lots in the past. Something like this would do it: sendln "upgrade ymodem" ; wait for whatever the response is (if there is one) using wait or waitln   ymodemsend "C:\firmware.bin" if result then     messagebox 'Success' 'YMODEM' else     messagebox 'File t...
by Trevor
Tue May 02, 2017 9:29 am
Forum: Tera Term, TTSSH (questions)
Topic: Transferring set of Bits
Replies: 1
Views: 94
You can just click File -> Send file ... to send a file (check the binary checkbox when selecting the file). If you want to do this using a script (macro) then read here for how to run a macro: http://ttssh2.osdn.jp/manual/en/macro/ The sendfile macro command can be used to send a file: http://ttssh...
by Trevor
Wed Apr 26, 2017 2:52 pm
Forum: LogMeTT and TTLEditor (questions)
Topic: Changing the Vehicle ID Range
Replies: 1
Views: 116
I can't see how this is related to Tera Term. Could you provide more detail as in what you are sending and what is being received? How are you connecting Tera Term to the entry gate? E.g. serial port or Ethernet. Isn't it more likely that this is related to how the entry gate works rather than Tera ...
by Trevor
Wed Apr 26, 2017 9:56 am
Forum: Tera Term, TTSSH (questions)
Topic: TeraTerm sending characters when window is clicked
Replies: 1
Views: 66
Could it be that you are doing a right click? By default this pastes whatever is in the clipboard. This is common in some terminals. To disable/configure see:

Setup -> Additional Settings -> Copy and Paste

Regards
Trevor
by Trevor
Fri Apr 21, 2017 8:48 am
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Problem with rcvln.
Replies: 1
Views: 117
It is better if you can provide the code in question otherwise it's difficult to know what is going on. Please provide. Need to know what the "result" variable is after you call recvln. Also need to know what you have set timeout to be. If you provide more detail on what you are trying to ...
by Trevor
Wed Apr 19, 2017 10:03 am
Forum: Tera Term, TTSSH (questions)
Topic: How i get error info using Log files?
Replies: 1
Views: 92
You can log everything received to log file. To start a log file from your macro see here:
http://ttssh2.osdn.jp/manual/en/macro/command/logopen.html
by Trevor
Mon Apr 10, 2017 1:17 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: How can i store value from tera term screen to any variable?
Replies: 3
Views: 178
Hi, This seems to be the same question as asked in http://logmett.com/forum-index/3/is-there-any-command-in-tera-term-like-scanf-in-c-2988?p=9233#p9233 . It would have been better to post this question there when I asked for an example of what you are trying to send/receive rather than starting a ne...
by Trevor
Mon Apr 10, 2017 1:13 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: How can i store value from tera term screen to any variable?
Replies: 3
Views: 178
Is the response line based? I.e. is there an end of line (carriage retrun and/or line feed character) and the end/beginning of the response? If so then here is an example (not tested) using recvln timeout = 5 sendln "switch ok_p" recvln ; may need two of these (one to consume the command e...
by Trevor
Thu Apr 06, 2017 2:39 pm
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: Is there any command in tera term like scanf in c?
Replies: 3
Views: 164
Yes, lots. E.g. wait, waitln, waitregex etc.
Provide an example of what you are receiving and what you want to extract from it and then people here can suggest example macro code.
by Trevor
Mon Apr 03, 2017 2:46 pm
Forum: Tera Term, TTSSH (questions)
Topic: Receive from XMODEM
Replies: 1
Views: 179
You need to "tell" your PABX (host) to send the file using XMODEM. How that is done (what command to send to your PABX) will depend on the PABX you are using (presuming you PABX supports sending files by XMODEM).
by Trevor
Tue Mar 28, 2017 10:27 am
Forum: Tera Term Macro Syntax and Usage (questions)
Topic: 2 questions required help
Replies: 1
Views: 128
For question 1 I'm not sure how this could be done as if the tera term window is closed then the link with macro as well as tera term is ended. Someone else may have a suggestion. For question 2 see setdebug command: http://ttssh2.osdn.jp/manual/en/macro/command/setdebug.html setdebug 3 ; disable sc...
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: 485
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: 485
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: 1217
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: 1217
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: 1217
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: 336
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: 336
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: 314
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: 380
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: 266
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: 345
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: 508
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 ...
Display posts from previous:
Sort by:
  • 1
  • 2
  • 3
  • 4
  • 5
  • 20

Search found 480 matchesPage 1 of 20

cron