02-23-2015 05:21 AM
Hi,
I have been struggling with this,How can i built a vi that should run for different screen resolutions (on different pc's).
There are several threads on forum , But i dont find the exact solution for it.
I have already tried with VI properties in the VI but i dont think its working.
Can someone please help me ?
Thanks and regards,
Shivkant Paswan
02-23-2015 05:30 AM
Use splitters!
I learned how to do this from the webcast on "User Interface Design Best Practices" here: http://uk.ni.com/summeroflabview (week2)
02-23-2015 07:42 AM
i agree on the comment above...
it is really a PITA to make code to be able to resize the VI. if you can avoid it. do it. if no use the splitters advice
02-23-2015 11:36 AM
Yup it is a pain to use panes, but that is the easiest method I've found which meets my requirements. Learn to use panes and splitters effectively, and then learn their limitations and workaround when you find those limitations. In general LabVIEW should handle multi-resolutions, and resizing better but these are the tools we have today.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
02-23-2015 09:47 PM
Hello All,
I dont find the method of using splitters feasable,what if i dont want any splitters on my front panel as per my application requirements.
Can anyone suggest some programmatic way to do it without effecting the appearance of my front panel?
Thanks,
Shivkant Paswan
02-24-2015 02:26 AM
Use the 'Classic' style splitter and make it the same colour as your background, it then becomes invisible. (lock it too, to prevent the user from resizing)
02-24-2015 07:22 AM
@Phil_ wrote:
Use the 'Classic' style splitter and make it the same colour as your background, it then becomes invisible. (lock it too, to prevent the user from resizing)
Yup this is one of those limitations I mentioned earlier. Another is handling tab controls.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord