NI TestStand Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
Madottati

Enable passing LabVIEW Waveform from TestStand to UI

Status: New

We have a custom TestStand UI, where we display some DUT specific waveforms. These waveforms derive from a custom step type which returns an array of waveforms, whereas these will be stored in a TestStand variable type LabVIEWAnalogWaveform.

 

To pass these waveforms to the GUI, we have to basically build up the waveform again in the GUI, because the representation of the waveforms are different in TS and LV 😞 This is a time-consuming operation. As I know, the only problem is the different representation of t0 --> this is a string in TS, but a timestamp in LV.

 

There must be a way to pass waveforms from TS to a custom GUI. Either changing the t0 representation in TestStand, or using an automatic conversion.

 

The return value of PropertyObject.GetValVariant could be simply type casted back to array of waveforms...

 

Madottati

1 Comment
WireWeaver
NI Employee (retired)

I prefer using UIMessages for this. If you include the array of waveforms as the ActiveX Data Param, you won't have to cast it since it will retain the original type.

https://www.linkedin.com/in/trentweaver