The NextSerialization API has been created to facilitate reading and writing messages in the NEXT message format without the need to use the UI on an HMI device. Documentation for the serialization is available here: https://itwdiagraph.github.io/NextSerialization/
The NextSerialization API is intended to be used by customers or third-party agents with development teams tasked with creating custom messages outside of the NEXTCreate platform.
Install-Package NextSerialization -Version 1.0.0
<PackageReference Include="NextSerialization" Version="1.0.0" />
dotnet add package NextSerialization --version 1.0.0
- Click the 'Project' menu
- Select 'Manage NuGet Packages'
- Enter 'NextSerialization' in the search bar and press enter to search
- Select the NextSerialization package in the results
- Click 'Install'
var inputFile = "DiagraphReferenceResMarkData.next";
var messageSerializer = new MessageSerializer();
var message = MessageSerializer.ReadMessageFile<NextMessage>(inputFile);
var outputFile = @"DiagraphReference_Serialized.next";
MessageSerializer.WriteMessageFile<NextMessage>(message, outputFile);
This project is licensed under the MIT License