Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement Studio AnalogWaveform<> equivalent in LabView?

Hello!

 

I've written a service that subscribes to a network variable, receiving AnalogWaveform<double> objects. It stores the data in a TDMS file, as well as plots them in a WaveformGraph control.

 

Everything worked fine, until a colleague of mine tries to generate something compatible in LabView. It seems there is no AnalogWaveform equivalent in LabView. 

 

Is AnalogWaveform<double> available in LabView, or is there a similar type that can be cast (in C#) to AnalogWaveform<double>? 

 

A workaround would be to send two vectors (a double[] and a DateTime[]), but it would be nice to have a compatible data type. If I send vectors I can't use e.g.. ChannelName, Scaling. 

 

Mikael 

0 Kudos
Message 1 of 3
(3,929 Views)

Hi Mikael

 

I think the datatype in LabVIEW is called just Waveform. I must admit that I never used the AnalogWaveform<double> since I'm mostly on LabVIEW these days, but it sounds just like the LabVIEW Waveform, which contains a vector of doubles for the data, t0 (timestamp), dt (double) and attributes(variant). You can find the VIs for using it under Programming->Waveform-> Analog Waveform in the functions palette in LabVIEW.

 

Best Regards

 

David

NISW

0 Kudos
Message 2 of 3
(3,897 Views)

+1

anyone know how to convert the data format?

0 Kudos
Message 3 of 3
(3,118 Views)