Project

General

Profile

Demo » History » Revision 2

Revision 1 (Michel Condemine Admin, 02/22/2023 10:19 PM) → Revision 2/6 (Michel Condemine Admin, 02/24/2023 03:47 PM)

# 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.  
 [Télécharger: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 opc.tcp://localhost:3879/OpenOpcUaCoreServer 

 7.    Enjoy it !!!