DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble exporting to DIAdem

Solved!
Go to solution

Hi,

 

I am using a 6070E DAQ card to read the output of a sensor. I am having trouble exporting the data from the labview program to DIAdem.

 

When my vi stops running, it displays the information on a waveform graph. I right click on the waveform graph and select "Export data to DIAdem", it opens DIAdem but randomly sets some of the values to zero, both the time and the actual readings... Sometimes it's only one or two of the data points, but sometimes (like in the picture), it completely distorts the data. I've attached the vi and also an image of how it exports to DIAdem... The chart should be showing 10 cycles of a 10 Hz sine wave.

 

Is there anything I can do?

 

Thanks in advance.

Download All
0 Kudos
Message 1 of 6
(4,657 Views)

Hi sdavoudi,

 

This is a bug in the graph export to DIAdem function of LabVIEW 2010-- it's fixed in LabVIEW 2011.  I can send you a replacement VI that will help for LabVIEW 2010, but the better solution would be to upgrade to LabVIEW 2011.  Also, if you want this to happen automatically, you should consider using the "DIAdem Report.vi" in the Express Output palette.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 2 of 6
(4,639 Views)

Hi Brad,

 

I am using the Labview provided by the school (University of Toronto) and it's 2010 for now. Once they buy the newer version, I will definitely upgrade. So in the meantime, I would greatly appreciate it if you could send me a replacement VI that doesn't have this problem.

 

Thank you so much.

 

Kind regards,

Sadegh

0 Kudos
Message 3 of 6
(4,638 Views)

Hi Sadegh - 

 

I just wanted to mention as an addendum to Brad's comment that if you want to export to happen automatically, another option is to use an Invoke Node to invoke the "Export to DIAdem" method of the chart/graph - another super easy way to achieve the functionality.

 

Export to DIAdem.png

Don't forget that for the greatest flexibility, consider saving your data to file (e.g. TDMS) and then loading it with DIAdem (you can do all of this programmatically, too).  This will allow you to save your raw data, invoke custom post-processing, apply your own customized report templates, etc.  Just one more option to consider.  Let us know how we can help after Brad posts his fixed VI.

Derrick S.
Product Manager
NI DIAdem
National Instruments
0 Kudos
Message 4 of 6
(4,632 Views)
Solution
Accepted by sdavoudi

Hi Sadegh,

 

It's been about a year since I looked into this last, but I believe all you need to do is to shut down LabVIEW, use the attached VI file to replace the following existing file on your hard drive, then restart LabVIEW.

 

...\LabVIEW 2010\vi.lib\ExportToExcel\exportToDIAdem.vi

 

Let me know if that doesn't do it,

Brad Turpin

DIAdem Product Support Engineer

National Instruments

Message 5 of 6
(4,605 Views)

Hi Brad,

 

Thanks for the file. I did what you said and it works great.

 

The only glitch is that if you try to export the data from the waveform chart for a few times, it will mess get messed up again. The solution is to close Labview and open it again.

 

Thanks a lot for the help. I really appreciate it.

0 Kudos
Message 6 of 6
(4,592 Views)