Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/04/2013 in all areas

  1. For clarity -- and don't let me put words in your mouth! -- but for clarity i think you mean to avoid "Scale all Objects with Pane" (because, it almost never does what you want) -- and you typically *always* want to enable "Scale Objects While Resizing" because hardware is more capable today than it was in the 1900's. :-) This is typically the setting you'll want for Panes:
    2 points
  2. :D :D :D :D :D :D Just wanted to share my happy. I've got my NIWeek trip all planned out for 2013. Now all I need is my LAVAG BBQ ticket and my plans will be complete!
    1 point
  3. Well, approach suggested above didn't work. I have no idea why, but python dlls still did not unload (I called PyCloseHost() function from lvpython.c, which includes Py_Finalize()) and second run would not work. The only improvement was that instead of hanging up the second attempt caused an exception, which was handled by Labview, but I still needed to close it after each run. Anyway, I found a workaround, which suits me: it turned out that it is generally OK to leave out call to "PYTHON Close Session.vi". You can reconnect to the same interpreter on the second run using state machine like this: (you get all your variables back), or even simply create a New Session each time, but that would lead to a memory leak. (BTW, it turned out that the source would not compile because of a typo, so simple but difficult to locate for a person unfamiliar with LabView develoment that it seems to be deliberate. )
    1 point
  4. There are no zero-pixel width splitters. (Sorry - I know they would be really useful). But Jack is correct that this should work without the top-level splitters. My recommendation is to avoid the VI property "Scale all objects on front panel as the window resizes." It almost never does what you want. Jack's example VIs work for me, but I'm guessing they are behaving differently for you because of this setting. I'm attaching a modified example that does not have that setting. Can you let me know if it works for you? Also, the "Scale Objects While Resizing" setting on the Pane (which Jack has set) is pretty important. It's not set on new VIs and it's in a really weird place (right-clicking on the scrollbar to get the shortcut menu with the Pane Sizing options). Container (1).vi Containee (1).vi
    1 point
×
×
  • Create New...

Important Information

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