Example Code

Check if Polymorphic VI without loading in memory

Code and Documents

Attachment

Overview

Check if a VI Path is a Polymorphic VI type without loading the VI in memory.

Check if Polymorphic VI.png

Description

Hardware and Software Requirements

LabVIEW 2015 or later

Steps to Implement or Execute Code

1. Press Run

Additional Information or References

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Darren
Proven Zealot
Proven Zealot
on

Thanks for submitting this example, rcpacini. There is another way to achieve this task that is quite a bit simpler. You can call the following VI:

 

vi.lib\Utility\lvfile.llb\Get File Type.vi

 

This VI accomplishes the same task as your VI, without loading the target VI into memory. Get File Type.vi also executes faster than parsing the connector pane data type.

 

This VI, along with many others, is available in Quick Drop/palettes when you install my Hidden Gems package. Just search for 'hidden gems' in VIPM.