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: 946
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: 836
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:
6 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

TimK: 41

fred: 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