How to use the node-opcua-nodesets.adi_nodeset_filename function in node-opcua-nodesets

To help you get started, we’ve selected a few node-opcua-nodesets examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github node-opcua / node-opcua / packages / node-opcua-model / bin / extract_schema_from_nodeset.js View on Github external
const _ = require("underscore");
const PseudoSession = require("../lib/pseudo_session").PseudoSession;

async function parse_xml(nodeset_files) {
    const addressSpace = new address_space.AddressSpace();
    await address_space.generateAddressSpace(addressSpace, nodeset_files);
    const pseudoSession = new PseudoSession(addressSpace);
    await parse_opcua_common(pseudoSession);
}

const path = require("path");

const g_nodesets = [
    nodesets.standard_nodeset_file,
    nodesets.di_nodeset_filename,
    nodesets.adi_nodeset_filename,
    path.join(__dirname,"../../../modeling/my_data_type.xml")
];

(async ()=> {
    await parse_xml(g_nodesets);
    console.log("done");
})();
github node-opcua / node-opcua / packages / node-opcua-server / src / server_engine.js View on Github external
const MethodIds = require("node-opcua-constants").MethodIds;

const ReferenceType = require("node-opcua-address-space").ReferenceType;


const ServerState = require("node-opcua-common").ServerState;
const ServerStatus = require("node-opcua-common").ServerStatus;
const ServerDiagnosticsSummary = require("node-opcua-common").ServerDiagnosticsSummary;

const endpoints_service = require("node-opcua-service-endpoints");
const ApplicationDescription = endpoints_service.ApplicationDescription;

const nodesets = require("node-opcua-nodesets");
exports.standard_nodeset_file = nodesets.standard_nodeset_file;
exports.di_nodeset_filename = nodesets.di_nodeset_filename;
exports.adi_nodeset_filename = nodesets.adi_nodeset_filename;
const mini_nodeset_filename = require("node-opcua-address-space/test_helpers/get_mini_address_space").mini_nodeset_filename;
exports.mini_nodeset_filename = mini_nodeset_filename;


const debugLog = require("node-opcua-debug").make_debugLog(__filename);
const doDebug = require("node-opcua-debug").checkDebugFlag(__filename);

const ServerCapabilities = require("./server_capabilities").ServerCapabilities;
const HistoryServerCapabilities = require("./history_server_capabilities").HistoryServerCapabilities;

const eoan = require("node-opcua-address-space");


/**
 * @class ServerEngine
 * @extends EventEmitter

node-opcua-nodesets

pure nodejs OPCUA SDK - module nodesets

MIT
Latest version published 3 months ago

Package Health Score

86 / 100
Full package analysis