EasyManua.ls Logo

ComXim MT Series - Secondary Development Guide; 8.1 How to Use the CT Command for Secondary Development; 8.2 Secondary Development of Command Detailed

Default Icon
36 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MT series remote control intelligent turntable user guide
Copyright reserved by Shenzhen ComXim Technology Co., Ltd. 2017
15
8 Secondary Development Guide
All turntables which contain letter U, W or C in their mode name support secondary development. Users
could control the turntable with our software or develop their own software based on our CT commands.
Neither the library function nor the static or dynamic link library is required. So there is no need for DLL and
related code files. It ensures that any platform, any development language can use the CT command to control
the turntable through the interface, as long as the turntable supports the corresponding interface.
Note: the only difference among USB interface turntable, serial port turntable and WIFI turntable is connection
mode, the CT command is the same.
8.1 How to use the CT command for secondary development
Only 2 steps needed to control the turntable. Below is an example of how to use the secondary development
function in the form of pseudo code.
Step I: The developer creates a socket instance in its own programming environment and connects the turntable.
For example:
For example: socket *mysocket ;
mysocket = new Socket();
mysocket->connectHost(192.168.181.181,8181);
step II: When the turntable is required to be controlled, the CT command line string is sent using
the transmission function of the socket.
Pseudo code examples:
Note: in the above example, "CT+TRUNSINGLE (1,10);" . "Send ()" is string transfer function of Socket class. CT
command begins with CT, with ";" at the end. (all text is the English characters). Return command from turntable
begins with "CR", with ";" at the end. (all text is the English characters).
You can also use the third party telnet tool to send these CT commands to control the turntable, such as
secureCRT, putty, etc..
Details of the CT command to download hyperlinks :
http://www.comxim.com/Download/ViewDoc?DocId=20160625_165928_7350
8.2 Secondary development of command detailed
Secondary development commands include:
·CT command: the terminal is sent to the terminal equipment, and equipment orders (with respect to the
terminal is sent, T or Transmit).
·Cr report: equipment - > terminal, equipment receives the terminal command to equipment to the terminal
sends back to report information (with respect to the terminal is received, i.e. r receive). This feature can be
turned on or off by "CT+ACK (onOff);" command.
·Event: equipment - > terminal equipment to complete a certain action, sent to the terminal event information.
This feature can be turned on or off by "CT+EVENT (onOff);" command.

Related product manuals