Initial commit
This commit is contained in:
66
SMT_PlayGround/hw_ext_tests/setups/Setup_Simple_Typ.json
Normal file
66
SMT_PlayGround/hw_ext_tests/setups/Setup_Simple_Typ.json
Normal 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" }] }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user