10-01-2012 09:36 PM
Hello
sorry for my english
I'm developping a labview project with a PC (1920*1080 resolution screen) and I have to deploy it to work in a PC with (1024*768 screen resolution 10'' ) I use several spliters for this so I need some advices to ensure that my exe will work
fine in such target PC so I need to know how to configure my main vi proprety ; window size in execution ; etc ... in my PC all work fine I can minimize window and maximize it when project is running and all objects were scaled very
well but I dont know what will happen in such target pc.
any advice or help please
Solved! Go to Solution.
10-02-2012 05:52 PM
Hey IYED,
Here are some knowledge base links that address this issue.
http://digital.ni.com/public.nsf/allkb/7567EF257B9CFDF986256F630073228F?OpenDocument
http://digital.ni.com/public.nsf/allkb/4C03BE7BFD1D00948625670B0061CB6A?OpenDocument
Hope this helps!
10-03-2012 05:01 PM
thank you
10-03-2012 05:23 PM
Be VERY cautious using those options. In my experience, NI scaling has been more trouble than it is worth. You are better suited not scaling and trying to find an acceptable method yourself.
I recently tried to use it again on a project that should have been incredibly simple to scale. I'm glad I had a backup of the code, because just maximizing and restoring the unit corrupted the look so badly, I could not easily get it back to where it originally was. NI's method of scaling does not scale fonts (at least in my case), so you'll get things such as buttons which scale down to the boolean text width and stop. When it resizes back up, it doesn't use your original referenced control, but the current view of it, so the button gets bigger and is not in the correct location. I also believe they follow the same order of resizing, where I feel that it should be reversed if your enlarging the window.
Every time I have tried to use it, I have been frustrated and gave up on it. The only time I have had anything work is fitting the control to the pane, as it takes up everything and the scale cannot be messed up.
My adive is that if you know the monitor resolution that it will run on, design for that resolution. You can change your PC resolution to match if needed. You can use the minimum panel size if you want to keep your higher resolution to make the panel be 1024x768 (smaller if you want scrollbars, menu, title bar, etc.).
10-03-2012 06:07 PM
very good advices thank you very much
Please I have an other question
I have to build a .exe from my main VI : the main vi contains some dynamic vi that I need to insert them in a subpanel of my main vi for this I use a relative pah '' Application Directory path.vi'' to create references and when I run my
application all work fine in devellopent machine. But when I try to build this application to create a .exe this exe did not work 100% in my target machine. So I'm sure that the probleme is due to building application settings normally the
dynamic vi should be in the same directory of application.exe I think that I must included them manually but I can't do this any help please !!!
10-03-2012 06:15 PM
To get the VI in your Always Include List you need to add it to the project (right now it is shown as a dependency).
10-03-2012 06:23 PM
thank you but how I can do this ??? I'm an amator
10-03-2012 06:35 PM
In your project, right-click on My Computer and choose Add-> File and pick the dynamic VI. You should see it get added to the list.
Alternatively, if you want to add a folder of files, you can choose Add->Folder. If you pick Auto-populating, LV will automatically add any file that is in the directory now or in the future.
10-03-2012 06:47 PM
Thank you very much man you rescued me
10-03-2012 09:26 PM
Hello
please I still need help I put my vi an always included list and my application.exe still dont work 100% normally the dynamic vi should be in the same directory of application as shown in attachements so where is the probleme ???
the application work fine in devellopent machine and to call the tacho and speed vi dynamically I use relative path as shown in attachments so what is wrong ???