Page 1 of 1

Vision window name without panel

Posted: Wed Feb 26, 2020 10:05 pm
by hbraun
Hello everyone,

You can set the window name of the vision module with "-m" option of the UI. E.g.

-p testPanel.xml -m vision:"myWindow"

But this way the window in windows is always the name specified at the -m parameter + ":" + the panel. E.g.

"myWindow:testPanel.xml"

Is there any way to get a window without the ":" + panel?

Thanks and kind regards,

HBraun

Re: Vision window name without panel

Posted: Thu Feb 27, 2020 9:05 am
by adaneau
Hi,

Cant you use the function setWindowTitle() to put title of your choice at initialization?

Otherwise I have no idea using -m option of UI manager...

BR
Alex

Re: Vision window name without panel

Posted: Thu Feb 27, 2020 11:09 am
by leoknipp
If you start the UI only with the option "-p <panel file>" a Vision modul is opened with the specified panel.
There is no need to add also the -m vision option.

Best Regards
Leopold Knipp
Senior Support Specialist

Re: Vision window name without panel

Posted: Fri Feb 28, 2020 9:03 am
by hbraun
Thanks a lot, setWindowTitle() works perfectly. I can omit the -m paramter now.