LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Make .NET called Print Dialog frontmost

Tom S,

Try running your VI on the User Interface Thread.  You can do this by going to File >> VI Properties >> Execution.  Set the Preferred Execution System to 'user interface.'

Regards,

Brian T
Applications Engineer
Message 11 of 14
(1,698 Views)
Brian,

Thank's for this advise! Just changing the execution system to "user interface" was actually the solution for my problem!

But what I realized now, is that for some reason the listbox of the .NET FileDialog is sometimes updated very slow (takes a few seconds) after the file type was changed via the pull-down menu from the dialog. That's a bit irritating! But I think there's no possibility to make it work faster. Most likely, I have to live with that...

Best regards
Tom S.
0 Kudos
Message 12 of 14
(1,686 Views)
Tom S,

I really do not think there is any way to improve that from the LabVIEW end of things.  There doesn't seem to be any delay when I try it on my computer at least.

Brian T
0 Kudos
Message 13 of 14
(1,672 Views)

Brian_T wrote:
Tom S,

Try running your VI on the User Interface Thread. 

 

Brian T
Applications Engineer


Hi Brian,

 

But making the VI run in UI Thread will automatically make the VI as the Parent Window of the File Dialog, even if the option "Make This VIs Front Panel the Parent" is put to False in the VI's FP before running...

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 14 of 14
(1,513 Views)