![teraterm scripting language teraterm scripting language](https://i.ytimg.com/vi/35AMLf0J0mE/maxresdefault.jpg)
Step Potential cannot be negative for this technique This command or part of this command is not supported by the current device The given (or calculated) time value is invalid for this commandĪn overflow has occurred while averaging a measured valueĪ variable has become either “NaN” or “inf”Ĭannot perform OCP measurement when cell onĪn error has occurred while reading / writing flash Download the MethodSCRIPT documentation Error description tableĬannot reserve the memory needed for this varĬannot run a script without loading one first
Teraterm scripting language how to#
The MethodSCRIPT documentation will guide with examples of how to use each command. The description of the error combined with the line number, helps you to find the incorrect command. If you encounter an error, look up the description of the error in the table below. For parsing errors, the comment lines do count. The reported line number for runtime errors does not count comment lines. !XXXX: Line L\n Comment lines only count during parsing C = Line character number, starting at 1 (only visible during parsing).XXXX = The error code, see table below, where:.These errors can occur either during the parsing of the script or during the execution of the script (runtime). Download the MethodSCRIPT documentationĮrrors can occur that prevent the execution of the MethodSCRIPT. N ← Reply of the “send_string “hello world”” cmdįor all commands, please check the MethodSCRIPT documentation. The following example shows a short script that simply declares a variable, including the ‘\n’ characters: e To terminate the script, add a line containing only a ‘\n’. This sets the device into MethodSCRIPT mode. To send a script to the device, first send “e\n”. Comments can be added by having the first non-whitespace character on the line be ‘#’.
![teraterm scripting language teraterm scripting language](https://a.pololu-files.com/picture/0J3397.638.png)
Each line is limited to a maximum of 128 characters. Each command is terminated by a ‘\n’ (newline) character. Arguments are separated by a ‘ ‘ (space) character. Each command starts with the command string, followed by a pre-defined number of arguments.
Teraterm scripting language series#
The script consists of a series of pre-defined commands.