summaryrefslogtreecommitdiff
path: root/js/Sources/PULSE_SC.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Sources/PULSE_SC.js')
-rw-r--r--js/Sources/PULSE_SC.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/Sources/PULSE_SC.js b/js/Sources/PULSE_SC.js
index 7daafb63..3d6c17f4 100644
--- a/js/Sources/PULSE_SC.js
+++ b/js/Sources/PULSE_SC.js
@@ -50,6 +50,7 @@ function PULSE_SC() {
}
PULSE_SC.prototype.get = function PULSE_SC() {
var y = this.needcompile;
+ this.model.ipar = 1;
var typ = list();
var exprs = this.graphics.exprs;
this.Btitre = "Set Pulse Generator parameters";
@@ -69,6 +70,7 @@ function PULSE_SC() {
}
PULSE_SC.prototype.set = function PULSE_SC() {
var y = this.needcompile;
+ this.model.ipar = 1;
var typ = list();
var exprs = this.graphics.exprs;
this.Btitre = "Set Pulse Generator parameters";