Movensys.BlackBox.Core 1.0.46

dotnet add package Movensys.BlackBox.Core --version 1.0.46
                    
NuGet\Install-Package Movensys.BlackBox.Core -Version 1.0.46
                    
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="Movensys.BlackBox.Core" Version="1.0.46" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Movensys.BlackBox.Core" Version="1.0.46" />
                    
Directory.Packages.props
<PackageReference Include="Movensys.BlackBox.Core" />
                    
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 Movensys.BlackBox.Core --version 1.0.46
                    
#r "nuget: Movensys.BlackBox.Core, 1.0.46"
                    
#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 Movensys.BlackBox.Core@1.0.46
                    
#: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=Movensys.BlackBox.Core&version=1.0.46
                    
Install as a Cake Addin
#tool nuget:?package=Movensys.BlackBox.Core&version=1.0.46
                    
Install as a Cake Tool

Movensys.BlackBox.Core

A library for collecting motion, digital I/O, and analog I/O status data from WMX3-based systems. It records data in real-time using WMX3��s memory logging feature and saves the data with pre/post trigger conditions. CSV and JSON files are automatically generated for analysis with MotionScope.

Requirements

  • .NET Framework 4.5 or later
  • WMX3 Runtime must be installed

Features

  • Real-time data logging with WMX3 Memory Log
  • Configurable monitored axes and I/O channels
  • Pre-trigger / Post-trigger data collection support
  • Auto-generation of CSV + JSON files compatible with MotionScope
  • Launch MotionScope directly with the generated data

Basic Usage Example

using Movensys.BlackBox.Core;
using Movensys.BlackBox.Core.Models;

// Initialization
var blackBox = BlackBoxManager.GetBlackBoxService();
blackBox.CreateDevice();
blackBox.InitMemoryLog();

// Configure axes
blackBox.SetBlackBoxAxes(new List<BlackBoxAxisInfo>
{
    new BlackBoxAxisInfo { AxisIndex = 0, AxisDataType = AxisDataType.CommandPos, Name = "Axis0" },
    new BlackBoxAxisInfo { AxisIndex = 1, AxisDataType = AxisDataType.FeedbackVelocity, Name = "Axis1" },
});

// Configure Digital I/O
blackBox.SetBlackBoxDigitalIO(new List<DigitalIOAddress>
{
    new DigitalIOAddress { Byte = 0, Bit = 0, Name = "Start", Type = IoType.Input },
    new DigitalIOAddress { Byte = 1, Bit = 0, Name = "AlarmReset", Type = IoType.Output }
});

// Start logging
blackBox.SetLoggingCycle(preCycleCount: 10000, postCycleCount: 500);
blackBox.StartBlackBox();

// Trigger occurs
blackBox.SaveBlackBoxData();

// Stop logging after completion
blackBox.StopBlackBox();

// Open MotionScope with saved data
blackBox.StartMotionScope(@"C:\BlackBoxLogs\20250717\BlackBoxData_Alarm.csv");

Log Storage Path

By default, log files are stored in the application��s working directory. You can change the location with SetLogFilePath(). Log files are saved in a date/time-based folder structure and include both CSV data and JSON metadata.

Important Notes

  • Requires a valid WMX3 license and driver installation.
  • Make sure to call Close() after CreateDevice() to release resources properly.
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net45 is compatible.  net451 is compatible.  net452 is compatible.  net46 is compatible.  net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 is compatible.  net481 is compatible. 
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 Movensys.BlackBox.Core:

Package Downloads
Movensys.BlackBox.WinForms

Created by Movensys Application Team with BlackBox functionality

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.46 147 7/17/2025