Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

How do I sanitize my numeric results using a Process Model Plug-In?

$
0
0

I have a TestStand sequence that sometimes sends special floating point numbers to our database-- numbers like -Inf, Inf, and NaN. NaN is OK but -Inf and Inf are not, so I'm trying to write a Process Model Plug-In through TestStand's Configure >> Result Processing... dialog box. I actually got that working but I don't know the syntax of switching on the step types and modifying their results' data....

 

Specifically, I want to look only at steps of type "Numeric Limit Test" and "Multiple Numeric Limit Test", then if their results are -Inf or Inf, change those to NaN.

 

Is there some example code I could look at that does this or something else that will help me do this?


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>