New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

ctrlx-datalayer-flatbuffers

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ctrlx-datalayer-flatbuffers

Flatbuffers for the ctrlX Data Layer API

latest
Source
npmnpm
Version
4.4.0
Version published
Weekly downloads
95
15.85%
Maintainers
1
Weekly downloads
 
Created
Source

Bosch Rexroth ctrlX Data Layer Node.js API Flatbuffers

This is a Flatbuffers library for the ctrlX Data Layer Node.js API.

Usage

Quick Overview

This library provides generated TypeScript classes of FlatBuffers models for use in the ctrlX Data Layer API for Node.js.

Install

npm install ctrlx-datalayer-flatbuffers --save

Usage

The following code snippet demonstrates how to create a FlatBuffers byte buffer with the FlatBuffers builder and the provided TypeScript classes:

//Build metadata
const builder = new flatbuffers.Builder(1024);

//Setup allowed operations   
const operationsOffset = AllowedOperations.createAllowedOperations(
    builder, true, true, false, false, true);

const descriptionOffset = builder.createString('my description');
const descriptionUrlOffset = builder.createString('my descriptionUrl');
const displayNameOffset = builder.createString('my displayName');
const unitOffset = builder.createString('my unit');

//Setup metadata
Metadata.startMetadata(builder);
Metadata.addDescription(builder, descriptionOffset);
Metadata.addDescriptionUrl(builder, descriptionUrlOffset);
Metadata.addDisplayName(builder, displayNameOffset)
Metadata.addUnit(builder, unitOffset);
Metadata.addNodeClass(builder, NodeClass.Variable);
Metadata.addOperations(builder, operationsOffset);

const offset = Metadata.endMetadata(builder);
Metadata.finishMetadataBuffer(builder, offset);

const metaDataBytes = builder.asUint8Array()

Samples

It might be helpful to have a look at the README Node.js Apps @ ctrlX document to find implementations of the different use-cases.

Support

This repository is provided and maintained by Bosch Rexroth.

Developer Community

Feel free to check out and be part of the ctrlX AUTOMATION Community. Get additional support, e.g. related to Bosch Rexroth Devices, Apps, SDKs and Services, or leave some ideas and feedback.

SDK Forum

Please join the discussions in the SDK Forum ctrlX AUTOMATION:

Issues

To report bugs, request changes and discuss new ideas you may also have a look at the issue tracker of this repository: https://github.com/boschrexroth/ctrlx-automation-sdk/issues

License

SPDX-FileCopyrightText: Bosch Rexroth AG SPDX-License-Identifier: MIT

Terms and Conditions for the Provision of Products of Bosch Rexroth AG Free of Charge

  • See LICENSES/tc_for_provision_of_products_free_of_charge.pdf inside this package. Please download the latest version from https://www.boschrexroth.com. Navigate to Legal Notice (footer) -> Terms and Conditions for the Provision of Products Free of Charge

  • See LICENSES/*.fossinfo.xml for used open source software licenses.

About

Please note that any trademarks, logos and pictures contained or linked to in this Software are owned by or copyright © Bosch Rexroth AG and not licensed under the Software's license terms.

https://www.boschrexroth.com

Bosch Rexroth AG
Bgm.-Dr.-Nebel-Str. 2
97816 Lohr am Main
GERMANY

Keywords

ctrlX AUTOMATION

FAQs

Package last updated on 19 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts