DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Correct Time on X Axes

Hi, Beginner in the DIADEM

If I import the dtms data directly in the diadem I see on the X axes correctly time (the time when the acquisitions are has executed).

If I what to make automatically PDF files using diadem report, on the axes X are started with current time (computer time). How to make something for to see correct time (acquisition) using diadem report (automatically from LV). 

Thank you

 

0 Kudos
Message 1 of 9
(5,317 Views)

Hi nicut,

 

After a few edits I was able to get your VI to run on my computer.  It seems to create a PDF file that has a top graph with time on the X axis.  Could you please clearly describe what you don't like about the report your VI creates?

 

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 2 of 9
(5,285 Views)

HI

First of all thank you for your answer

What i intend is to have  on the axex X the time from tdms file .

Also if is possible please send me your answer(file) in LV 8.5.

Thank you again

 

 

0 Kudos
Message 3 of 9
(5,281 Views)

Hi nicut,

 

Here is the edited VI compiled for LabVIEW 8.5.  Inside the ZIP file I posted previously is a PDF file that shows the time values from the TDMS file on the X axis of the top graph.  Could you please describe clearly how you would like those time values to be displayed differently?  I can only help you if you tell me what you want to see.  When DIAdem graphs are set to automatic display formatting, then time axes like those in the top graph will show only the parts of the date/time that are actually changing.  In the PDF I sent, the VI was run at 20:02, so you have the 20 displaying at the bottom middle of the X axis, and then values from 2 to 26 displaying left to right at the bottom of the X axis-- these connote 20:02 to 20:20.  You can change the date/time display formatting in the configuration dialog of the DIAdem graph if you want it to display differently.  If you will tell me HOW you want the date/time values to display, I can tell you what the corresponding date/time display format string is.

 

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 4 of 9
(5,265 Views)

Hi,

If you look on the Waveform Chart, from the read.vi, on axe X you can see, time and date from  TDMS file (correct reading from TDMS file).

When PDF files is created the time from axeX are started with current computer time, (here is the problem, i what to be starded time from TDMS file) ,the graph from Vi to be the same with the graph from PDF file  (to have the same start time).

Thank you 

Best regards,

 

 

 

0 Kudos
Message 5 of 9
(5,262 Views)

nicut,

 

Thanks for the information.  It looks like this is a bug with the DIAdem Report express VI, so I will go ahead and file a bug report on that.  Once I do that, I can post the bug ID so you can check when new versions of DIAdem come out to see if the bug has been fixed.

Eric B.
National Instruments
0 Kudos
Message 6 of 9
(5,241 Views)

HI

Thank you for your answer, please tell me what version of diadem  you see this bug.

And also if is possbile please give me your post for this bug ID.

Thank you again

Best regards,

 

0 Kudos
Message 7 of 9
(5,233 Views)

Hi nicut,

 

I'm sorry, I misunderstood what you were saying, and you were exactly correct.  I believe what we will find is that the bug is on the LabVIEW side.  Knowing the way the DIAdem Report.vi passes the data to DIAdem (via temporary TDMS file), I have a hard time imagining that the trouble is with DIAdem loading the temporary TDMS file correctly.  At any rate I tested your original approach with the DIAdem Report.vi on 3 different DIAdem versions (10.2, 11.0, 11.1) and got the same (incorrect) behavior in all cases.

 

Here is an alternative approach that uses the DIAdem Connectivity VIs.

 

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 8 of 9
(5,212 Views)

nicut,

 

I also saw the problem with DIAdem 11.0 and 11.1, and I was using LabVIEW 8.6.1.  I filed the bug report and the bug ID is 167906.

Eric B.
National Instruments
0 Kudos
Message 9 of 9
(5,186 Views)