websidd Posted July 24, 2009 Report Share Posted July 24, 2009 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? Script Random Strip Chart with Diagram Cleanup.vi Quote Link to comment
Yair Posted July 24, 2009 Report Share Posted July 24, 2009 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. Quote Link to comment
Antoine Chalons Posted July 24, 2009 Report Share Posted July 24, 2009 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.. Quote Link to comment
websidd Posted July 24, 2009 Author Report Share Posted July 24, 2009 Thanks a lot Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.