GithubHelp home page GithubHelp logo

pmanlio / industrialinformaticsproj Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 1.51 MB

repo about a project for Industrial Informatics of Università degli Studi di Catania, in which we code a OPC UA server in Node.js

JavaScript 91.41% HTML 4.98% EJS 3.61%

industrialinformaticsproj's Introduction

Progetto Informatica Industriale

Repo relativa ad un progetto finale del corso di Informatica Industriale dell'Università degli Studi di Catania. L'obiettivo è stato quello di realizzare un server OPC-UA in Node.js da eseguire in cloud. È possibile prendere visione del codice qui.

Documentazione

È possibile leggere la documentazione qui; è anche possibile trovarla in formato PDF nella root directory del progetto qui.

industrialinformaticsproj's People

Contributors

pmanlio avatar dependabot[bot] avatar claudio795 avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Forkers

claudio795

industrialinformaticsproj's Issues

namespace.addObject() doesn't work

Nel codice, in server/server.js è stato messo un tag @error nella posizione della funzione let build_my_address_space = (server) => { ... }

Gli errori che vengono lanciati sono:

/home/manlio/Scrivania/industrialinformaticsproj/server/node_modules/node-opcua-address-space/dist/src/address_space.js:1067
                throw err;
                ^

Error
    at Object.assert (/home/manlio/Scrivania/industrialinformaticsproj/server/node_modules/node-opcua-assert/dist/index.js:13:21)
    at addressSpace.modelChangeTransaction (/home/manlio/Scrivania/industrialinformaticsproj/server/node_modules/node-opcua-address-space/dist/src/namespace.js:487:37)
    at AddressSpace.modelChangeTransaction (/home/manlio/Scrivania/industrialinformaticsproj/server/node_modules/node-opcua-address-space/dist/src/address_space.js:1064:17)
    at UANamespace.createNode (/home/manlio/Scrivania/industrialinformaticsproj/server/node_modules/node-opcua-address-space/dist/src/namespace.js:486:26)
    at UANamespace.addObject (/home/manlio/Scrivania/industrialinformaticsproj/server/node_modules/node-opcua-address-space/dist/src/namespace.js:337:30)
    at build_my_address_space (/home/manlio/Scrivania/industrialinformaticsproj/server/server.js:24:28)
    at server.initialize (/home/manlio/Scrivania/industrialinformaticsproj/server/server.js:55:5)
    at Immediate.setImmediate (/home/manlio/Scrivania/industrialinformaticsproj/server/node_modules/node-opcua-server/dist/opcua_server.js:591:25)
    at runCallback (timers.js:705:18)
    at tryOnImmediate (timers.js:676:5)

Possibile bugfix è testare il server su ubuntu 18.04 e su Windows, perché ho già avuto problemi con Ubuntu 19.04 per npm i node-opcua , in cui è stato necessario installare anche npm i source-map-support

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.