Constructor VisionarySolutionsDecoderDriver
- Namespace
- Dgi_VisionarySolutionsDecoderDriver
- Assembly
- DGI.Framework.Transport.VisionarySolutions.DecoderDriver.dll
VisionarySolutionsDecoderDriver(IDgiCommunication)
Constructor for Visionary Solution Decoder driver
public VisionarySolutionsDecoderDriver(IDgiCommunication communicationDriver)
Parameters
communicationDriverIDgiCommunicationIDgiCommunication 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 decoder:
var udpConfiguration = new DgiRemoteDeviceConfiguration.NetworkConfiguration
{
IpAddress = "192.168.0.135",
Port = 8000,
};
var udpCLient = new DotNetUdpClient(udpConfiguration);
var vsDecoderDriver = new VisionarySolutionsDecoderDriver(udpCLient)