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, EET
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, EET
Jouni Aro
Forum Posts: 1002
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, EET
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, EET
Bjarne Boström
Forum Posts: 954
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: 518

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 130

pramanj: 86

Francesco Zambon: 78

ibrahim: 75

rocket science: 73

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 665

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1430

Posts: 6119

Newest Members:

anitas, fakenatty, Negansaf, rheakempton93, JPasterkamp, mattiwenell, KevinGainy, jamiescooper, lonmackellar61, charleneeller1

Moderators: Jouni Aro: 1002, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 954, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 297, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1