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
Custom Events
May 13, 2016
14:15, EEST
Avatar
tri
Member
Members
Forum Posts: 5
Member Since:
September 8, 2015
sp_UserOfflineSmall Offline

Hi,

I want to generate custom event when value attribute of node “MyLevel” inside MyObjects-> MyDevice value becomes more than 50.
Can something like this can be done with SampleConsoleClient and prosys simulation server?

May 13, 2016
16:03, EEST
Avatar
Heikki Tahvanainen
Member
Members
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

Hello,

Sending custom events from the server to the client requires changes in the server. Events are not configurable in Prosys Simulation Server, so you cannot achieve this with Simulation Server currently.

You can use SampleConsoleServer application to send custom events from the server. This functionality is explained in chapter 6 of the server tutorial. Handling events in the client application is addressed in client tutorial chapter 11. “Subscribe to events”.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
13 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: 738

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1524

Posts: 6450

Newest Members:

jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger

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

Administrators: admin: 1