04-14-2009 03:38 PM
Hi,
I have tried a lot, but it doesn't work correctly.
I have logfiles with data from one ore more test ports. Every entry in logfile has a timestamp. The timestamps are not equidistant. I can read the logfile and get a 1D-Array ( n elements long) of timestamps and a 2D-Array data ( n x m elements for m test ports).
How to generate a report in Diadem with time as x-axis ? The difficult is, that I can't transfer the timescale to Diadem.
I could first convert timestamps to double and transfer al double. This don't solve my problem. The resulting Diadem-channel if from type "float" and not "time". To swich the channel to "time" I need a script. I see no solution to load a report layout (TDR), to call a script and to transfer additional text data.
Solved! Go to Solution.
04-15-2009 12:49 AM
You'd probably have better luck getting help if you posted this question in the Diadem board. http://forums.ni.com/ni/board?board.id=60
04-15-2009 01:29 AM
I don't think so. The problem is Labview's "Generate Diadem report vi", that can not transfer data in right way. Insight Diadem I can do anything. But I have to create a Labview Application.
My search in Forum has no success, but I think, my problem is very common.
--
Labview 8.6
Diadem 11
Windows XPPro
04-15-2009 10:30 AM
Hello bohm,
when writing a timestamp channel to a TDMS file, DIAdem automatically identifies it as a time channel. So when exporting the right data, you will get the right results ;-).
To demonstrate this, I have written an example VI: it creates two TDMS files with random time stamps and then displays both files in one DIAdem report. I hope you will find it helpful.
Best regards,
SFK
04-20-2009 05:58 AM
Thank you, SFK!
Your example is helpful for me. With the "TDM-Streaming vi's" I can solve my problem, they work fine.
I tried to use the Express VI "Diadem-Protokoll" (don't know the name in english version of Labview). It seams, that this VI can not transfer timestamps correctly.