Table of Contents

Constructor VisionarySolutionsSeries5Driver

Namespace
Dgi_VisionarySolutionsSeries5Driver
Assembly
DGI.Framework.Transport.VisionarySolutions.Series5Driver.dll

VisionarySolutionsSeries5Driver(IDgiCommunication)

Constructor for Visionary Solution Series 5 Device driver

public VisionarySolutionsSeries5Driver(IDgiCommunication communicationDriver)

Parameters

communicationDriver IDgiCommunication

IDgiCommunication Interface. Use a UDP Interface at port 8000 for bidirectional communication

Examples

Construct the driver by passing a DotNetUdpClient object to the constructor, with the relevant address and port of the Device:

var udpConfiguration = new DgiRemoteDeviceConfiguration.NetworkConfiguration
{
    IpAddress = "192.168.0.135",
    Port = 8000,
};
var udpClient = new DotNetUdpClient(udpConfiguration);
var vsDriver = new VisionarySolutionsSeries5Driver(udpClient)
vsDriver.EnablePolling();
vsDriver.Register();