Initial commit

This commit is contained in:
2026-02-26 17:41:05 +01:00
commit 3945b687d4
30 changed files with 2498 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
{"Instrument": {
"Variant": ["AVI64","FVI16"],
"Option": ["activeTransition", "diffVoltmeter", "differential", "highCurrent", "highResolution", "highSpeed", "highVoltage", "highVoltageH", "highVoltageL", "precisionGangRange", "siteInterlacingOn"],
"PinType": ["single","ganged","stacked"],
"PinNumber": ["1","128"]
}}

View File

@@ -0,0 +1,5 @@
{
"Variants": [
{ "Variant": "AVI64","Directory": "hw_ext_variants\\Avi64\\Driver\\TestSetup","FacadeName": "AVI64" }
]
}

View File

@@ -0,0 +1,66 @@
{
"Options": [
"", "highCurrent"
],
"FileNotes" : [
"This is a simple test setup with 1 instrument. It powers up the instrument, and disconnects after measurement.",
"Firsst setup will trigger a problem message, which will be fixed in the second setup.",
"Clamps are set to the minimum clamp distance of largest range, to support proper ganging.",
"Range values are smaller than the actual used ranges, so we can verify proper ranging in states."
],
"Variables": [
{"$forceValue": "1.0"},
{"$clampCurrent": "0.03*gangCount"},
{"$irange": "0.033*gangCount"}
],
"TestSetups" :
[
{
"Setup" :
{
"Name": "Simple_Typ",
"Notes" : [
"This setup will do the main setup, but trigger a problem message.",
"The force value is larger than the actual used ranges, so we receive a problem message."
],
"InstrumentSetup" : {
"Name": "pin1",
"Properties": [
{ "level.vforce": "$forceValue" },
{ "level.iclampSource": "$clampCurrent" },
{ "level.iclampSink": "$clampCurrent" },
{ "level.vrange": "0.0" },
{ "level.irange": "$irange" },
{ "connect": "true" },
{ "disconnect": "true" },
{ "disconnectMode": "hiz" }
],
"Expects": [
{ "type" : "problem", "checks" :
[ {"proplemMsg" : "The $forceValue exceeds the level.vrange*"}]
}
]
}
}
}
,
{
"Setup" :
{
"Name": "Simple2_Typ",
"Notes" : [
"This setup will fix the problem frome above setup."
],
"InstrumentSetup" : {
"Name": "pin1",
"Properties": [
{ "level.vrange": "$forceValue" }
],
"Expects": [
{ "type" : "state", "checks" :[ {"property" : "forceValue" , "value" : "forceValue" }] }
]
}
}
}
]
}

View File

@@ -0,0 +1,31 @@
{
"GroupId": 1000,
"UniqueTemplateId": "auto_generated",
"Description": [
"Simple test level with 1 instrument. Powers up the instrument, and disconnects after measurement.",
"Can check states and logsets after execution."
],
"Features": [
"PowerUpWoPowerSequence",
"PowerDownNoPowerSequence"
],
"TestInput": [
{ "Instruments" : "Instruments" },
{ "SetupFileName" :"Setup_Simple_Typ",
"setups" : [
{"InitialSetup": "Simple_Typ"},
{"FinalSetup": "Simple2_Typ"}
] }
],
"Template": [
{ "call" : "createMeasurement", "args": [ "Instruments"], "return" :"Measurement" },
{ "call" : "applySetup", "args": ["Measurement", "InitialSetup"] },
{ "call" : "buildMeasurement", "args": ["Measurement", "false"] },
{ "call" : "ProblemCheck", "args": ["Measurement", "InitialSetup"] },
{ "call" : "applySetup", "args": ["Measurement", "FinalSetup"] },
{ "call" : "buildMeasurement", "args": ["Measurement", "true"] },
{ "call" : "executeMeasurement", "args": ["Measurement", "true"] },
{ "call" : "StateCheck", "args": ["Measurement", "FinalSetup"] },
{ "call" : "LogSetCheck", "args": ["Measurement", "FinalSetup"] }
]
}