LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

search string in a vi inside a llb

Solved!
Go to solution

Hi all,

 

I'm looking for a string in a vi/ vi's inside a llb, I looked online and only searching-for-vi-name is possible. I've read over the help files but I don't really understand what I'm suppose to do so can someone please let me know if there's a way to search a specific string in a vi/ vi's inside a llb file. Many thanks.

0 Kudos
Message 1 of 4
(3,075 Views)

You don't have the direct option (May be there, Am not sure) but you can do that by using the vi scripting. But you will not be able to build that as an application, you can use it as a vi.

-----

The best solution is the one you find it by yourself
Message 2 of 4
(3,059 Views)
Solution
Accepted by topic author thitchen007

As Anan already pointed out, you will have to use LabVIEW functions to enumerate the contents of the LLB, load each VI and use then VI scripting on it to find the string. Trying to do that on the LLB file directly is completely useless, since on the VI level LabVIEW nowadays uses the zlib deflate algorithme to compress most parts inside of it, and the LLB uses also some (less fancy) compression algorithme to compress each VI resource too.

 

And since VI scripting is a development only feature you can indeed not really use this option in a built application.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 3 of 4
(3,045 Views)

Thanks for both of you.

Spoiler
 
0 Kudos
Message 4 of 4
(3,003 Views)