Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Unable to build client application
January 16, 2020
8:34, EET
Avatar
prasha173
Member
Members
Forum Posts: 9
Member Since:
January 16, 2020
sp_UserOfflineSmall Offline

Hi, i am new to OPC UA. I want to create an application which connects with the server and read one variable. I kept all my libraries on the class path in java application. Then I copied SimpleClient file and tried the run the same.But it is unable to run.I created a UaClient using serverAddress as “opc.tcp://localhost:52520/OPCUA/SampleConsoleServer” .

What do i need to do in order to run my code…?

January 16, 2020
9:51, EET
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1032
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

Generally speaking, basic java development is outside the scope of the SDK support. However if you follow the Prosys_OPC_UA_SDK_for_Java_Starting_Guide inside the tutorial folder of the SDK zip you downloaded you should get somewhere. And of course if you are just trying to run the client do note that the server must of course be running as well in order for you to connect to it.

Other than that, I would need to see error messages and/or stacktraces to provide anything useful.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
27 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 728

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala, efrennowell431, wilfredostuart

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1