LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Search for depreciated functions

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

0 Kudos
Message 1 of 8
(3,267 Views)
Are you trying to keep the old versions of the VIs?

It seems to me that it would be better to to update all of the functions to the newer implementations. Its not really ideal to rely on depreciated VIs.
Craig H. | CLA CTA CLED | Applications Engineer | NI Employee 2012-2023
0 Kudos
Message 2 of 8
(3,245 Views)

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

0 Kudos
Message 3 of 8
(3,212 Views)

Doesn't the error window show Warnings about depreciated functions (just activate show warning)? (not sure, just a thought)

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 8
(3,192 Views)

Hi Yamaeda, no errors in Error Window....

 

 

0 Kudos
Message 5 of 8
(3,159 Views)

Found this: https://decibel.ni.com/content/docs/DOC-23437. It find depreciated nodes...

 

Message 6 of 8
(3,155 Views)

The fixed version of the previous link https://decibel.ni.com/content/docs/DOC-23437

0 Kudos
Message 7 of 8
(3,151 Views)

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 🙂

http://forums.ni.com/t5/image/serverpage/image-id/83410i5B82D191319F5BD1/image-size/original?v=mpbl-...

 

So that is half my problem solved. Just got to find the compatability VIs for previous versions....

 

Nick

0 Kudos
Message 8 of 8
(3,111 Views)