Skip to content

Commit 7868dbe

Browse files
authored
Bias buffer is not getting correct configuration in script in case of measure function is selected as combine (#32)
Bias buffer is not getting correct configuration in script in case of measure function is selected as combine Log start limit has been corrected Aperture spelling has been corrected
1 parent 199dd00 commit 7868dbe

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

script-gen-manager/src/instr_metadata/base_metadata.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl BaseMetadata {
3737
//TODO: verify this value for Trebuchet
3838
pub const EPSILON: f64 = 1e-9;
3939
//TODO: verify this value for Trebuchet
40-
pub const MIN_LOG_VALUE: f64 = 1e-12;
40+
pub const MIN_LOG_VALUE: f64 = 5e-6;
4141
//TODO: verify this value for Trebuchet
4242
pub const MIN_BUFFER_TIME: f64 = 60e-6;
4343

xml-handler/src/resources/sweep/MP5000Sweep.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595

9696
---@class Measure
9797
---@field nplc number | nil
98-
---@field aperature number | nil
98+
---@field aperture number | nil
9999
---@field rate `CONSTANTS.RATE_FAST` | `CONSTANTS.RATE_NORMAL` | nil
100100
-- ---@field autozero boolean Whether autozero should be turned on or not
101101
---@field count integer The number of measurments to take
@@ -382,8 +382,8 @@
382382
-- nplc
383383
if self.measure.nplc ~= nil then
384384
self.channel.measure.nplc = self.measure.nplc
385-
elseif self.measure.aperature ~= nil then
386-
self.channel.measure.aperature = self.measure.aperature
385+
elseif self.measure.aperture ~= nil then
386+
self.channel.measure.aperture = self.measure.aperture
387387
end
388388
-- count
389389
self.channel.measure.count = self.measure.count
@@ -1353,7 +1353,7 @@
13531353
<condition name="BIAS-DEVICE:MFUNCTION">FUNC_DC_IV_COMBINED</condition>
13541354
<snippet>
13551355
{
1356-
buffer = %NODE%.slot[%BIAS-DEVICE:SLOT-IDX%].%MODEL-TYPE%[%BIAS-DEVICE:CHANNEL-IDX%].defbuffer1,
1356+
buffer = %NODE%.slot[%SLOT-IDX%].%MODEL-TYPE%[%CHANNEL-IDX%].defbuffer1,
13571357
type = CONSTANTS.FUNC_DC_CURRENT
13581358
},
13591359
{

0 commit comments

Comments
 (0)