Instruction Manual ct-t1



tải về 3.13 Mb.
Chế độ xem pdf
trang31/34
Chuyển đổi dữ liệu19.07.2022
Kích3.13 Mb.
#52680
1   ...   26   27   28   29   30   31   32   33   34
90225-1.30 Instruction Manual CT-T1

 C Command Syntax
It is possible to control the instrument over the RS-232 or the USB port with an external computer. 
It is also possible to write your own test program for a fully customized test procedure.
A description of all commands is stored on the delivered USB-Key. The newest version can always 
be downloaded from the Raytech homepage:
http://www.raytech.ch
 C.1 
Serial Interface
language=rayserialsyntax
 C.1.1 
Command Syntax
The serial interface command syntax is formatted as follows (!LF! being line feed: ASCII 0x0A)
Cmd, [Para [,Para2...] ] LF

Separator for Parameters: ’,’ (comma: ASCII 0x2C) 

Numeric Format of Numbers: float ( C - Language), ’.’ (full stop: ASCII 0x2E) as decimal 
point 

Format of Strings: all ASCII characters from 0x20 to 0xff 

Spaces are represented in the command syntax by a ’˽’ to increase readability. 
 C.1.2 
Standard Response / Error Messages
Table 1: CT-T1 RS-232 parameters
Response
Description
*1˽Ok!
Command successful
*2˽Syntax˽error!
Command unknown
*3˽Out˽of˽range!
Parameter is out of allowed range
*4˽Fail!
Command is not allowed (at this time)
*5˽Missing˽parameter!
Too few parameters
*6˽Too˽many˽parameter!
Too many parameters
*7˽Out˽of˽Range˽Meas!
Range change not allowed while measuring
*8˽Internal!
Internal error occurred
 C.2 
USB Interface
The USB-Slave interface can be used to control the CT-T1.
The USB driver and an installation guide can be downloaded from the Raytech homepage.
The USB-driver installation is not necessary in order to use the RS-232 serial port for 
communication with the device.
90225-1.30 Instruction Manual CT-T1
Page 56 of 62



tải về 3.13 Mb.

Chia sẻ với bạn bè của bạn:
1   ...   26   27   28   29   30   31   32   33   34




Cơ sở dữ liệu được bảo vệ bởi bản quyền ©hocday.com 2024
được sử dụng cho việc quản lý

    Quê hương