Showing results for 
Search instead for 
Did you mean: 

Waveform attributes

Good afternnon!

First of all: I'm new to this group. Please refer me to a website or a faq
if my questions are already answered.

I want to write wafeform data (multiple channels) into a text file. My
problem is:
I want to create a header that contains the channelnames, the units and the
stuff that the VI "export waveforms to spreadsheet file" provides (t0, dt,
I tried the VI "read waveform attribute" but failed while trying to format
the output (1-d array of variant) so that it fits into a *.txt file.
Converting the output with the VI "variant to flattened string" only gives
me some "binary stuff".

Any help would be appreciated!

Thanks in advance:

Bernd Schoofs
0 Kudos
Message 1 of 2
The "Read Waveform" probably isn't what you are looking for. There are no predefined attributes in LabVIEW 6.0, although there are future plans to create some, such as channel name and channel unit. Currently, all you do is set properties and then read them back.

I would recommend just using the "Export Waveforms to Spreadsheet" if you are wanting to write waveform data to a text file. If it isn't quite what you are looking for, you can always modify it but it would be a great starting point. Let me know if you have any specific questions on modifying it.


Matt Kisler
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2