Preventing using files from a previous project 
Author Message
 Preventing using files from a previous project

Hello Alain

>   When I develop on my machine I started using VIs from previous projects to
> build new projects.  The previous VIs are sometimes using global variables
> located in a file in this previous project directory.  The new project will
> find this global file and will report no error.  When variables bear the same
> names, such as STATE, and STATE is again found in the new global variable
> files, this may lead to some bugs.  Also, when installing the project on
> another machine, the previous global is not found.

>   Apart from not using globals, what is the way to get around this problem?

The best you can do is copy the complete old project to a new name and
also rename the old project. labview will search at the old location
(that does not exist anymore) and starts searching below the new main
Normally it finds the code.
You then save all vi's again and the name(location) of all vi's
including the globals is updated.
You now may safely rename the old project to the old name if you wish.

>   Also, since I'm here, I have a few other questions:

>   1) How to close all of a project files in one operation?

Use exit from labview deep down in the file menu

>   2) How to remove all breakpoints from a project in a single operation?

I do not know !

> Thanks,

> Alain

Albert Geven                    Philips Research Laboratories Eindhoven
Building: WAAp 120              Prof. Holstlaan 4
Phone: +31 40 2743019           5656 AA  Eindhoven
Fax:   +31 40 2744810           The Netherlands

Mon, 09 Jul 2001 03:00:00 GMT  
 [ 3 post ] 

 Relevant Pages 

1. Using query as form list source from previous answer

2. reading previous line using expect

3. using the previous output as input

4. correct from previous post: invalid command using blt2.4c

5. Howto prevent border using EIP

6. Preventing ved from using bold fonts under xwindows

7. automatically preventing deadlocks when using mutexes

8. Preventing Spammers From Using Mail() Form

9. how to grep previous line in file ?

10. Data files II (Disregard previous message from

11. How to Prevent delete of child records in related file

12. Prevent File save Window on Cancel on au Update Form


Powered by phpBB® Forum Software