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

custom data types, .net, nested structs

$
0
0

I receive a data structure from .net into TestStand. It's a struct containg a number of fields, and an array of stucts.

When i try to create a custom data structure of the Struct (CalibrationResult) in the step (Calibrate), the nested struct does not get any content. When i Open the Types pane, and check the nested struct (SpuriousList) its empty.

I have tried to create an other cutstom data type for SpuriousList, but i can't seem to get it right. The local variable (Local.RadarCalibrationResult) which is the output parameter keeps being read, with various error messsages like "missing a subproperty" or something like "you can't fit a square into a round hole". I did try to create the missing parts of the custom type manually, but it did not help.

Why will TestStand not build the complete custom datatype, when it contains nested structs ?

The sequence added is stripped down to one relevant step.

How do i create that particular custom data type, which will support my .net output (can anyone make Local.RadarCalibrationResult not red)?

 

 

 

 


Viewing all articles
Browse latest Browse all 6524

Trending Articles



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