08-26-2007 06:15 AM
08-26-2007 07:02 AM
08-26-2007 10:18 AM
08-26-2007 11:18 AM
@Raghunathan wrote:
Assuming I ignore this warning ( maybe there are too many replacements to be made ) and go ahead and build the VI with LV8.0, will something unforeseen happen ?
If the VI is not broken, you should be OK. Every version upgrade, some old VIs get "retired" and replaced by more functional versions. The old versions of the same VIs no longer show up in the palette, but they are still avaliable for backwards compatibility.
If you look e.g. in "labviewdir"\vi.lib\_oldvers\ you'll find some of these zombies. They are typically perfectly fine and work as before if you want to limit yourself to the old functionality.
08-26-2007 11:38 AM
Perfect. This was the information that I was looking for.
@altenbach wrote:
If you look e.g. in "labviewdir"\vi.lib\_oldvers\ you'll find some of these zombies. They are typically perfectly fine and work as before if you want to limit yourself to the old functionality.
08-27-2007 01:40 AM
Agree and can understand your point of view. But I think the guys at NI must have had a real reason to put in the stacked sequence as a native item on the palette. And if you see the attached VI that is pulled out of a much larger VI, you will undertand why the guys at NI did what they did.
...it also gives me some hope that someday they may drop stacked sequence structures from LV - something that has been there since day 1 and has never really belonged in the language.
Mike...
08-27-2007 02:58 AM - edited 08-27-2007 02:58 AM
@Raghunathan wrote:
Is there any other way that this can be done ??
Ugh!!! that code is ugly. A big problem is the use of string-to-path and path-to-string functions. This immediately breaks OS independence.
Then we have 10 frames that are virtually identical except for the string constant. Here we can get away with one instance of the code in a FOR loop autindexing on an array of string constants. Right? The code will be about 10x smaller without any loss in functionality and without any need for sequence structures. And if we need to change the code, we need to change one thing, and not the same thing in 10 different places.
Why do you need to list the same folder 10x, you'll always get the same result! Way too much repetitive work.
(I don't know what your missing subVI does, so you need to adapt. Currently I am using the home path of the VI.
Message Edited by altenbach on 08-27-2007 12:59 AM
08-27-2007 05:52 AM
08-27-2007 10:20 AM - edited 08-27-2007 10:20 AM
Message Edited by altenbach on 08-27-2007 08:20 AM
08-28-2007 12:46 AM - edited 08-28-2007 12:46 AM
Message Edited by Raghunathan on 08-28-2007 12:50 AM