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: 836
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: 836
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:
7 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 122

pramanj: 86

ibrahim: 74

rocket science: 65

kapsl: 57

gjevremovic: 49

Sabari: 46

Xavier: 42

fred: 41

TimK: 41

Member Stats:

Guest Posters: 0

Members: 3344

Moderators: 17

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1300

Posts: 5561

Newest Members:

UPtato42, fblvicky6629601, elliebloomer44, Manuelagibe, justinafavenc54, sarlaman9, nancymcneal1, elztaim591797, JeffreyAidet, sameisenhower7

Moderators: Jouni Aro: 946, Otso Palonen: 32, Tuomas Hiltunen: 5, janimakela: 0, Pyry: 1, Terho: 0, Petri: 0, Bjarne Boström: 836, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 25, Teppo Uimonen: 21, Markus Johansson: 41, Niklas Nurminen: 0, Matti Siponen: 221, Lusetti: 0

Administrators: admin: 1