GANZ CCTV Camera Popup and Trigger tools

Created by Admin Sensor, Modified on Mon, 4 Sep, 2023 at 1:12 PM by Phil Cunliffe

Expanding our number of existing CCTV camera integrations which include: HikVision, Milstone, OnSSI, SeeTec, TVT and Dahua. 


Utilising two tools, we have developed a way to show a live feed from a Ganz CCTV platform. 


  • VcPop is a popup tool that shows a live feed from a GANZ CCTV camera 
  • VcTrigger is a tool that is able to start VcPop on a remote computer.


Both tools are controlled via command line parameters. The easiest way to these parameters are working is by creating a shortcut to the tool and adding the parameters to the Target box in the shortcut properties.



VcPop:


  1. Copy VcPop and VcTrigger.exe to the GP10 workstation.
  2. Create a shortcut or .bat script to run the exe with the required parameters to test that the connection to the camera is working correctly.
  3. The first parameter is always "StreamLive", and all the following connection parameters are optional. Ignored parameters will use the default value and any text with spaces will need to be surrounded by quotation marks. Replace the square bracket text with the relevant information.


    Parameter



    Full text



    Shorthand text



    Default



    Remote VMS server IP address



    --host [HOSTNAME]



    -h [HOSTNAME]



    localhost



    Remote VMS server port number



    --port [PORT NUMBER]



    -o [PORT NUMBER]



    8080



    Username



    --username [USERNAME]



    -u [USERNAME]



    Admin



    Password



    --password [PASSWORD]



    -p [PASSWORD]



    (None)



    Camera channel number



    --channel [NUMBER]



    -c [NUMBER]



    0



    Use HTTPS/TLS (0=Off / 1=On)



    --secure [0 or 1]



    -s [0 or 1]



    0 (Off)



    Alert message



    --alert [MESSAGE]



    -a [MESSAGE]



     




  4. The command should look something like this:
    C:\VCPOP\vcpop.exe StreamLive -h 194.245.79.4 -o 8080 -u Admin -p 1234 -c 2 -s 0

  5. The file 'vcpop.exe.config' also contains the following settings for every popup window.
    window_width: Adjusts popup window size.
    alert_blink_speed: Speed of the blinking alert message in milliseconds (0=Off).
    snapshot_dir: Directory to save snapshot images.


VcTrigger:


  1. Copy VcTrigger.exe to the GP10 server.
  2. All the parameters for VcTrigger are optional. Ignored parameters will use the default value and any text with spaces needs to be surrounded by quotation marks. Replace the square bracket text with the relevant information


    Parameter for Listener



    Parameter for Sender



    Full text



    Shorthand text



    Default



    Listening IP address.



    Target IP address.



    --ipaddress [ADDRESS]



    -i [ADDRESS]



    (Local IP)



    Listening Hostname.



    Target Hostname.



    --hostname [HOSTNAME]



    -n [HOSTNAME]



     



    Listening port number



    Target port number



    --port [PORT NUMBER]



    -p [PORT NUMBER]



    65432



     



    Command to be sent



    --command [COMMAND]



    -c [COMMAND]



     




  3. On the GP10 workstation, VcTrigger will be set up as a Listener. On the server it will be set up as a sender. Create a shortcut with the parameters if you do not want to listen on the local IP and default port.
  4. Double-click on VcTrigger.exe (or the shortcut if you created one) and it will start in the system tray.
    Left-click on the icon to get information on which IP and Port it’s listening on and right click to open the menu.
  5. In GP10 on the server create a global reflex with the action Run local program.
    In the upper field insert the path to VcTrigger.exe.
  6. In the lower field insert the parameters for the target IP or hostname, the port (if different from default) and the VcPop command.
    Precede the command with "start" to open the popup without the command prompt window.
    The command will have spaces, so it will need to be enclosed in double quotes.

    If the command already has existing double quotes, like the example below, these quotes must be ‘escaped’ by preceding them with a backslash ( \ ) to prevent them from interfering with the outside quotes.
    mceclip0.png


  7. Finally click Test Actions to confirm that the command is running correctly on the workstation, and then continue setting up your alarms to trigger the global reflex when activated.


If you require more information, please contact [email protected].


 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article