LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why does a real time chart set on the first page of a tab become wrong when you go to the second page of the tab and then coming back to the first ?

why does a real time chart set on the first page of a tab become wrong when you go to the second page of the tab and then coming back to the first ?
0 Kudos
Message 1 of 5
(2,677 Views)
Hello!

I have tried to recreate your error by putting two charts on two separate tabs. I write to both and then switch between the two, but I don't see a problem. What do you mean by "become wrong" and what version of LabVIEW are you using? If you could, maybe include a small VI to the post(scaled down to enough to only reproduce the error). This way we can see what's going on.

BB_Phil
0 Kudos
Message 2 of 5
(2,677 Views)
Hello,
My VI is complex so I'm going to explain how it works. I get some digital signals from a serial port, each signal is converted to a waveform, there are nine signals that have differents time bases. Each signal have a dedicated scope chart, those nine charts are on the first page of a tab. The second page of the tab contains only controls (like string control, digital, but nothing special on it...). The x axe of the scope charts is time (24 hour HH:MM:SS with 3 digits) this time is generated by my program, not by LabView itself.

The problem :
When you run the program, the t0 form every scope charts is the same ( for exemple 10:48:23,324 ) and the signals appears correctly, I can minimize the windows and maximize it without any problem. When I
decide to look at the second page of the tab to change or add some values (no relation with the scope charts), and then I come back to the first page of this tab some or every scope charts are empty.
The t0 written on the scope charts is in the future, and the current waveforms are correct (not empty, and the t0 is real (current time)).
To change this problem I can :
1. clear the chart !
2. or wait for the real time t0 becoming the t0 written in the scope charts ??!!

Remarks:
this thing happens when I'm on the second page of the tab and a scope charts arrives at is end (rigth border of the scope). this problem never appear on a scope chart if is property XScale.Maximum is less than 20 (2 secondes).

Is it clearer ?
Thank you for your answer !
Current version of LabView is 6.1 under windows 2000 pro Pentium III 866 - 256 Mo.
0 Kudos
Message 3 of 5
(2,677 Views)
I'll take a look at your code sometime today if its practical to send the VI with the charts on the front-panel by itself.
0 Kudos
Message 5 of 5
(2,677 Views)