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

.Net Object Ref, Array of structs

$
0
0

I'm trying to find the best (and simplest) way to handle this issue:

Background:

My calibration code returns a .net object, containg 2 array of structs.

Each struct contains e.g 10 properties. Each array will contain around 16 of these structs.

That means several hundred values to be evaluated in TS.

Problem:

I would like to setup a limit for each of those values.

I  would like to evaluate and report via a numeric limit step.

 

Q1) How do i access a specific property of that object reference ?

Q2) How do i retrieve the name of that property ?

Q3) Should I manually build my test sequence, with one numeric limit step per property (which requires that i know exactly how many data properties i will get) ?

Q4) Can I dynamically do some looping at runtime, that could report/evaluate all the content of the object pointed to ? 

 

 

 


Viewing all articles
Browse latest Browse all 6524

Trending Articles



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