Project

General

Profile

Demo » History » Revision 5

Revision 4 (Michel Condemine Admin, 02/27/2023 10:27 AM) → Revision 5/6 (Michel Condemine Admin, 02/27/2023 10:27 AM)

# Demo 
 The demo simulate a tank with a bunch of methods and variables. 
 There is a Tank01 instance (UAObject) of TankType (UAObjectType). You can play with method StartPump, StopPump, Drain, GetCurrentLevel, etc. 
 The server is listening on port 2407. 
 ## On Linux 
 1. Download server binaries from the OpenOpcUa website.  
 [Download:SimulationTank_2023_Linux](http://www.openopcua.org/redmine/attachments/download/3835/SimulationTank_2023_Linux.tar.gz) 
 2. Extract    **SimulationTank_2023_Linux.tar.gz** into a local folder 
 3. Start a shell  
 4. Move to the folder where you extracted files 
 5. Run the following command : sh StartOpenOpcUaCoreServer.sh 
 Note : OpenOpcUaCoreServer depends on 3 dynamic libraries that the server need to retrieve in its path. 
 6.    Now you can connect with your prefered UA client using the following URL : 
 opc.tcp://localhost:2407/OpenOpcUaCoreServer 

 7.    Enjoy it !!! 

 ## On Windows 
 1. Download and install the Local Discovery Server (LDS) OPC Foundation LDS – Need to be registred 
 **The LDS is optional.** 
 2. Download server binaries from the OpenOpcUa website.  
 [Download:Simulation_2023_Release](http://www.openopcua.org/redmine/attachments/download/3851/Simulation_2023_Release-IPV4__x64.zip) 
 3. Extract Simulation_2023_Release-IPV4__x64.zip in a local folder 
 4. Start a command line (CMD) in the folder where you extracted the demo. 
 5. Type the command : StartServer.bat and hit Enter 
 6. Now you can connect with your UA client using the following URL : 
 opc.tcp://localhost:2407/OpenOpcUaCoreServer 

 7.      Enjoy it !!! 

 **Configuration file are the same on Windows and Linux** 
 One of the OpenOpcUa benefit is that you can switch from Windows to Linux    or from Linux to Windows with no effort. 

 An Other Windows Demo. 
 I very basic one made of a bunch of simulated and static nodes 
 SimulationBasic_2023_Release-IPV4__x64 [Download](http://www.openopcua.org/redmine/attachments/download/3852/SimulationBasic_2023_Release-IPV4__x64.zip) [Download]()