• Support
  • Articles
  • Resources
  • Products

2 questions required help

Moderator: boris

2 postsPage 1 of 1

Saud
Beginner

Posts:
27
Joined: Sun Jun 01, 2008 9:14 am
by Saud » Tue Mar 28, 2017 6:40 am
Hi,
Please I have 2 questions required help
1- I need to send character to the serial port once the teraterm screen is closed, I used the following example but this didn’t work .How I can do.

testlink
if result != 2 then
send "q" ; send "q" to the controller board
break

2- I need the teratem screen to stop receiving and displaying characters from serial port until I execute some command through the macro then start displaying. How I can do
Thanks
Saud
Trevor
Guru

Posts:
483
Joined: Wed Jul 26, 2006 8:47 am
by Trevor » Tue Mar 28, 2017 10:27 am
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

Code: Select all

  1. setdebug 3 ; disable screen output
  2. ...
  3. setdebug 0 ; restore normal screen output
  4.  
Display posts from previous:
Sort by:

2 postsPage 1 of 1

Users browsing this forum: No registered users
cron