12-01-2008 10:31 AM
I have seen several threads discussing how to get names on the column headers when outputting dynamic data to a file and thought I would give a simple example of how to do this.
The example generates a Y=2X as 2 data flows and sends them to an X-Y graph and a text output file.
It is necessary to convert the dynamic data to a waveform and use the waveform attribute VI to add the attribute named NI_ChannelName.
The waveform is then converted back to dynamic data.
This is the solution I worked out and would appreciate confirmation from more expert users if this is the best way.
Colin
Solved! Go to Solution.
12-02-2008 12:07 PM
Hi Colin
I've been taking a look at your VI today and just wondered if you could define what you mean by the 'best way'? Do you mean in terms of the speed of running the VI, memory allocation or another factor?
If you could let me know, then I'll look into how best to optimise the VI. Looking forward to hearing back from you,
Best Regards
12-04-2008 05:04 AM
Jeremy
The reason I wonder if this is the best way is the apparent need to convert dynamic data to waveform, add the headings, then convert back to dynamic data.
Is there any way of adding the headings directly to the dynamic data?
Colin
12-08-2008 03:34 AM
Hi Colin
Just to let you know that your method is the best way to deal with dynamic data - there is no way to directly add headings to the dynamic data. If you have any other questions, please don't hesitate to ask.
Best Regards