VOOZH about

URL: https://www.nuget.org/packages/Inheco.IncubatorLib/

⇱ NuGet Gallery | Inheco.IncubatorLib 1.0.2




👁 Image
Inheco.IncubatorLib 1.0.2

dotnet add package Inheco.IncubatorLib --version 1.0.2
 
 
NuGet\Install-Package Inheco.IncubatorLib -Version 1.0.2
 
 
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="Inheco.IncubatorLib" Version="1.0.2" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Inheco.IncubatorLib" Version="1.0.2" />
 
Directory.Packages.props
<PackageReference Include="Inheco.IncubatorLib" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Inheco.IncubatorLib --version 1.0.2
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Inheco.IncubatorLib, 1.0.2"
 
 
#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.
#:package Inheco.IncubatorLib@1.0.2
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Inheco.IncubatorLib&version=1.0.2
 
Install as a Cake Addin
#tool nuget:?package=Inheco.IncubatorLib&version=1.0.2
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Control library for INHECO Single Plate Incubator devices

Finder

Searching for Incubator(s) is currently limited to Windows and Linux OS only.

var incubators = new ComDeviceFinder().ScanPorts();
if (!incubators.Any()) {
 Console.WriteLine("No Incubator found.");
}

Instance

Incubator inc;
try {
 inc = new Incubator(incubators[0]);
} catch (Exception ex) {
 throw;
}

// ...
// finally dispose device to release COM-Port!
// inc?.Dispose();

Stacked devices

var subDevices = inc.GetAllSubDevices();
if (!subDevices.Any()) {
 Console.WriteLine("No stacked subdevices found.");
} else {
 // perform action commands on subdevice
 subDevices[0].OpenDoor();
 subDevices[0].CloseDoor();
}

Drawer control

inc.OpenDoor();
inc.CloseDoor();

Temperature control

inc.StartHeating(370); // 37.0 °C
var task = Task.Run(() => {
 for (int i = 0; i < 20; i++) {
 var res = inc.ReportActualTemperature();
 Console.WriteLine("Current Temp: " + res[0]); // main temperature
 }
});
// ...
await task;
inc.StopHeating();

Shaker control

// Shaker models only!
bool lw = inc.IsLabwarePresent();
if ( !lw ) {
 inc.ShakerLabwareDetection = false;
}
inc.StartShaking(160, 20); // 1600Hz, 2mm, 90°
var currentFrequency = inc.ReadShakerFrequency();
bool isShaking = inc.IsShakerEnabled();
inc.StopShaking();
isShaking = inc.IsShakerEnabled();

Advanced control and error handling

try {
 string res = inc.SendCMD("ABC1", 500); // 500ms timeout
} catch (IncubatorException) {
 throw;
}
Product Versions Compatible and additional computed target framework versions.
.NET net6.0 net6.0 is compatible.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 is compatible.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Inheco.IncubatorLib:

Package Downloads
Inheco.SiLA2.Incubator.Server.Features

SiLA2 Server Driver including control library of INHECO Single Plate Incubator devices.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 469 1/2/2024
1.0.1 621 7/17/2023
1.0.0 400 7/17/2023

v1.0.2
- add net8.0 target
- update dependencies
v1.0.1
- update readme
v1.0.0
- initial release