Jump to content

mgunning

Members
  • Content Count

    19
  • Joined

  • Last visited

  • Days Won

    1

mgunning last won the day on November 28 2013

mgunning had the most liked content!

Community Reputation

6

About mgunning

  • Rank
    Active

Profile Information

  • Gender
    Male

LabVIEW Information

  • Version
    LabVIEW 2012
  • Since
    1993
  1. Note also that some of the other LabVIEW VIs have the general error handler inside them, "Write to Spreadsheet File.vi" and "Read from Spreadsheet File.vi" for example.
  2. I've just upgraded from LV 2012 to LV 2014 and have come across a similar weird drawing issue with the toolbar and menu bar. I have a VI where the toolbar and scroll bars are set to invisible, FP window non-resizable. When I run the VI, there is a white strip around the VI where the toolbar and scroll bars would be if they were set to be visible. If I set the window to be resizable, I get a double menu bar, only one of which is operable. (Tried to post pictures of these but LAVA didn't want to accept them). I've managed to fix the problem. In VI Properties >> Windows Run-time Position, I had a custom window position and panel size set. If I turn of the custom panel sizing by ticking the Use Current Panel Size box, the problem goes away.
  3. Well, to find the child branches of "Jane", you can use the "Navigate Tree" method. "Navigate Tree" >> "Get Child" will find the first child. "Navigate Tree" >> "Get next item" will find the next child at the same level of the hierarchy. It will return an empty string if there are no more items at that level, so just keep searching until you come up with an empty string and you will have found all the branches under "Jane". You can then use the "Open/Close" >> "Ensure Visible" method to open all these branches. If you want to open the entire hierarchy underneath "Jane" right down to the very last twig, you will have to search through each branch to find the final value of each branch, and use "Open/Close" >> "Ensure Visible" to open all those values.
  4. As MJE said, I don't think you can hide branches without rebuilding the tree. But you can close all the branches that don't contain the search query, and only open the branch that does, if that would be sufficient. Use the "Open/Close" >> "All" method to close all branches, followed by the "Open/Close" >> "Ensure Visible" method to open only the branch that contains a particular tag.
  5. Have a look here on the dark side for an example of how someone has done this sort of thing programatically.
  6. I usually use "Plot Area" >> "Size" rather then "Plot bounds" to resize graphs, but I have no idea if this will fix your issue.
  7. In the Icon Editor, "Edit" menu >> "Import Icon from Owning Library"?
  8. I just tried this with a .png that had both partial and full transparency and it worked fine. Image was created in Gimp, and I was using LabVIEW 2012. So either something is wrong with your image, or something is wrong with LV2010. Can you post an example of an image that doesn't work for you?
  9. Interesting thread, I was pondering over the same issues a few weeks ago. What I ended up doing was pretty much the same as bmoyer i.e. have the application copy the ini file over to a folder in the "C:ProgramData" folder. I didn't know about the 'unlock' switch in the installer, so to get around the user access issues I was using the "icacls" command to set the user permissions. When the ini file is first created under ProgramData, I feed the command "cmd /c icacls "<path to ini file>" /grant BUILTINUsers:(F) /t" to "system exec.vi". This assigns all users full access to the ini file. This works fine as far as I can tell, but I'm a bit nervous about using commands I don't really understand, so I might switch to the 'unlock' folder method instead when the issue with LV2012 is fixed.
  10. One way to do this is to use the picture functions and the "Plot Images" property of the graph to draw rectangles of different colours on the graph.
  11. I've used XControls a little bit, and every time I think I understand XControls I come across some unexpected behaviour that throws my understanding into doubt. In your example, the "Data Change" event in the facade VI doesn't fire when the sub VI is not visible, but does fire when the the sub VI is visible. Not sure if this is expected or not. Everything works OK if you use the "Value (signalling)" property to update the XControl, rather than the "Control value set" method. XControl UI Update Updated.zip
  12. The Primary Workspace property gives the bounds of the screen not including the taskbar.
  13. Is it possible to get a LabVIEW 8.2.1 version of this? I don't have LabVIEW 2009 to backsave it.
  14. Other features of Total Commander that I like are that there are keyboard shortcuts for pretty much everything, and there is a portable version available. Once you've purchased it, you can install it on a USB stick and use it anywhere. You'll never have to use Windows Explorer again. Zipping and unzippping is built in, so no need for Winzip anymore.
  15. Yes, an Explorer with Tabs and a dual pane mode would actually be useful. I abhor the Windows Explorer. I use Total Commander instead.
×
×
  • Create New...

Important Information

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