05-26-2022 04:48 PM
Did I miss an example or API vi on how to save a string comparison result to the test monitor?
I see in the Labview examples that there is a add measurement (dbl), which is actually converting the double to a string.
should I just create a copy of that and use string inputs?
does systemlink use the min and measurement fields when saving the data? Measurement and nominal?
Solved! Go to Solution.
05-30-2022 11:41 AM
Some more detail.
When adding a measurement, the structure seems to be the following:
{
"name":"",
"status":"",
"measurement":"",
"units":"",
"nominalValue":"",
"lowLimit":"",
"highLimit":"",
"comparisonType":""
}
When using the TestStand Model, I assume that you can also save the normal TestStand Step Types:
All of the examples that I have seen match the numeric Limit Test.
Are there any examples to populate the Pass/Fail or String Value test?
05-31-2022 08:03 AM
Ok, I figured it out. hopefully NI is monitoring the SystemLink forum and will see this, so they can add more examples.
I created a new VI "Add Test Measurement (string).vi", which has a all strings (instead of doubles) and a new comparison type def, since the string comparison types are different than the numeric limit types.
Comparison Type Def
VIs are saved in LV 2020