ChannelAccess 2018.10.16.3

There is a newer version of this package available.
See the version list below for details.
dotnet add package ChannelAccess --version 2018.10.16.3
NuGet\Install-Package ChannelAccess -Version 2018.10.16.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ChannelAccess" Version="2018.10.16.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ChannelAccess --version 2018.10.16.3
#r "nuget: ChannelAccess, 2018.10.16.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ChannelAccess as a Cake Addin
#addin nuget:?package=ChannelAccess&version=2018.10.16.3

// Install ChannelAccess as a Cake Tool
#tool nuget:?package=ChannelAccess&version=2018.10.16.3

EpicsSharp is a software library for the .NET platform implementing the Channel Access protocol used by EPICS (version 3.14). The library contains both the EPICS client as well as the EPICS server.

This package replaces the packages "CaSharpServer" and "EpicsClient2". Both the EPICS client and server functionalities are offered here.

-------------------------------------------------------------------   
The following code will read a value of a channel (ARIDI-PCT:CURRENT) and print it out on the screen
-------------------------------------------------------------------
using EpicsSharp.ChannelAccess.Client;
using System;

namespace ConsoleApp4
{
   class Program
   {
       static void Main(string[] args)
       {
           var client = new CAClient();
           // Required if you use an EPICS Gateway, otherwise skip the line
           client.Configuration.SearchAddress = "sls-cagw:5062";
           var channel = client.CreateChannel>string<("ARIDI-PCT:CURRENT");
           // Synchronously read a channel and shows the value. If the channel doesn't exist an exception will be thrown.
           Console.WriteLine(channel.Get());        
       }
   }
}

-------------------------------------------------------------------
The second example will instead "monitor" the value and call the callback every time the value changes:
-------------------------------------------------------------------
using EpicsSharp.ChannelAccess.Client;
using System;

namespace ConsoleApp4
{
   class Program
   {
       static void Main(string[] args)
       {
           var client = new CAClient();
           // Required if you use an EPICS Gateway, otherwise skip the line
           client.Configuration.SearchAddress = "sls-cagw:5062";
           var channel = client.CreateChannel>string<("ARIDI-PCT:CURRENT");
           // Will connect (if possible) to the channel and receive the value in the callback. In case of
           // disconnection the channel will try to reconnect automatically
           channel.MonitorChanged += (chan, val) =>
           {
                 Console.WriteLine(val);
           };
           Console.ReadKey();
       }
   }
}
-------------------------------------------------------------------

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2019.9.24.1 1,199 9/24/2019
2019.2.26.1 700 2/26/2019
2019.2.25.2 672 2/25/2019
2019.2.25.1 676 2/25/2019
2019.1.30.4 704 1/30/2019
2018.11.15.6 789 11/15/2018
2018.11.15.5 772 11/15/2018
2018.11.14.1 780 11/14/2018
2018.10.17.9 829 10/17/2018
2018.10.16.7 781 10/16/2018
2018.10.16.6 794 10/16/2018
2018.10.16.5 819 10/16/2018
2018.10.16.3 795 10/16/2018