LC.ReactionMonitoring 0.2.0

dotnet add package LC.ReactionMonitoring --version 0.2.0                
NuGet\Install-Package LC.ReactionMonitoring -Version 0.2.0                
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="LC.ReactionMonitoring" Version="0.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LC.ReactionMonitoring --version 0.2.0                
#r "nuget: LC.ReactionMonitoring, 0.2.0"                
#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 LC.ReactionMonitoring as a Cake Addin
#addin nuget:?package=LC.ReactionMonitoring&version=0.2.0

// Install LC.ReactionMonitoring as a Cake Tool
#tool nuget:?package=LC.ReactionMonitoring&version=0.2.0                

What is LC.ReactionMonitoring?

LC.ReactionMonitoring package contains interfaces to hook into LabCognition's reaction and process monitoring and grab results from trends while a reaction/process is running in the software suite.

Previous Versions

LabCognition.Interface (1.2.0)

LC.ReactionMonitoring superseeds parts of LabCognition.Interface. Interfaces and methods used in LabCognition.Interface have been revised and renamed. Here is a matrix depicting the changes:

LabCognition.Interface (1.2.0) LC.ReactionMonitoring (0.1.0) Action
ISampleAnalysisResultConsumer ITrendResultsConsumer renamed
bool SampleMeasured(int sampleNo, string name, double time, DateTime measured, (string Name, double Value)[] value); bool SampleMeasured(int sampleNo, string name, double time, DateTime measured, IPredictionResult[] predictionResults); change result exchange using LC.Predictor's IPredictionResult type
SampleAnalysisResultToFile.config TrendResultsToFile.config renamed config file
Config class member variables Config class properties converted members into properties
Config class string Name member variable Config class string FileName member variable renamed variable

What is Reaction and Process Monitoring?

In the LabCognition software suite you may continuously record sample spectra with a spectrometer and evaluate them with preconfigured trends. Trends use chemometric methods to convert spectral data into a single value (the property value) you are interested in, e.g. a compound concentration. A reaction configuration may comprise multiple trends and hence produces one or more trend result values per sample through time.

Using ITrendResultsConsumer Interface

Basically, you can hook into several events fired during a reaction run is performed in the LabCognition software suite. Whenever such event is fired, one of the interface methods is called.

NOTE: To prevent the LabCognition software from halting on any error, please make sure to catch and handle all potential exceptions raised by your code!

The events are the following:

ReactionRunStarted

Occurrs directly on startup of a reaction run. Use this method hook to prepare eveything you need for the upcoming tasks.

SampleMeasured

Occurrs every time a sample spectrum has been measured and all trend evaluations have been calculated. All results are provided as IPredictionResult objects (see documentation of LC.Predictor package.

ReactionRunStopped

Occurrs when the reaction run is stopped or aborted. Use this method hook to cleanup everything you might not need any longer.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.2.0 158 6/26/2024
0.1.1 156 3/7/2024
0.1.0 328 8/11/2021

v.0.2.0
     - add net8 target
     - include MIT license file
     - fix 3rd party license acknowledgements

     v.0.1.1
     - include 3rd-party license acknowledgements

     v.0.1.0
     - initial interface definition