Jump to content

The most complex VI file


Recommended Posts

I sorted all the extracted LV14 files by size, and one stands out.

Size of Block Diagram in XML form: 15MB

And the size is not due to some binary blob stored inside - no, the is just a lot of parts in the block diagram heap.

Amount of XML tags:

# xmllint --xpath "count(//*)" ex_allChanPropsMod_BDHb.xml
234903

File: vi.lib/Platform/express/ex_EditUserDefinedProperties/ex_allChanPropsMod.vi

And its content isn't even that impressive:

ex_allChanPropsMod.png.7624205ca948484040513ec44042ab93.png

There are just a lot of cases hiding in the "Case Structure", and a lot of copies of the same chunk of diagram within each case.

Also the file seem to have syntax errors? Is it normal that some library files from NI doesn't even compile?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.