LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph scales won't update before being appended to report.

I have a subvi that plots data to 2 xy graphs, autoscales the data using property nodes, and appends the image to a report using append front panel image to report.vi. Everything works fine except the scales are not being autoscaled. I'm using LV 7 with Windows XP Professional or Windows 2000. Any suggestions? Thanks.
0 Kudos
Message 1 of 5
(2,660 Views)
It sounds like the command to get the front panel image is executed before the front panel is updated. First, make sure you have some data flow between the property nodes and the repor functions. Second, for the graphs, select Advanced>Sychronize Display. In some situations, a subVI's diagram will finish executing before any front panel updates occur.
0 Kudos
Message 2 of 5
(2,660 Views)
Take a look at the screen shot. I have tried your second suggestion and still it doesn't work. I should note that this subvi is part of a stand alone executable application. Also, I have found that if I configure the subvi to open when called, programmatically minimize it, and close it when it's finished; the subvi will work. Any insight as to why? Secondly, what does synchronize display do? Thanks
0 Kudos
Message 3 of 5
(2,660 Views)
I suspect what is happening is that property nodes have to qwery the front panel. When the panel is closed, the panel is not updated by LabVIEW so your data appears to be unscaled. I suspect that it is really not updated at all. Have you tried to send an obviously different signal?
0 Kudos
Message 4 of 5
(2,660 Views)
I have sent new data and you are correct. The scales are still not being updated. Next move?
0 Kudos
Message 5 of 5
(2,660 Views)