Go to Post I guess this is where theory vs reality comes into play. - PhilBot [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 21-01-2010, 20:16
daltore's Avatar
daltore daltore is offline
Electronics/programming/design
AKA: Aaron Osmer
FRC #3529 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: San Antonio, TX
Posts: 272
daltore has a spectacular aura aboutdaltore has a spectacular aura aboutdaltore has a spectacular aura about
Send a message via AIM to daltore Send a message via MSN to daltore Send a message via Yahoo to daltore
64-bit vs. 32-bit Absolute Pathing

I "wrote" some LabView code a few nights ago and sent it to our mentor, who subsequently tried to open it, but was greeted with numerous warnings asking him where files were located. I've figured out that the problem is that I have 32-bit LabView installed on my 64-bit machine, and so it put all of the files in "Program Files (x86)". However, our mentor is running 32-bit Windows, so his LabView installation is just in "Program Files". I'm the lead programmer for our team, but other people will be trying to access and edit these files, and all of our other computers that run LabView are running 32-bit. Is there any way to make the file locations translate automatically short of me reinstalling LabView into "Program Files"?
Reply With Quote
  #2   Spotlight this post!  
Unread 21-01-2010, 20:33
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: 64-bit vs. 32-bit Absolute Pathing

Can you be more specific about where and what files?

LV stores references between files in two ways. If the file is inside of one of the special LIB locations, then the path is stored as LIB/blah/foo/bar.vi. If the VI is not in one of those locations, then it is stored relative to the caller.

So, if you move folders of VIs and maintain the relative path, say using a zip or such, the path above should not matter.

When the relative or LIB path doesn't actually point to your VI, LV starts searching using the search path. You can let it search, show it where they are, put the relative paths back, or update the search path to include some of your code directories.

In general, you do not need change where LV is installed, and in fact putting it in the Program Files on a 64 bit machine may be a bad idea if it isn't actually 64 bit. Not sure.

Does that help? If not, give more info.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 21-01-2010, 20:36
jmanela's Avatar
jmanela jmanela is offline
+1 is BIGGER than -1
AKA: Joshua Manela
FRC #2586 (Fondy Fire)
Team Role: College Student
 
Join Date: Aug 2008
Rookie Year: 2009
Location: Michigan
Posts: 314
jmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to beholdjmanela is a splendid one to behold
Re: 64-bit vs. 32-bit Absolute Pathing

I tried installing labview on multiple 64 bit machines; none of them could get a complete installation. I have tried many things and after hours of trying, i settled for just running on a 32 bit and it worked fine.
__________________
||2009|| Entrepeneurship Award, QF - Traverse City | Rookie All Star, QF - Detroit | Highest Rookie Seed, Rookie All Star, QF - Michigan State Championship | Finalist - MARC ||2010|| Engineering Inspiration, Website Award, SF- Kettering | Judges Award, Website Award, SF - Detroit | Website Award, Winner, Michigan State Champ //Thank you 469 and 1918!! | Finalist - MARC ||2011|| Engineering Inspiration, Website - Kettering | Entrepreneurship, Website, Finalist - Waterford | Website - MSC
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2010, 21:37
daltore's Avatar
daltore daltore is offline
Electronics/programming/design
AKA: Aaron Osmer
FRC #3529 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: San Antonio, TX
Posts: 272
daltore has a spectacular aura aboutdaltore has a spectacular aura aboutdaltore has a spectacular aura about
Send a message via AIM to daltore Send a message via MSN to daltore Send a message via Yahoo to daltore
Re: 64-bit vs. 32-bit Absolute Pathing

Okay, so apparently they fixed the absolute path issue a couple of years ago, and it really IS handled in a registry entry like we thought it should be. The real problem was that our mentor's computer didn't have the LabView update *face palm*. Thanks for the help.
Reply With Quote
  #5   Spotlight this post!  
Unread 22-01-2010, 19:01
elmer_fud elmer_fud is offline
mentor/code monkey
FRC #2859
Team Role: Mentor
 
Join Date: Jul 2009
Rookie Year: 2009
Location: co
Posts: 18
elmer_fud is an unknown quantity at this point
Re: 64-bit vs. 32-bit Absolute Pathing

Quote:
Originally Posted by jmanela View Post
I tried installing labview on multiple 64 bit machines; none of them could get a complete installation. I have tried many things and after hours of trying, i settled for just running on a 32 bit and it worked fine.

I am having no problem running the version of labview supplied with the KOP on a 64 bit machine. I have Windows 7 pro 64 bit with a core 2 duo processor. You might be having a problem with a firewall, antiviris, or something else not liking labview. It also takes a few hours to install LabVIEW in most cases.

Can you post of a screen shot of the error it is giving you when you try and install it on a 64 bit machine
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing on 64 bit. Team1710 Inventor 2 09-04-2009 19:45
bit banging on cRio? s0crates FRC Control System 10 04-02-2009 15:36
A bit of humor... 114Klutz Chit-Chat 0 01-04-2006 17:34
A bit unfair... Martin General Forum 61 26-02-2002 07:48
i am a bit miffed Zeinin 3D Animation and Competition 3 18-01-2002 13:39


All times are GMT -5. The time now is 22:45.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi