Please consider registering

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
Simulation xml configuration
March 12, 2015
8:28, EEST
New Member
Forum Posts: 2
Member Since:
March 12, 2015
sp_UserOfflineSmall Offline


Do you have any documentation for how to configure the simulation.xml file? Specifically I want to make a set of points that will write from an external source. I’d also like to try some of the other node types.



March 12, 2015
10:19, EEST
Jouni Aro
Forum Posts: 846
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

I am afraid there is no documentation about the XML format. But I recommend that you define the signals using the user interface and refer to the generated XML for those signals as a reference, if you wish to create similar signals directly to the XML.

January 9, 2019
17:22, EEST
Forum Posts: 4
Member Since:
November 14, 2017
sp_UserOfflineSmall Offline

I can’t find that simulation.xml file. I’ve created some new nodes manually using the UI, but after restarting the simulation server they are gone.
What could be reason for this? I would expect a simulation.xml to be generated somehow, but it isn’t…Frown
Using version 3.1.6.-192

January 11, 2019
17:14, EEST
Bjarne Boström
Forum Posts: 523
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline


It should be next to the settings.xml in /.prosys/SimulationServer/simulation.xml.

It should look e.g. like this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<CounterNode name="Counter1" minValue="0" maxValue="100" changeAmount="1" direction="UP" dataType="SIGNED_INTEGER" simOffset="0"/>
<ExpressionNode name="Expression1" expression="a+b+2">
<link nodeName="Sinusoid1" variableName="a"/>
<link nodeName="Sawtooth1" variableName="b"/>
<RandomNode name="Random1"/>
<WaveNode name="Sinusoid1" amplitude="2.0" period="30.0" timeOffset="0.0" valueOffset="0.0" expression="a*sin((2*Pi/p)*(t+to))+vo"/>
<WaveNode name="Square1" amplitude="2.0" period="8.0" timeOffset="0.0" valueOffset="0.0" expression="a*sign(sin((2*Pi/p)*(t+to)))+vo"/>
<WaveNode name="Sawtooth1" amplitude="2.0" period="10.0" timeOffset="0.0" valueOffset="0.0" expression="2*a*(((t+to)/p)-floor(0.5+(t+to)/p))+vo"/>
<WaveNode name="Triangle1" amplitude="2.0" period="30.0" timeOffset="0.0" valueOffset="0.0" expression="2*a*asin(sin((2*Pi/p)*(t+to)))/Pi + vo"/>
Forum Timezone: Europe/Helsinki

Most Users Ever Online: 267

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