11-08-2011 02:39 PM - edited 11-08-2011 02:40 PM
Searched a bit, but couldn't find an answer. When using the express VI "Write to Measurement File" and adding comments to the data it shows up just fine in excel (as an additional column next to the data channels), but I do not readily see a way to display them in Diadem. Any suggestions?
Edit//
When opening in Diadem, I right click on the file and load data. Perhaps this is the issue, though I should think a .lvm file should open just fine in an NI product.
Solved! Go to Solution.
11-09-2011 05:16 AM
The comment you add is used as group name.
X_Value 50 Hz Signal Square Filtered signal Comment 0 -1.348572 4.412079 1.071472 My Group 0.001 -2.164612 4.412842 1.639557 0.002 -2.826843 4.413452 2.098999
For example a file with that content would create a group
My Group
in DIAdem with the channels X_Value, 50 Hz Signal, Square, Filter signal.
11-09-2011 10:45 AM - edited 11-09-2011 10:49 AM
That does not appear to be the case for the file that I am loading in. It differs from your example in two ways though. There are multiple comments and the first one does not appear in the first row. I'll play around with it some, but do I need to do anything special to make those groups appear?
Edit//
After inserting a comment in the first row, I get the results you describe. However, I do not see how to access additional comments in the file.
11-09-2011 04:50 PM
Hi jordankuehn,
It may make sense to create a custom DataPlugin to load your LVM files. Would you like those comments to show up as isolated values in an additional string channel?
If you can post or email several example files, we can probably send you back a DataPlugin that loads them with all comments available. What would you like to do with the comments, exactly?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
11-10-2011 02:30 PM
There are two possible paths. First the data could be seperated into groups by the comment, as it appears Diadem wants to do out of the box. The other would be to automatically annotate visually displayed data on a graph. If this sounds reasonable I can produce some sample files, but it's really nothing different than the standard lvm file generated in labview.
11-10-2011 04:04 PM
Hi jordankuehn,
Here is a an alternative LVM DataPlugin that parses the "Comment" column as a string channel. You will need to disable the regular LVM DataPlugin or choose to load the file with the "Open with..." right-click menu in the NAVIGATOR. This LVM2 DataPlugin works on my computer with the default LVM file I get using the "Write to Measurement File.vi" in LabVIEW.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
01-09-2012 01:33 PM - edited 01-09-2012 01:33 PM
@Brad Turpin wrote:
Hi jordankuehn,
Here is a an alternative LVM DataPlugin that parses the "Comment" column as a string channel. You will need to disable the regular LVM DataPlugin or choose to load the file with the "Open with..." right-click menu in the NAVIGATOR. This LVM2 DataPlugin works on my computer with the default LVM file I get using the "Write to Measurement File.vi" in LabVIEW.
Brad Turpin
DIAdem Product Support Engineer
National Instruments
Brad,
Thanks for the plugin, sorry it's been so long for me to follow up. I have tried it out and it does work as advertised, it brings in the comment channel. I worked with it and removed the samples with no entry, and generated a time channel to match the remaining entries. Ideally I'd like to take this channel and insert it into a graph in the correct locations. I've experienced difficulty with this. If I use the unaltered channel (with all the no entries) it overwhelms the graph, but they all appear. With the channel containing only the values that have meaningful data, I cannot seem to add it as either a data channel or as comments.
I'm using Diadem 2011.
01-10-2012 11:37 AM
Hi jordankuehn,
Your described process has me a little confused. It sounds like you want to delete selected rows which have empty comments/values, then plot XY curves on a graph with time on the X axis. It may be that you are removing rows from some channels and not from others. It may be that you are configuring the curves with only the Y channel, plotted vs. array index.
Could you please submit a sample data file for me to look at to get a better idea what you mean?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
01-12-2012 02:33 PM
Brad,
This sample file should give you an idea. Let me know if it requires further clarification. There are just a couple channels of dummy data, and comments that I've added during the 'realtime' creation of the file. The comments will serve to annotate the data when post-processing/displaying.
The forums will not allow a .lvm attachment (crazy? yes.), so I've renamed it to a .txt. Don't forget to change it back.
Thanks for your assistance. Hopefully others will benefit from this dialog as well.
01-13-2012 06:07 PM
Hey Jordan,
I have pulled in your file into DIAdem with using the dataPlugIn that Brad posted, I am able view the data but could you clarify what you are trying to do, from what I understand you are trying to remove empty data. Is that data that just contains 0's or cells that contain comments?