LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate a real time plot in Diadem?

Solved!
Go to solution

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.

 

0 Kudos
Message 1 of 5
(3,153 Views)

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

0 Kudos
Message 2 of 5
(3,133 Views)

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

0 Kudos
Message 3 of 5
(3,126 Views)
Solution
Accepted by topic author bohm

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

Message 4 of 5
(3,107 Views)

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.

0 Kudos
Message 5 of 5
(3,070 Views)