LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

A problem with Error 1077

I have 3 systems. Two remote RTOS chassis, both simply feeding waveforms to a Windows host. I have had to send the trace names as separate network variables because it seems that the NI_ChannelName attribute gets stripped from the waveforms when it becomes a shared network variable. Then I am populating a list box on the host machine vi with this list of tracenames.
 
On the host vi, when you select names from the list it will display the selected traces, and also list those names in the plot legend along with the color of the trace. Most of it works but I have two problems I can't seem to get rid of.
 
1. Every so often I get Error 1077, "Invalid Property Value" popping up from the "ActPlot" property found in the FOR loop. When that happens the Plot Legend replaces the trace name with "Plot x". I suspect that I have some sort of race going on but I can't pinpoint it.
 
2. I have 20 plots feeding the waveform graph. I can display any number of plots from the bottom 16 with no trouble, until I select any one of the first 4 plots. As soon as I select one of those four, then any of the bottom 16 that are on the display disappear. A probe shows me the data on the wire to the graph as having ALL of the plots selected, but the graph itself will only display the one from the top four. This one has me mystified.
 
Any help would be greatly appreciated. I have included my whole "Project" but it may be difficult to run it on a single system.
0 Kudos
Message 1 of 5
(5,577 Views)

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.

 

0 Kudos
Message 2 of 5
(5,551 Views)

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...

0 Kudos
Message 3 of 5
(5,525 Views)
I have met the same problem and am also waiting for answer.
0 Kudos
Message 4 of 5
(5,471 Views)
i have met the same problem and am waiting for the answer too!
0 Kudos
Message 5 of 5
(5,467 Views)