LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mess

hello all
we have several vi that are in several directories , this vis use configuration files (txt , xml) that in other directories.
more : the main vi uses dll's of c++ that in another directory , more : the dll's uses configuration files that in another direcrtory
more : we build application inanother directory , more : we have several versions of the main vi for difrent products , we change somtimes the subvi's. the main problem when we make new version and copy all main directory with subdirectories the main vi goes to the older directory !!!. 
so i hope i explained the big mess here we lost our legs and hands how we can make some order around here please help quickly
0 Kudos
Message 1 of 2
(2,410 Views)

Well keeping track of multiple sub Vi's and its dlls is indeed a messy job if right care is not taken.

we have had our share of misery in similiar situations before getting things right  😉

try following to make things easier.

  • try to save your Main VI and its sub VI's a development distribution (*.lib) from 'save with options' in file menu.(also check selected options column while doing this)
  • as much as possible keep renaming any changed sub VI's so that they do not clash with unchange ones if they are used by other VI's
  • Delete any obsolete or unused Sub VI.
  • always avoid opening two main Vi's that use sub Vi's with same name(unless they are sharing  the same version of the sub vi from the same location)

For ex:  if 2 main VI's A and B use two diferent Vi's that have the same name 'C'

opening B along with A will open the sub vi C which originally is a sub Vi of A instead of intended VI.

But Labview will inform by a pop up msg that this sub vi which was expected to be at location x has been opened from location Y,

Just heed to all those pop up messages and life will become easier.

One final note: while closing a VI,  if save changes msg pops up, do select 'explain changes' and try to ascertain which sub vi has changed before selecting 'save sub VI's' option.

and Finally keeping a cool head is trick 😉

regards,

Dev

 

0 Kudos
Message 2 of 2
(2,405 Views)