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, EEST
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, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 523
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: 523
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: 267

Currently Online:
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 100

pramanj: 86

ibrahim: 70

kapsl: 57

gjevremovic: 49

TimK: 41

Fransua33: 39

fred: 37

Rainer Versteeg: 32

Thomas Reuther: 26

Member Stats:

Guest Posters: 0

Members: 1058

Moderators: 14

Admins: 1

Forum Stats:

Groups: 3

Forums: 14

Topics: 981

Posts: 4145

Newest Members:

mats989, Sebastien Petitrenaud, sting2005, Ron Hoppe, Seb, p.devito, g.ilengo, MohamedLazrek, brittr83165991, martintinsley9

Moderators: Jouni Aro: 846, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 523, Heikki Tahvanainen: 402, Jukka Asikainen: 1, Teppo Uimonen: 20, Markus Johansson: 18, Matti Siponen: 31, Lusetti: 0

Administrators: admin: 0