LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Headers in Write LVM File Express VI

I understand about the transposing of the data, I thought that was the correct function to use. However, I'm a bit confused about what you mean regarding the channel data. In the LVM file, there was the option to include this information based on x axis values, which is what I need again. These values would always be the same based on what data set is saved, but I still need them in my file. They showed up as one column (an x-axis column if you will) and the main data was in a second column (y-axis values).

Any ideas on how to make this work?

Thanks.
Using Labview 7.0 and 2010 SP1 with Windows XP and 7.
0 Kudos
Message 11 of 18
(1,480 Views)
So what you want is a relative timestamp for each set of data points? Or do you just want an index along with the values?
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 12 of 18
(1,487 Views)
The vi you posted is what I ended up wiring in my diagram basically. I guess I need the indexing option to produce the other column of values. They range from 0-1023 in one set to 0-2048 in another. I don't quite follow exactly what you were asking, but that's what I need in the other column, those values. They appeared fine in the LVM file, I'm not sur eif it was because of a time stamp issue or a indexing issue. My knowledge s limited about Labview in this area.


Thanks again for your help.
Using Labview 7.0 and 2010 SP1 with Windows XP and 7.
0 Kudos
Message 13 of 18
(1,474 Views)
I was able to take care of the other column of data that I needed in my file. I just created an array using a For loop and added this to my file. It seems to do the trick.


Thanks for your help.
Using Labview 7.0 and 2010 SP1 with Windows XP and 7.
0 Kudos
Message 14 of 18
(1,455 Views)
Just another question to ask of you. I noticed the comment string (box on the front panel) does not update in real time if I change comments when the vi is running. It only writes the original comment I typed there. Is there a way around this so I could save the changed comments as the vi runs and saves continuously?


Thanks.
Using Labview 7.0 and 2010 SP1 with Windows XP and 7.
0 Kudos
Message 15 of 18
(1,440 Views)
You must have added the comment string after I posted the last version of the VI, as I don't see it on the front panel. I modified this last version, however, to allow you to include comments in the header each time you write to file. Is this what you wanted?
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 16 of 18
(1,437 Views)
Could you repost the vi in version 7? I have LV Express 7.


Thanks.
Using Labview 7.0 and 2010 SP1 with Windows XP and 7.
0 Kudos
Message 17 of 18
(1,435 Views)
Sorry, forgot you were using 7.0. Here it is.
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 18 of 18
(1,432 Views)