Use of the script file ttl in Tera term

Source: Internet
Author: User

Today, when we were working with Sony to solve the bug, they found that they were testing TTL files. A curious afternoon to see what this is a scripting language, for many people, I am not very low ah, haha, this does not understand, but I do not understand, ^-^. with Curiosity, began to read the syntax of the scripting language, after reading actually and C language is no different.


1. Learned how to use the Commnd--connect '/c=3 '-----first open the serial port 3
2.logopen "XX.txt" 0 0------Open the file to save the information of the serial port, this is very effective to the DBEUG problem, can automatically save the information to XX file.
3.sendln ' vdp.s.outr 0 0 0 5000 5000 '----to the serial port input command, as we normally manually enter the command.
4.pause 1-----That's all you need to know.
5.logclose Open Save log file before closing----
6.:start
Sendln ' n.ms '
Goto start------------This three-line command is to loop through the n.ms command
7. Logwrite "This is the IS-is-i-TTL test file!" #13 #10-------This is to enter information into the log file, #13 #10 represents a newline
Sentiment: In fact, encountered do not understand things, we must go to understand, even in others seem to be very simple, but they do not understand Ah, do not know how to do, there is no other way, a word-learn.
I am the only beginning!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.