Posts Tagged ‘send command’

Send Custom Command to Panasonic PTZ Camera with PTZ Controller

Friday, March 23rd, 2012

PTZ Controller supports Panasonic protocol. It can control Panasonic PTZ cameras with your computer.

PTZ Controller - Panasonic Protocol

PTZ Controller supports the basic functions ,such as, Pan, Tilt and Zoom (UP, DOWN, LEFT, RIGHT, NEAR, FAR), etc.

PTZ Controller also allows you to send custom command to your PTZ camera. You just need to set a command for a button on Customize panel, and the command will be send to your PTZ camera immediately when you click the button. Please refer to Send Custom Command in PTZ Controller to get more information.

PTZ Controller - Customize Panel

PTZ Controller only supports sending HEX data to PTZ camera since most commands to control PTZ camera are in HEX. However, the commands for Panasonic camera are in TEXT. You need to convert the TEXT to HEX when you set the command in PTZ Controller.

Here is the structure of Single Command for Panasonic camera.

STX AD01; GC7: XXX Y ZZZ ETX

STX Start of Text, always 0x02h
AD01 Camera address
; Always 0x3Bh
GC Command Header, GC – Camera Control Command
7

Number of commands, 7 – 7Bytes Command

: Always 0x3Ah
XXX

Command Destination, 002 – Camera Function, 202 – Receiver Function

Y Command Type, 1 – Control command, 0 – Status request command, 2 – Text data
ZZZ Function Code (Refer to command list of Panasonic protocol)
ETX End of Text, always 0x03h

For example, if you want to send the command of “180 DEG TURN” – 20213D1(Function Code), the command in HEX should be like this.

Panasonic Command Sample

So, you need to input the HEX data “02 41 44 30 31 3B 47 43 37 3A 32 30 32 31 33 44 31 03” to Setting dialog in PTZ Controller.

PTZ Controller -Edit Customization - Setting

If you need to set more custom commands, you can use our N-Button software. N-Button allows you to create widgets/buttons on your desktop to Send Custom Command to your device.

Back to PTZ Controller homepage

Send Custom Command in PTZ Controller

Friday, January 13th, 2012

PTZ Controller allows you to send custom command to your PTZ camera.

Click Customize button to open Customize Panel.

PTZ Controller Customize

PTZ Controller Customize

There are 12 buttons in Customize Panel. It will send user-defined commands to PTZ Controller.

The default setting for button 1-9 is GoTo Preset 1-9 separately.

To edit customize functions, click main menu , select ‘Edit Customization’ to openEdit Panel.

PTZ Controller Edit Customization

PTZ Controller Edit Customization

Click the button that needs to be edited to open Setting dialog.

PTZ Controller - Edit Customization -Setting

Select the options in this dialog to set the built-in function for the button.

The button can be set AUX or Preset function. It also can send specific Hex data to PTZ camera.

Click OK button to return Edit Panel. All buttons can be edited here.

Back to PTZ Controller homepage

Send Commands to Multiple IP Addresses with N-Button

Monday, December 5th, 2011

N-Button supports Network connection. It allows you to send data or commands to IP Address just by clicking button created on your desktop.

image

For N-Button or N-Button Lite, only one instance can be run on the computer. You may think it only can send data or commands to one IP Address. However, it’s also possible to create customized buttons to send commands to multiple IP Addresses separately.  It needs help of our another powerful communication software Comm Operator.

Before you send commands with N-Button, you need make a COP file with Comm Operator. That includes the information of IP Address and commands.

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

image

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

image 

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.)

image

d. Repeat step a to c to create different COP file for different IP Address

 image

image

Now, you can use N-Button to create customized buttons to run the application RunCopFile.exe. The  *.cop files saved above will be used as parameter.

a. Click Add Customized Button on N-Button 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.

image

Download RunCopFile.exe here

 

After you create the customized buttons, you can send commands to the different IP Addresses by click the created buttons.

Back to N-Button webpage