Jump to content

VI Scripting and EXE


Recommended Posts

You can't. The LabVIEW compiler generates executable machine code from the diagram. The LabVIEW run-time engine (which is what runs the code in the EXE) does not support any of the properties or methods related to the diagram or the compiling process and can only run the machine code in the VIs. Each property and method has a table in the help file which says if it's supported in the RTE.

If you want to generate and edit VIs dynamically in an executable you will have to open a VI server to LabVIEW and ask it to do all the operations.

Link to comment

I tried to make an executable file from one of "VI scripting" example (Script Random Strip Chart with Diagram Cleanup.vi) but it does not work... Why? Who knows how to make correct exe-files?

most (if not all) the scripting methods and properties are documented as "not available at runtime" I imagine this is why it's not working. Not sure though..

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.