summaryrefslogtreecommitdiff
path: root/src/modelParamXML
diff options
context:
space:
mode:
Diffstat (limited to 'src/modelParamXML')
-rw-r--r--src/modelParamXML/Analog/gain.xml7
-rw-r--r--src/modelParamXML/Analog/summer.xml8
-rw-r--r--src/modelParamXML/Digital/gains.xml11
3 files changed, 7 insertions, 19 deletions
diff --git a/src/modelParamXML/Analog/gain.xml b/src/modelParamXML/Analog/gain.xml
index 6e5788ed..20f00004 100644
--- a/src/modelParamXML/Analog/gain.xml
+++ b/src/modelParamXML/Analog/gain.xml
@@ -5,9 +5,8 @@
<title>Add Parameter for model gain</title>
<split>None</split>
<param>
- <in_offset>Enter offset for input (default=0.0):</in_offset>
- <gain>Enter gain (default=1.0):</gain>
- <gain abc="OK">Enter gain (default=1.0):</gain>
- <out_offset>Enter offset for output (default=0.0):</out_offset>
+ <in_offset default="0.0">Enter offset for input (default=0.0)</in_offset>
+ <gain vector="2" default="1.0">Enter gain (default=1.0)</gain>
+ <out_offset default="0.0">Enter offset for output (default=0.0)</out_offset>
</param>
</model> \ No newline at end of file
diff --git a/src/modelParamXML/Analog/summer.xml b/src/modelParamXML/Analog/summer.xml
index 94c356b1..5f8b3d52 100644
--- a/src/modelParamXML/Analog/summer.xml
+++ b/src/modelParamXML/Analog/summer.xml
@@ -5,9 +5,9 @@
<title>Add parameters for Summer </title>
<split>2-V:1-NV</split>
<param>
- <in_offset vector="2">Enter offset for input (default=0.0):</in_offset>
- <in_gain vector="2">Enter gain for input 1 (default=1.0):</in_gain>
- <out_gain>Enter gain for output (default=1.0):</out_gain>
- <out_offset>Enter offset for output (default=0.0):</out_offset>
+ <in_offset vector="2" default="0.0">Enter offset for input (default=0.0):</in_offset>
+ <in_gain vector="2" default="1.0">Enter gain for input(default=1.0):</in_gain>
+ <out_gain default="1.0">Enter gain for output (default=1.0):</out_gain>
+ <out_offset default="0.0">Enter offset for output (default=0.0):</out_offset>
</param>
</model>
diff --git a/src/modelParamXML/Digital/gains.xml b/src/modelParamXML/Digital/gains.xml
deleted file mode 100644
index 2bce2a66..00000000
--- a/src/modelParamXML/Digital/gains.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<model>
-<name>gain</name>
-<type>Analog</type>
-<node_number>2</node_number>
-<title>Add Parameter for model gain</title>
-<param>
- <in_offset>Enter offset for input (default=0.0):</in_offset>
- <gain>Enter gain (default=1.0):</gain>
- <out_offset>Enter offset for output (default=0.0):</out_offset>
-</param>
-</model> \ No newline at end of file