Jump to content

Banjo

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Banjo

  1. I see that you have already done the strip chart shifting action. I just didn't watch it long enough. Thanks again.
  2. Thanks for the examples. I cranked up the speed in your example by a factor of 20, and it does not appear to hit the CPU all that hard. I would have to figure out how to drop older points off the left side, but that can be viewed as an interesting challenge. Given the low rate of update in my VI I might be able to get away with updating the X-Y with every data point and see what that does to the resources. That would simplify the code somewhat. Testing this idea inside my GUI environment will take a bit of time. Thanks for the ideas.
  3. Thanks for the replies. I am still stuck with LabVIEW 2012. Don't even have 2012 SP1 installed yet. I do not know whether the VI's are re-entrant or not. I inherited this infrastructure. I will see if I can find out. I have read on the forum that X-Y graphs are CPU hogs. I have not tried them myself, so that is only rumor for me. This is not a show stopper problem for this project. If push comes to shove I will drop the chart or live with it kike it is. But it would be nice to make it work properly. Thanks again.
  4. I have a GUI that allows the user to display one of three front panels by swapping the front panels of three asynchronous VI's into a subpanel in the main front panel. All three VI's are launched asynchronously at startup and continue to run in the background. On one of three VI's there is a strip chart that updates at about 1 Hz. It has a history length of 1024 and is showing 200 points. It works as expected on first display. When I swap into the subpanel one of the other VI's, the first one continues to update in the background, i.e. the data points continue to tick up. However, when I swap the first VI back into the subpanel, the history is not displayed. It is blank. The chart continues to update and display the new data in the correct locations on the chart, but there is no drawing of the history data on the screen. To make this even more confusing, there is a similar chart on the second VI, and it appears to work properly. I can switch back and forth between the displays and the history always shows up on the chart in the second VI. As far as I can tell, the two charts are set up the same way. I bundle dome doubles and wire the bundle into the chart. I have done no fancy customization. One chart works; the other does not. Sorry, but I cannot post the code because it is embedded in a sytem that requires the installation of in-house developed packages in order to even view it. It is way too huge to pull out one piece. I am relatively new to LabVIEW (two years now) so I suspect that I am missing something simple on how the charts work. Anybody have any ideas about what I can do to troublshoot this? Thanks.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.