GW Instek GDS-800 Series Programming Manual User Manual
Page 51

GDS-806/810/820/840 Programming Manual
50
:TEMPlate
(Available for firmware 2.0 and above only)
Upload the user-defined template to the assigned location.
Syntax
:TEMPlate1:UPLoad#3548………
Format:
The string of data is following.
# Data size
digit
Data size Package
type
Template
number
Position Text string Reserved Check
sum
Template
data
#: Begin a transmission of data string.
Data size digit: Indicate the digits of following data string amount(1 digit), The
value is ‘3’ in ASCII code.
Data size: The amount of current data string (3 digits). The value is “548” in ASCII
code.
Package type: The GO/NO-GO template package type (1 bytes). The value is
0x03 in hex.
Template number: The location of template stored in memory. The valid range is
from 1 to 100 dots. The content is a single byte in hex (0x01 ~ 0x64).
Position: The position of template. The valid range is from -300 to +300 dots. The
content is a two bytes signed integer in hex (0xFED4 ~ 0x012C). (2 bytes, high byte
first)
Text string: The user defined string that will be shown on the screen. Here we
support English only. The string must include an ending character 0x00. (39
bytes).
Reserved: This location is reserved for future usage. (1 bytes).
Check sum: The check sum value is coming from the sum of 500 bytes of template
data. This value is 32 bits unsigned integer in hex (4 bytes, high byte first).