Write and Read value in another file than BoilerNodeManager.cs|OPC UA Implementation: Stacks, Tools, and Samples|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Write and Read value in another file than BoilerNodeManager.cs
Avatar
alagui
Member
Members
Forum Posts: 3
Member Since:
09/27/2022
sp_UserOfflineSmall Offline
1
01/21/2023 - 10:19
sp_Permalink sp_Print

Hi everyone,

I'm new to OPC UA and C# and I'm trying to write a simple OPC-UA server.

I take example on the boiler server (https://github.com/OPCFoundati.....ler/Server).

I would like to access (write and read) to the variables like "m_boiler1.Drum.LevelIndicator.Output.Value" in the file Program.cs or in a Form.cs.

How can I do this? Currently I can only do this in the file BoilerNodeManager.cs

Thank you for your help.

Avatar
Randy Armstrong
Admin
Forum Posts: 1518
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
01/22/2023 - 13:12
sp_Permalink sp_Print

This sample is a client with a dialog that writes to the server.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 16
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1398
Posts: 4730