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
Change Data Type in Variable on Simulation Server
November 20, 2017
20:49, EET
Avatar
MikeF
New Member
Members
Forum Posts: 1
Member Since:
November 20, 2017
sp_UserOfflineSmall Offline

Hello

I am currently testing a OPC Client using your OPC UA Simulator server and I noticed that all variables inputted by me are type “double”.

I am adding them in the “Simulation” folder, I give them a name and a variable but can’t change the type.

How can I change the variable type?

Thank you in advance

November 21, 2017
9:52, EET
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1026
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

This is not possible at the moment (except for Counters).

In Objects/StaticData/StaticVariables there are some nodes of different datatypes, however they are static.

Eventually we want of course to support simulating everything.

– Bjarne

P.S. It would seem the default size for the window is not enough to display the last setting for the Counter and that is the one for the datatype.

P.S.2 if above sounds weird, you need to select the signal in the left panel to see its settings.

August 28, 2018
1:23, EEST
Avatar
jb
New Member
Members
Forum Posts: 1
Member Since:
August 28, 2018
sp_UserOfflineSmall Offline

The counter works for most types but I wanted to perform range testing on a float so I created a counter of type Float and set the range as needed.
It works. But..

When I close simulation server, I can see the changes in the sinulation.xml but when I restarted it, it ignores those settings and everything is 0d oiut.

Are float counters supported?

The same thing happens with a double counter.

August 28, 2018
12:16, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1026
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

Thanks for the notice, that would seem to be a bug and I can reproduce it with 3.1.4. (I assume that it happened on that version, if not please mention). Most likely happened as side-effect of 3.1.4 changing counters to be functions of time (vs. traditional incremental counters) internally to enable history simulation. Will be fixed for next release.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
17 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: 735

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1523

Posts: 6449

Newest Members:

rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerley, Thomassnism, biancacraft16

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

Administrators: admin: 1