Archive for the ‘Comm Operator’ Category

Run COP File to Send Commands

Thursday, April 11th, 2013

We created RunCopFile.exe to make it easier to send a command or command list to your serial port or IP address.

Download RunCopFile here

The command or command list is included in the COP file. The COP file also includes the information of connection, that is the serial port or IP address.

The COP file is created by our Comm Operator software.

Comm Operator

a. Select menu File –> Open Connection to show Open Connection dialog, and set IP Address on TCP Client tab page, shown as below.

Comm Operator - Open Connection

b. Edit Send Data List panel to add commands, shown as below.

Comm Operator - Send Data List

c. Select menu File-> Save As COP File to save the above setting to a *.cop file. (This file can be opened by our free software Comm Operator Pal.)

Comm Operator - Save As COP File

RunCopFile.exe can be run with command line.

RunCopFile - Command Line

It also can be run with our N-Button Pro/Lite software.

a. Click Add Customized Button on N-Button Pro/Lite Manager to show properties page for customized button.

b. Select Run Application option in Action panel. Input the path of  RunCopFile.exe and the *.cop file.

Run COP File

After you create the customized buttons, you can send commands in COP file to the serial port or IP address by click the created buttons.

Download RunCopFile here

Back to Serial Port Tool Homepage

Calculate Checksum with Comm Operator

Wednesday, March 20th, 2013

Comm Operator is a professional communication software for serial port, TCP/IP, UDP, HTTP and FTDI.

Comm Operator provides several methods for checksum. It’s very easy to add checksum for your data.

You need select the method first. Click the menu Tools –> Options –> Checksum tab page to select the checksum method you need.

Calculate Checksum

Be sure to check the Check Sum on Quick Send panel of Comm Operator, then you will get the checksum automatically attached to your data.

Comm Operator -Check Sum

Back to Comm Operator homepage

Control Web-i Relay with N-Button Lite/Pro

Monday, January 28th, 2013

N-Button Lite/Pro software allows you to control Web-i relay module without any programming!

There are two ways to control Web-i relay module with N-Button Lite/Pro.

One way is to create a Customized button to send data list with TCP/IP connection. The web-i module will be list automatically in N-Button Lite/Pro.

web-i connection setting

Add a Customized button to send data list.

 Set to Send Data List

The Send Data List can be created with our Comm Operator software.

Create Send Data List with Comm Operator

Another way to control web-i module is to create a Customized button to send a HTTP request.

There is no connection needed, you can choose “Other” device and select “None” connection. 

Connection Setting

Here is the command format for HTTP request to control Web-i relay module.

http://[webi_ip]/cgi-bin/runcommand.sh?123:cmd=[command]r1t[time]:cmd=[command]r1t[time]

webi_ip: IP address of webi module.

command: control commands for relay

time: wait for the set milliseconds before next command

Sample command:

http://10.0.0.100/cgi-bin/runcommand.sh?123:cmd=254,108,1r1t1000:cmd=254,109,1r1t2000:cmd=254,100,1r1t2000:cmd=254,101,1r1t0

It will turn on relay 1, after 1 second, turn on relay 2, after 2 seconds, turn off relay 1, after 2 seconds, turn off relay 2.

Set to Send HTTP Request

Multiple commands can be sent in one HTTP request. However, there is length limit for HTTP request. It is limited to 254 bytes, it might have a problem to control more than 8 relays in one HTTP request.

Back to N-Button Pro homepage

Serial Port Tool Software 50% Off

Monday, January 7th, 2013

All our software products 50% off January, 2013 ONLY

Product

Buy Now

Discount

Retail Price

Comm Operator

$49.5

50% off

$99

PTZ Controller

$34.5

50% off

$69

N-Button Lite

$24.5

50% off

$49

N-Button

$84.5

50% off

$169

ZigBee Operator

$99.5

50% off

$199

Quick Timer R2X

$39.5

50% off

$79

Quick Timer R4X

$54.5

50% off

$109

Quick Timer R8X

$84.5

50% off

$169

Quick Timer R16X

$124.5

50% off

$249

Relay Timer R1X

$24.5

50% off

$49

Relay Timer R2X

$39.5

50% off

$79

Relay Timer R4X

$54.5

50% off

$109

Relay Timer R8X

$84.5

50% off

$169

Relay Timer R16X

$124.5

50% off

$249

Relay Timer

$249.5

50% off

$499

Serial Port Tool Homepage

Create Customized Button to Send Data List

Wednesday, November 7th, 2012

N-Button Pro and N-Button Lite support Send Data List file(*.sds) for Customized Button. You can send a data list to your serial port/USB or network devices just by clicking the created button on your desktop. Here are the steps.

1. Download and install N-Button Pro/Lite.

2. Run N-Button Pro/Lite to open N-Button Pro/Lite Manager dialog. Click Setting button to select the device and the connection method, serial port/USB or network.

N-Button Pro Manager

3. Click Customized Button to open Properties – Customized Button dialog.

Create Customized Button

  • Set the button’s appearances and select Click, and click Setting button to open Click Action Setting dialog. Select “Send Data List” option, open the *.sds file. 

    Send Data List Option

    4. Click OK to return N-Button Manager dialog. The customized button is added to the manager.

    5. Click OK to finish adding button. The customized button will float on you desktop now.

    Send Data List Button

    The data list file (*.sds) can be created by Comm Operator.

    The data list file contains a group of data. When click the created button, each item will be sent to serial port or network connection in the default interval. The interval can be set in N-Button or in Comm Operator. It also can be set to wait to a absolute time in Comm Operator.  Here is an example of data list.

    Comm Operator Send Data List

    See also:

    How to Create Customized Button Widget

    One Button Timer – Turn ON/OFF relay in specific time with N-Button 

    How to Create 2-button Virtual Key Fob with N-Button

    Create Christmas application with N-Button

  • Connect Endpoints with Comm Tunnel

    Thursday, November 1st, 2012

    Comm Tunnel is a FREE software to connect Endpoints for Serial Port, TCP/IP or UDP. It will build a tunnel for endpoints.

    COM2COM, COM2TCP, COM2UDP, TCP2TCP, TCP2UDP, UDP2UDP

    Comm Tunnel connects COM, TCP/IP and UDP.

    Requirement:

    Windows XP, Windows Vista, Windows 7
    .Net Framework 2.0

    How to Use

    1. Download CommTunnel.zip and unzip it.
    2. Run CommTunnel.exe.
    3. Click "Setting" button to set Endpoints respectively. The Endpoint could be a COM port, TCP/IP server, TCP/IP client or UDP.
    Comm Tunnel connects COM, TCP and UDP

    4. Click "Start" button to connect the Endpoints. The connection status and the transferred data will also be shown in Log Window.
    Comm Tunnel - Connect Endpoints
    5. Click "Stop" button to disconnect the Endpoints.

    Tips:
    Comm Tunnel will save the current status before it close. It will restore the status when it starts.
    Comm Tunnel can be added to Windows’ start menu. It can run automatically and start connection immediately after login Windows.

    Test SMTP Gmail with Comm Operator

    Thursday, September 27th, 2012

    Comm Operator v4.7 supports TLS (Transport Layer Security).

    Here is the example about how to send Gmail with SMTP protocol in Comm Operator.

    Download Comm Operator v4.7

    Run Comm Operator v4.7, and connect Comm Operator with Gmail server IP address and Port Number.

    Comm Operator - Gmail Server IP Address

    You will receive message from Gmail server.

    Comm Operator - Receive Message from Gmail Server

    Check “Add CR”, and open Tools –> Options –> Carriage Return page to select “0D 0A”.

    Comm Operator - Select Carriage Return

    Input SMTP command according to SMTP protocol, click Send button or ENTER key on your keyboard to send the SMTP command to Gmail server. You will see the sent data and received data in the Log Data panel. Here “EHLO” is sent first.

    Comm Operator - Send SMTP Command

    Send “STARTTLS”, and click “TLS” button to show TLS setting panel. Input “smtp.gmaill.com”, click OK button to start TLS.

    Comm Operator - StartTLS

    Comm Operator - Start TLS

    Send “EHLO” again.

    Comm Operator - SMTP EHLO

    After you send “AUTH LOGIN”, you will receive some base 64-encoded string. Copy it with “CTRL +C”.

    Comm Operator - AUTH LOGIN

    Open Calculator, paste the string to get the plain text. You will see it’s “Username”. That indicates the Gmail server is asking you the Username. You also need send base 64-encoded string to the server. With the help of the Calculator, you can get your username’s string easily.

    Comm Operator -Calculator

    Comm Operator - Converter

    After you input the string of username (your Gmail account), you will be asked for password. It also shows in base 64-encoded string. Convert the password of YOUR Gmail account with the Calculator. After you send the password string, if it’s correct, you will receive “Accepted”.

    Comm Operator - Accepted

    Note: This is just an example. Please use your only Gmail account and password.

    Send the command below.

    “mail from:<serialporttools@Gmail.com>”

    “RCP To:<support@serialporttool.com>”

    “DATA”

    Comm Operator - SMTP Command

    You can send your email message now. Input “.” to end the message.

    Comm Operator - Send SMTP Command

    This mail is already sent! Check your mail box to be sure.

    Comm Operator - Send SMTP Gmail Sccessfully

    Here is the video about how to test SMTP Gmail with Comm Operator.

    Test SMTP Gmail with Comm Operator

    Back to Comm Operator homepage

    Test SMTP Protocol with Comm Operator

    Thursday, September 27th, 2012

    It’s easy to test SMTP Protocol with Comm Operator. Here is the example about how to send Email with SMTP protocol in Comm Operator.

    Download Comm Operator v4.7

    Run Comm Operator v4.7, and connect Comm Operator with your Email server IP address and Port Number.

    Comm Operator - Connect with Email Server

    You will receive message from your Email server.

    Comm Operator - Connected with Email Server

    Check “Add CR”, and  open Tools –> Options –> Carriage Return page to select “0D 0A”.

    Comm Operator - Select Carriage Return

    Input SMTP command according to SMTP protocol, click Send button or ENTER key on your keyboard to send the SMTP command to your Email server. You will see the sent data and received data in the Log Data panel.  Here “EHLO” is sent first.

    Comm Operator - Input SMTP Command

    After you send “AUTH LOGIN”, you will receive some base 64-encoded string. Copy it with “CTRL +C”.

    Comm Operator - SMTP Command

    Open Calculator, paste the string to get the plain text. You will see it’s “Username”. That indicates the Email server is asking you the Username. You also need send base 64-encoded string to the server. With the help of the Calculator, you can get your username’s string easily.

    Comm Operator - Converter for Base 64 to Plain Text

    Comm Operator - Converter

    After you input the string of username (your Email account), you will be asked for password. It also shows in base 64-encoded string. Convert the password of YOUR email account with the Calculator. After you send the password string, if it’s correct, you will receive “Authentication succeeded”.

    Comm Operator - Test SMTP Protocol

    Note: This is just an example. Please use your only email account and password.

    Send the command below.

    “Mail From:<test@serialporttool.com>”

    “RCP To:<support@serialporttool.com>”

    “DATA”

    Comm Operator - Test SMTP

    You can send your email message now. Input “.” to end the message.

    Comm Operator - SMTP End Message

    The Email is already sent! Check your email to be sure.

     Comm Operator - Test SMTP Successfully

    Here is the video about how to test SMTP protocol with Comm Operator.

    Test SMTP Protocol with Comm Operator

    Back to Comm Operator homepage

    Control DMX Device with Comm Operator

    Thursday, September 6th, 2012

    Comm Operator v4.7 supports FTDI connection, Binary panel and slider controller in Structured Data panel. That makes it easy to control DMX device.

    Download Comm Operator v4.7 Beta Version

    Connect ENTTEC DMX USB Pro with your computer and DMX device.

    Connect ENTTEC DMX USB Pro with computer and DMX device

    Run Comm Operator and open the DMX device port.

    Open DMX Device port

    Click View –> Binary to show Quick Send – Binary panel.

    Open Binary Panel

    Binary Panel

    More details about How to Use Binary Panel

    Input DMX packet according to ENTTEC DMX USB Pro Widget API Specification. 

    Click Send button to turn on the lights on DMX device.

    Send packet to DMX device

    Control DMX device

    There is another panel to control DMX device, Structured Data panel.

    Click View –> Structured Data to show Structured Data panel.

    Open Structured Data Panel

    Click Edit button to add data, variable according to ENTTEC DMX USB Pro Widget API Specification. Use data item or slider controller to control DMX device. 

    Structured Data Panel

    Control DMX Device

    Here is the video about how to control DMX device with slider.

    Control DMX Device with Slider

    The following video shows how to create structured data to control DMX device step by step.

    Create structured data to control DMX device step by step

    Download Comm Operator v4.7 Beta Version

    Back to Comm Operator homepage

    How to Use Binary Panel in Comm Operator

    Tuesday, September 4th, 2012

    Binary Panel is added in Comm Operator v4.7.

    Download Comm Operator v4.7 Beta Version

    Comm Operator - Binary Panel

    Binary Panel is dedicated to inputting and creating binary data package. It supports auto increase, auto decrease variable, as well as group and repeat. It supports both Hex and Decimal. Checksum can be added at the end of the data automatically. It is very easy to create hundreds bytes in a second!

    Special Characters

    SPACE   SPACE are used to separate each byte, symbol or group of data.

    ++        auto increase variable.  The current value will be increased automatically after each sending according to the parameters below.

        • From:   The start value of increase. Range 0 to 254
        • To:   The end value of increase. Range 1 to 255
        • Step: The step of each increase. Range 1 to 254
        • Current Value: the current variable value. This is the value that will be sent next. Range 0 to 255.  The Value will be updated automatically after each sending. It can also be changed manually.

    Example 1:

    From: 0 To 5          Step: 1        Current Value: 0

    The first sending will be 0, the second sending will be 1, and the 6th sending will be 5, the 7th sending will be 0 again, etc..

    Binary Panel Example

    Example 2:

    From: 1 to 10          Step: 2          Current Value: 1

    The first sending will be 1, the second sending will be 3,  the third will be 5,… the sixth will be 1 again.

    Binary Panel Example

    - -        auto decrease variable. It will decrease the current value automatically after each sending.

                   From:  The start value of decrease. Range: 1 to 255

                    To:  The end value of decrease. Range 0 to 254

                    Step: The step of each decrease. Range 1 to 254

                    Current Value: the current variable value. It’s the value will be sent next. Range 0 to 255

    Example:

    Binary Panel Example

    [ ]            Group data, used with repeat symbol. All data are treated as a block when repeated.

    :               Repeat. The data block before “:” will be repeated according the number after “:”

    Example 1:    12:3       It will send “12 12 12”.

    Binary Panel Example

    Example 2:    [3 6 9]:2    It will send “03 06 09 03 06 09”

    Binary Panel Example

    Example 3.      [12 ++]:3  It will send ”12 01 12 01 12 01” when ++’s current value is 1. It will send “12 02 12 02 12 02” at the second sending.

    Binary Panel Example

    Example 4.      [1 2]:++ will send “01 02” first time, then “01 02 01 02” second time, “01 02 01 02 01 02” third time, etc..

    Binary Panel Example

    It can construct very complicated data structure in a fast way. One of the real application is testing DMX device.

    How to use Comm Operator Binary Panel

    Download Comm Operator v4.7 Beta Version

    Back to Comm Operator homepage