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

Can convert some data types from variant, but not others

$
0
0

Hi there,

 

I have been using LabVIEW for a couple years, but I am brand new to TestStand. I have just inherited some code, and I would like to "pick off" data while running a test stand sequence and save to a .csv so that I can look at it later, I've made a LabVIEW VI to do this.

 

The test has a couple different data types, like waveforms and custom clusters, so as the input I have a Variant Control and an Enum Control to select different cases. I have had success converting from a variant to numeric, but I get an error when I try to convert from variant to 1D array of waveforms. 

 

Is it possible to do what I want? Am I just making a silly error? Do I have to have a separate input for these odd datatypes, instead of the variant and case structure?

 

I've attached an example created using LV 2012 and TS 2012.


Viewing all articles
Browse latest Browse all 6734

Trending Articles



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