DGI.Framework.Sources.Generic.ViscaCamera 1.0.0-rc1

Summary

Driver for generic Vica Control. Implements IDgiProjector. This driver is meant to be used in conjunctions with the DJ-ProjectorDriver. In itself it just parses the incoming data, and sends the appropriate commands when triggered. The DJ-ProjectorDriver will take this driver and will process the connection method (serial or TCP)

Current implemented functions

  • Power On
  • Power Off
  • Video Mute
  • Audio Mute
  • Set Input
  • Reports Lamp Hours

Polling

It will start poling for Power On, Off, Video and Audio Mute, and Input every second. Lamp Hours are polled at the start and then every minute.

An event will be emitted every second with all the projector information.

Protocol

[Projector Command Reference](./Visca Protocol.pdf)

How to use

Add the driver to your project using NUGET like the other ones. However this driver will be loaded at run time, ie, there will be no USING reference in your project for it. This driver gets loaded at run time through the configuration file using reflection. All you will need to do is using the Dgi_SystemCameras driver configure the DriverPath properties for the device DGI.Framework.Sources.Generic.ViscaCamera.dll

Example:

Cameras = new List<CameraConfiguration>
{
    new CameraConfiguration
    {
        Name = "Camera Rear",
        Room = "cra4",
        Type = "Camera",
        ControlType = CameraControlType.DotNetNetworkTcp,
        DriverPath = "DGI.Framework.Sources.Generic.ViscaCamera.dll",
        NetworkConfiguration = new CameraNetworkConfiguration
        {
            Hostname = "10.118.8.53",
            Port = 52381,
        }
    },
}

No packages depend on DGI.Framework.Sources.Generic.ViscaCamera.

Initial Release. Based off of the ARE Project

.NET Framework 4.7

.NET 5.0

.NET 6.0

.NET 7.0

Version Downloads Last updated
1.0.0-rc1 1 11/5/2023