PTZ Camera Control

Here is a small utility to generate the Pelco-D command given a Camera ID, Command 1, Command 2, Data 1, and Data 2 bytes. It will return a byte array including the required checksum value.

Use it in PowerShell like this:


Import-Module 'C:\Users\imorrish\Documents\WindowsPowerShell\vise_pelco.dll'
$camcommand = new-object VISE_PELCO.Pelco
#CameraID, Cmd1, Cmd2, Data1, Data2
$camcommand.raw(1,0x00,0x47,0x00,0x00)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s