Vision window name without panel

Find and share HowTos to various installations / configurations!
Search

Post Reply
4 posts • Page 1 of 1
hbraun
Posts: 15
Joined: Wed Aug 09, 2017 7:25 am

Vision window name without panel

Post 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

User avatar
adaneau
Posts: 310
Joined: Tue Feb 21, 2012 9:49 am

Re: Vision window name without panel

Post 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

User avatar
leoknipp
Posts: 2926
Joined: Tue Aug 24, 2010 7:28 pm

Re: Vision window name without panel

Post 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

hbraun
Posts: 15
Joined: Wed Aug 09, 2017 7:25 am

Re: Vision window name without panel

Post by hbraun »

Thanks a lot, setWindowTitle() works perfectly. I can omit the -m paramter now.

Post Reply
4 posts • Page 1 of 1