LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Relative time scale issue with the XY graph in LabVIEW 8.5.1

Hello all,

I have found a problem that can be considered a bug in the XY graph in the latest release of LabVIEW, version 8.5.1.

Here's the problem:

For data logging, I use the XY graph to display temperatures as function of time. On the X-scale, in LabVIEW 8.5 the setting "relative time" worked well.

When I use the XY graph in LV 8.5.1, I choose the same relative time setting for the X-axis, but for some reason the setting keeps going back to "absolute time", which is not suitable for my application. I have contacted NI in Holland and they encounter the same problem.

Did any of you encounter the same problem? If so, did anyone find a workaround?
Please let me know

Kind Regards

Raymond van der Hoogt

Message Edited by KoosKoets on 05-28-2008 10:15 AM
0 Kudos
Message 1 of 8
(5,721 Views)
Hi!

I've checked right now. I have the same symptom. Even if I try to update it programatically with a Property node (Format string to "%<%X>t" I get an error that says: "Invalid property value".
I'm from Hungary anyway. (But I suspect we use the same English version of LabView)

Regards,


Peter Kovacs
0 Kudos
Message 2 of 8
(5,710 Views)
Are you sure you're handling your x-axis data the same way between your 8.5 VI and your 8.5.1 VI?  If I wire a time container to the x-axis value, I can never do relative time.  However, if I subtract the current time from the start time, then relative works just fine.  I have check 8.2.1, 8.5, and 8.5.1, and in my tests, all behave the same way.

If you can supply a VI that shows the behavior difference between 8.5 and 8.5.1, perhaps someone here can be of more help.


0 Kudos
Message 3 of 8
(5,697 Views)
%<%X>t IS an invalid format code.  Usually it is %<%H:%M:%S>t.
0 Kudos
Message 4 of 8
(5,696 Views)
Hello,

A collegue of mine works with LV 8.5 and his XY graphs work as they should.

Before you even wire anything to te XY graph, there is no way of setting the X-axis to the relative time. The time scale starts at 1:00:00 in stead of 00:00:00, no matter what I try. It keeps getting back to the absolute time.
In the previous versions, this problem did not occur.

This is an annoying problem which in fact has been tested confirmed by NI in Holland, and they will report this bug. For now I can only switch back tot the 8.5 version of LabVIEW to avoid this problem.

Message Edited by KoosKoets on 05-28-2008 02:51 PM
0 Kudos
Message 5 of 8
(5,689 Views)
I am able to reproduce the bahvior.  The issue is that LabVIEW is trying to use an invalid format code. You can work around it though and there is no need to downgrade.

Select one of the time formats and then click on "Advanced Editing Mode."

You will see that LabVIEW is using %<%X>T.  If you try to change it to %<%X>t LabVIEW will indicate it is invalid.  When LabVIEW gets an invalid format code in this screen, it reverts back to a good one, which is why it always goes to absolute time.

Change it to %<%H:%M:%S>t and hit OK.  Your updated VI is attached.


Message Edited by Matthew Kelton on 05-28-2008 03:19 PM
0 Kudos
Message 6 of 8
(5,684 Views)
Hi Matthew,

The solution works for me, my worries and annoyances are over! Thank you very much for your quick response!

Kind regards

Raymond
0 Kudos
Message 7 of 8
(5,660 Views)

Hi All,

I tested this bug today in LabVIEW 8.6 and it is solved in this version.

Regards,

RikP - National Instruments Applications Engineering

Rik Prins, CLA, CLED
Software Development Engineer
Message 8 of 8
(5,493 Views)