Avatar
Please consider registering
guest
sp_LogInOut Log Insp_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 RSSsp_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: 1045
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:
Guest(s) 15
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 90
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 733
Moderators: 8
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1545
Posts: 6516
Newest Members:
ptdenriqueta, basilpullman, Richardmip, mood edibles, LouieWreve, daniellabdx, janessan21, sammiebeak359, gena7127517, thorstenbouldin
Moderators: Jouni Aro: 1029, Pyry: 1, Petri: 1, Bjarne Boström: 1045, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0, Elias: 0
Administrators: admin: 1