LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiplot with labview.

Hani,

Is this behavior you are experiencing with every *.lvm file you write, or is this isolated to a single *.lvm file?
Mark
NI App Software R&D
0 Kudos
Message 11 of 20
(3,352 Views)
I've experinced  this problem with every lvm file.


Message Edited by HANI on 02-10-2008 05:10 AM
0 Kudos
Message 12 of 20
(3,334 Views)
HANI,

Could you post a screen shot of your Configure Write To Measurement File [Write to Measurement File] dialog window so I can attempt to reproduce this behavior on my machine.

Also, what type of data are you writing (string, binary, waveform, etc.)?  Are you experienceing the same behavior when writing and reading other file types?
Mark
NI App Software R&D
0 Kudos
Message 13 of 20
(3,310 Views)
Hello all,

I am using Labview 8.5 full devolpement system.Is any other tool kit required for using the .lvm file?
if any example for reading and writing from .lvm file it will be a great help for me.


Thanks in advance,
Techiess
0 Kudos
Message 14 of 20
(3,207 Views)
Techiess,

Writing to an .lvm file does not require any additional toolkits.  The shipping example Cycle Analysis.vi demostrates the use of the Write to Measurement File express VI and can be found in the NI Example finder by searching for "cycle."


Message Edited by BLAQmx on 03-18-2008 04:18 PM
Mark
NI App Software R&D
0 Kudos
Message 15 of 20
(3,196 Views)
Hi BLAQmx,

I personally facing the same problem with HANI. I use LabView 8.5 and DIAdem 10.2. These are the chronologies :

1. I made the LVM with File I/O - Write to Measurement File --> OK
2. Check the result with Waveform Graph --> OK
3. Open that .LVM file with DIAdem  --> Can't read the file (see attachment) 
4. Create the .vi in LabView to read the .lvm file, re-write it into .TDM file and check the result using Waveform Graph --> OK
5. Open the .TDM file with DIAdem --> Can't read the file
6. Do the same steps with similar PC with same National Instruments products installed
7. The DIAdem succesfully open both .LVM and .TDM files.

So, what happen to my first PC ?. 
0 Kudos
Message 16 of 20
(3,048 Views)

Hi terwelu,

Make sure you follow what the Error Opening LVM Files in DIAdem KnowledgeBase discusses.
The cannot load lvm file into diadem forum post discusses of the same problem.

- Did you attempt to open the same LVM file created in PC1 in PC2?
- Can you post a copy of the LVM file causing the problem?

Nestor
0 Kudos
Message 17 of 20
(3,000 Views)
Hi Nestor_G,

Here I attached my .LVM file that can't be loaded in both PC (notice that I could opened it in LabView using read measurement file, but not in DIAdem).

I made some progress yesterday. I made the .vi to "transform" from LVM to TDM. However, I still prefer to use LVM since I can open it using Excel. So, I still need to open my LVM in DIAdem.

Ok, hope to hear good news from you Nestor_G Smiley Wink
0 Kudos
Message 18 of 20
(2,983 Views)

Hi terwelu,

I was able to download, and note that in your LVM files there are no headers as described in the cannot load lvm file into diadem forum post. After adding the necessary headers, I was able to successfully open both files in DIAdem 10.2.

I reformated the files using a simple VI. In the VI I have a Read From Measurement File.vi to read your raw LVM file, followed by a Write to Measurement File.vi, with "One header per segment" option enabled; this option adds the necessary header information for DIAdem to successfully interpret the file.

Attached is the simple VI to add the necessary header, and the now readable LVM files.

Note terwelu, that an Add-In is available to read TDM files in Excel.
You may download the free add-in at:

TDM Excel Add-In for Microsoft Excel Download

Hope this helps terwelu. . .

Nestor
0 Kudos
Message 19 of 20
(2,962 Views)
Yup Nestor_G, I got your message (even I can't see your attachment Smiley Very Happy) and apply it into my LVM file. Your solution is the best !!!

And thanks for the TDM to Excel Add-in file...works for me Smiley Wink

terwelu
0 Kudos
Message 20 of 20
(2,950 Views)