This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require("fs") | |
esprima = require('esprima'), | |
escodegen = require('escodegen'), | |
estraverse = require('estraverse'); | |
; | |
function is_assert_call_node(node) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export NODE_PATH=`pwd` | |
ulimit -n 3000 | |
npm install browserify2 minifyjs -g | |
browserify --bare bin/simple_server.js --exclude usage --exclude node-expat --exclude ursa --exclude x509 | minifyjs --mangle toplevel --reserved '$,require,exports' --comments --preamble "// * Copyright 2014-2015 NodeOPCUA" -m -o simple_server.min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm WARN deprecated [email protected]: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible. | |
npm WARN deprecated [email protected]: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible. | |
npm WARN prefer global [email protected] should be installed with -g | |
npm WARN prefer global [email protected] should be installed with -g | |
npm WARN prefer global [email protected] should be installed with -g | |
> [email protected] postinstall C:\projects\NodeOPCUA\node-opcua | |
> node postinstall.js | |
Executing node bin/generate_opcua_classes.js --clear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global require,console,setTimeout */ | |
var opcua; | |
try{ | |
opcua = require("node-opcua"); | |
} catch(err) { | |
opcua = require(".."); | |
} | |
var async = require("async"); | |
var client = new opcua.OPCUAClient(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global require,console,setTimeout */ | |
var opcua; | |
try{ | |
opcua = require("node-opcua"); | |
} catch(err) { | |
opcua = require(".."); | |
} | |
var async = require("async"); | |
var client = new opcua.OPCUAClient(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint no-process-exit: 0 */ | |
"use strict"; | |
Error.stackTraceLimit = Infinity; | |
var argv = require('yargs') | |
.wrap(132) | |
.string("port") | |
.describe("port") | |
.alias('p', 'port') | |
.argv; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var opcua = require("node-opcua"); | |
var path = require("path"); | |
var port1 = 25000 | |
var port2 = 25001 | |
var standard_nodeset_file = opcua.standard_nodeset_file; | |
var rootFolder = path.join(__dirname,"./"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global require,console,setTimeout */ | |
var opcua = require("node-opcua"); | |
var async = require("async"); | |
var assert = require("assert"); | |
var client = new opcua.OPCUAClient(); | |
var endpointUrl = "opc.tcp://" + require("os").hostname() + ":26543/UA/Server"; | |
///var myNodeId = "ns=411;s=Scalar_Simulation_Double"; | |
var myNodeId = "ns=411;s=Scalar_Simulation_ImageGIF"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global require,console,setTimeout */ | |
var opcua | |
try { | |
opcua = require("node-opcua"); | |
} | |
catch(e){ | |
opcua = require("./index"); | |
} | |
var async = require("async"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { | |
BrowseResult, | |
BrowseDescription, | |
BrowseDirection, | |
OPCUAClient, | |
MessageSecurityMode, | |
SecurityPolicy, | |
ClientSession | |
} from "node-opcua"; | |
import async = require("async"); |
OlderNewer