03-29-2011 02:17 AM
Hi All,
I used Ramp by Samples VI in 8.6. I Found that the VI is updated in 2010 as polymorphic with Ramp by Pattern(Samples/Delta). When I upgraded the vi to 2010, it shows that the VI is deprecated. I deleted the vi and Replaced the vi from C:\Program Files\National Instruments\LabVIEW 2010\vi.lib\Analysis\1siggen.llb\Ramp Pattern.vi. But the VI is still Deprecated.
Can anyone provide me a solution for this so that the VI is not deprecated.
Eg VI Attached.
Thanks,
Suresh Kumar.G
03-31-2011 05:50 AM
Hi all,
Any useful reply can help me to debug.
Thanks,
Suresh Kumar.G
03-31-2011 06:27 AM - edited 03-31-2011 06:30 AM
I can't understand what you mean by 'Deprecated', when I opened the Attachment in the LV 2010, there is no issues.Is it listed in the NI that it is outdated?
AshwiN,
03-31-2011 08:09 AM
FYI,
Ramp Pattern by samples VI which is available in LV8.6 outdated in LabVIEW 2010. It has beed replaced by Ramp by pattern Polymorphic VI which has Ramp pattern by Samples and Ramp Patterns by Delta. NI recommends to replace the Ramp Pattern by Samples VI to Ramp by Pattern polymorphic VI in LabVIEW 2010.
I updated with NI recommended VI and run VI Analyzer 2010 to find the Deprecated Functions in the folder of VI's , this function was shown Deprecated.
Procedure:
Install VI Analyzer 2010, Install 2010 Upgrade Tests availalbel @ http://joule.ni.com/nidu/cds/view/p/id/2171 . Run VI Analyzer test for the attached VI. See the results. The Ramp by Pattern will be displayed in the Test.
Thanks,
Suresh Kumar.G
03-31-2011 08:31 AM
I found the reason.
VI Analyzer Plugin is developed in such a way that it will check based on the name of the VI. In 8.6 it has Ramp pattern by Samples.
In 2010,it is ramp by pattern(Polymorphic VI with Ramp pattern by samples and Ramp Pattern by Delta).
The test check based on SubVI names available on Block Diagram. When we drop the ploymorphic instance, it is taken as Ramp patten by samples in the block Diagram SubVI list. So the test says the Vi is deprecated.
No problem with the VI.
Thanks,
Suresh Kumar.G