09-14-2013 01:27 AM
Hi
I am upgrading a project from LV8 to LV2012 (I have got 2013 - but haven't played with it yet).
Is there anyway to find depreciated functions in the project VIs?
The project uses the following depreciated / replaced functions (Some going way back as well... E.g... Windows DLL calls for dialog messages! )
Depreciated invoke nodes (Set control value (flattened string version)) - Also LV7 version of flatten to string.
Previous versions of VIs - e.g... Notifiers, queues, file open, INI file Read / Write / Get keys.
I want to make sure I have got them all.
I thought VI analyzer would pick them up - but it doesn't appear to be a standard test.
I wondering if it would be possible to find them with VI scripting? (I haven't had a reason to play with VI scripting yet).
I have used VI hierarchy to get some of them.
Cheers
Nick
09-14-2013 09:11 AM
09-15-2013 04:53 PM - edited 09-15-2013 04:56 PM
Hi
No, I do not wish to keep the old functions. I want to replace all of them. Problem is checking I have got all off them (Project is over 300 VIs). For instance the code repeately open and closes the INI file, I figure mixing the INI file VIs is a bad thing....
Nick
09-16-2013 02:56 AM
Doesn't the error window show Warnings about depreciated functions (just activate show warning)? (not sure, just a thought)
/Y
09-16-2013 10:07 PM
Hi Yamaeda, no errors in Error Window....
09-16-2013 10:53 PM
Found this: https://decibel.ni.com/content/docs/DOC-23437. It find depreciated nodes...
09-16-2013 11:34 PM - edited 09-16-2013 11:34 PM
The fixed version of the previous link https://decibel.ni.com/content/docs/DOC-23437
09-17-2013 07:01 PM
Hi
thanks for fixing the link.
Tried it this morning - however it doesn't seem to appear in any menus when installed from VIPM. FYI it ends up in the wizard folder. When I tried to run it - it had an error I couldn't resolve.
Some more digging found this
https://decibel.ni.com/content/thread/12990?tstart=0 Refer Post #14 which links to his VI snippit. This worked 🙂
So that is half my problem solved. Just got to find the compatability VIs for previous versions....
Nick