04-12-2006 11:19 AM
04-13-2006 01:13 PM
I fooled around and figured out how to fix the race condition. I had to reverse the order of my operations. That fixed problem #1. I also think I have found the reason for problem #2.
As I said I have two remote systems both simply feeding data to my host. I noticed that one of the remotes was still set for UTC, while one was set to EDT (UTC - 5 hrs). I used MAX to set the time to EDT, but we have also had a shift to daylight saving time recently. It didn't pick that change up. Now I notice that whichever one of my systems is lagging behind on the time is the one which does not get displayed if traces from the more (time) advanced unit are selected.
One system at 13:00 hrs and displaying data. The other system at 14:00 hrs. When I select a trace from the system at 14:00 then the traces already selected, and being displayed, from the unit at 13:00 will dissappear. I de-select the trace on the 14:00 unit and they re-appear.
I suspect I need to figure out how to ignore the time from one of my systems and use the time from the other one for all traces. However I would welcome any other ideas.
04-18-2006 11:42 AM
Now I have fixed the other error. As I suspected it had to do with timestamps. I was attempting to display "up to" 20 traces on a chart. I populated a list box with the trace names and then used it as a control to select any combination of traces to display. My traces were coming from two different computers and I found that the system time on these two was about 15 seconds different.
When I would select any from the "slow" system they would display fine, but if I then selected one from the "fast" system then the slow traces would disappear. To prove this theory I reset the time in the "slow" system to be 15 seconds faster. Now my problem moved. The traces which caused the disappearance were reversed.
Next I utilized the WDT Align Waveform Timestamps.vi and the problem is gone. I had to ensure that all of the timestamps were the same in order to display them on a single chart. As always, the tools were there, I simply didn't know I needed them.
So the end result is that I had two problems, and found the solution to both, before anyone made any suggestions. Just lucky this time...
06-05-2006 07:26 AM
06-05-2006 07:29 AM