how to change the nodeid in opc ua for c++ sdk - opc

I've searched for hours on how to change the nodeID of my objects/variables in c++ OPC UA, but unfortunately can't figure it out.
now, for example, the nodeID if ns=0;s=Demo.Dynamic.Scalar.Int32
I need to change to ns=0;i=2558
Can someone with more experience help me out here, please?
iam using this SDK

Since you are using Unified Automation C++ SDK, you should consider contacting them to get support for their product...

Related

Building a free .net OPC Client (UA or DA) without frustration

I have an application whereby I need to read data from a PLC into a database and whereby I need to develop my own application to do this. I just need to read 5 values from the PLC and log it to a DB. I have a demo OPC server running and can access it via UA or DA.
After looking at many different approaches I settled on using an OPC server to connect to the PLC and then to write an OPC client to interface to the OPC server and then write the data to the DB from my app. My language of choice is C# with .Net and the only licence fee I am able to pay for is for the OPC server from my PLC vendor.
What I am however finding extremely frustrating is getting the right info on OPC to get started. I dont want to buy any stacks but would prefer an open source stack. The information seems very fragmented and all over the place. Most of the info about OPC seems to be hype about how easy it is to use etc.
The best post on Stackoverflow that I could find is: Noob guide to OPC: how to write a C# Hello World client? and some of the links are not active any more.
My question is therefore are there any good tutorials showing how to build and OPC client from scratch in .net and what is the best open source SDK to use without having to buy a vendor's stack?
Is DA also worth learning or should one stick with UA?
The big question is why is OPC so frustrating when its marketed as being so easy?
It would also be nice to have a nice high level guide on the theory that one needs to know to build a client. I do realize that with time its possible to eventually figure this from the resources available but with limited time to make sense of all the scattered resources a quicker guide would be helpful.
Stick with OPC UA.
Luckily for you, the OPC Foundation's C# reference implementation has the capabilities of both stack and SDK, whereas other language reference implementations are typically just stack functionality.
The code is available on GitHub: http://opcfoundation.github.io/UA-.NET/
If you're not a member of the foundation the code is available under GPL2.
As for your concerns about the ease of use and marketing... I assume it's because OPC UA is marketed towards end users, who will just be hooking up various OPC UA compliant applications, which is easy. As a developer I think its fair to say there's a little more assumed about your ability to figure things out... from code examples, the specifications, books that are available, etc...

Eclipse Milo, OPC-UA : where to start?

I am entirely new to the OPC-UA world.
I need to establish a proof of concept of how to allow our ERP to communicate with PLCs. I am evaluating software that acts as an OPC-UA server (it is working). I found about Milo and got the code working in Eclipse. Looking at the examples, I got a toy program connected to the OPC-UA server and doing... something.
The basic plumbing works, but I can't figure out where to start with OPC-UA and Milo. I have not been able to find introductory material to help me make sense of it all.
Is there documentation about the architecture of OPC-UA and how Milo implements that? Is there a better way to go about it than looking at the examples to figure out how things should be done?
Documentation for Milo is one of the next major things to tackle now that we've got a release published to Maven central. Even once that documentation exists, though, it will assume some knowledge of OPC UA.
There's a somewhat expensive green book called "OPC Unified Architecture" available on Amazon. I haven't read it myself, but I've heard other people mentioned they have. It's probably a lot easier and cheaper than trying to learn OPC UA from the specifications.
edit: Seems there's a couple other cheaper alternatives now too.
The Milo project has a gitter channel and a mailing list you can ask questions on as well.

How to structure a data content in OPC UA and what exactly means delivering a OPC Specification for a application

This question is regarding OPC UA specification design for a industrial application. I am a beginner to OPC UA terminology and wondering what is the process of designing a OPC UA specification. I searched online for tutorials, tools and went through the standard textbook of OPC UA. I have got information in bits and parts but never a structured approach.
Questions
Do we have any open source tools that can used to design a OPC UA specification?
Do we have any standard document describing the process of designing a OPC UA specification
Any Small clue reasoning to a approach is much appreciated. Thank you
I think you're a little confused. You don't want to design an "OPC-UA specification"; these specifications already exist, are maintained by the OPC Foundation, and define what OPC-UA actually is.
More likely, you need to develop an application that conforms to or is compatible with OPC-UA in some way. In that case, we'll need to know what it is your application is doing (is it a client or server?) and what language you're planning to develop it in. From there you can determine whether or not you need open source or commercial tools to move forward.
Basic bulding blocks for information models are found within the UA companion specifications. A range of working groups develop these for various domains of interest. Standard semantic models are defined to provide interoperability.Look to OPC Foundation site. Provided a companion spec, you might as UA client imediately recognize the adresspace content of a servér you have never seen before. As UA you may provide data to some client you currently not know, but it might recognize the content anyway. And when you connect to another UA that complies with the same companion spec, you might recognize that content to with very little extra effort.

Support for NeuronDotNet3.0

I wondered if any of you know, if there is support for NeuronDotNet 3.0. The website neurondotnet.freehostia.com is down, and I am looking for more example Files or instructions how to properly use the library.
Do you guys have any ideas? I would be greatly appreciate them.
I recall there being a message on the site stating that the project had been discontinued. If you are looking for a .Net neural network API you might condier.
Encog http://www.encog.org
AForge https://code.google.com/p/aforge/
Disclaimer: I am one of the lead developers for Encog.

Service development framework solutions for Windows Phone 7

I've been trying to get Thrift to work with WP7, but has put it on hold preliminary.
I'm now looking for other solutions to this and would like to get some feedback on which solution to choose, if any.
Any suggestions is much appreciated, so don't hesitate :)
You might need to hive us a little more detail. Like a link to Thrift would be helpful. Not sure what you are trying to do.
I bing "Thrift" and get a bunch of things (one of which appears to be a commercial service/web site). I bing "thrift api" and get references to an Apache project.
Help us to help you.