Jump to content

picklecolor2

Members
  • Posts

    2
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

LabVIEW Information

  • Version
    LabVIEW 8.6
  • Since
    2006

picklecolor2's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. It's nice to know that even though all my old tools are breaking, I've been supplied with new tools that are even easier. The Application Directory VI works perfectly. I was frustrated that I hadn't checked for such a feature before and didn't find it in 8.5.1. Good to know I'm not a total dummy, just unfamiliar with the features of 2009. Thanks to you both!
  2. I'm having trouble with a build that worked in 8.5.1, but breaks in 2009. What I have is a VI that traces back to the root VI when developing or the .exe if built. I want to read from an .ini that's in the same folder as either the root VI or executable. The code I have is attached. The problem seems to be in a project containing this file. If I compile in 8.5.1 and this file is three VIs deep in the hierarchy it still returns "C:\OneDirectory\TwoDirectories\Config.ini", but if I compile in 2009 it returns "C:\OneDirectory\TwoDirectories\Application.exe\FoolishDirectory\Borkborkbork\Config.ini". I think it is because of a change in the default option for "Preserve disk hierarchy" in the executable build: I can't figure out how to change this, but it is different between 8.5.1 and 2009. Can anyone help me with a correction, or maybe a work around? I'd be much obliged. Code:mvcfgConfigPath.vi
×
×
  • Create New...

Important Information

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