02-25-2010 06:23 AM
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
03-01-2010 04:39 AM
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
12-01-2015 01:10 AM
+1
anyone know how to convert the data format?