Jump to content

ASalcedo

Members
  • Posts

    60
  • Joined

  • Last visited

Posts posted by ASalcedo

  1. 7 minutes ago, ensegre said:

    You have to code it yourself in a way or the other. For example having your VI save the important values in some kind of config file on exit, and read them in (if the file is present) first thing on start. Your choice whether to dump plainly the control values in a binary file (inflexible and obfuscated), to use a standard format like xml or json, or a plain format of your design for human readability, and how to treat file errors and make room for future changes. OpenG should have something in this direction, never used.

    Another way may be invoking "Make current values default" and then saving the VI, programmatically. I find the first solution preferable in general.

    Thanks a lot. I am gonna try the first sollution you mentioned.!

  2. 20 hours ago, ensegre said:

    LV metrics is in pixels, not in inches anyway. Your best bet is to develop from start for the exact number of pixels you have on the deployed screen. You could also try VI properties/Window size/Mantain proportions of window and VI properties/Window size/Scale all objects, or Scale object with pane on single controls, but the result may not be impressing, and this is a notorious flaw of LV. For finer control, you could specify programmatically the positions and sizes of all your objects with property nodes, which is certainly tedious.

     

    18 hours ago, hooovahh said:

    Oh the pain of resizing LabVIEW UI's.  I learned tons of work arounds to make useful UI and UX in LabVIEW and several involve using having controls fitting to panes and using splitters, and subpanels in VIs.  If you do go with the Maintain Proportions of Window that ensegre suggested, I'd recommend starting with you UI as small as you expect to support, and then turn that setting on.  It tends to work a little better if you only make controls get larger, then resize back down to the original size.  If you have a UI and then try to make it smaller things get squished and overlap, then when you make it large again things are out of place.

    Thanks for answering. Yes I have tried to go with the Maintain Proportions of Windows that @ensegre suggesed, UI fits well (more or less...) but the problem is that I have some controls that their position is calculated programatically depending on ig user click on them.

    So I am imagine that I have to use property nodes for each resolution right?

    Thanks again.

  3. Hello to all.

    I would like to know hoe can open my VI with the same configuration. I mean with every indicators, controls, graphs... are equal than when Labview was closed the las time.

     

    Is it that possible?

    I am asking this because I am developing a vision application with vision and motion toolkit. And a ROI is changed every time when I run again Labview in the same position of display.

     

    Thanks a lot.

  4. Hello to all.

    Thanks for helping me.

     

    I have developed an application in a laptop of 15.6 inches.

    Now I am creating a .EXE to deploy in a PLC of 15 inches.

    All my front panel is a tab control which has controls and indicators inside.

     

    The problem is that when I deploy de application I can not see a part of tab control (15 inches vs 15.6 inches).

    How can I fit tab control to 15 inches easyly?

     

    Thanks a lot.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.