> I try to make popup dialog box by setting my subprogram with > > Viproperties-->Window Apperance -->dialog. > > and set my subprogram (which place into main program)with > sub program node --> open front panel. > > It looks nice graphic but it make the run time very very very very > slow !!!!!! than the normal graphic that I used to program. >
I still don't understand what it is you are doing that could slow it down that much. If you have lots of screen updates, particularly using the value property on property nodes, then having the panel open will run slower than with the panel closed, but being a dialog shouldn't affect it. If you are using lots and lots of property nodes, reconsider. They are for UI only. You might also want to use the profiler to determine what is taking so long. Open the profiler before running your VIs, Click Start, then run your VIs to completion. Then click stop and it will give you an idea of which VIs are slow. Also, the timing details will tell you how much time was spent in drawing the panel. Greg McKaskle
