Search the Community
Showing results for tags 'formula node'.
-
Hi guys, new to LAVA forum, this is my first post here. I'm a long time LabVIEW user, and I'm stuck with a problem... so I thought maybe some one here could help me. There is a formula node in my application (more than one, but let's find the solution for one), and the developer can change the formula depending on how it want to customize the application. What I need to do is to show the content of the formula node to the user, so he knows exactly what's the formula in use at the moment. This must work on the deployed application, so with the run time engine. Infact the developer build the application after the customization of the formula. I have tried the following: 1) I put the formula node in a separate VI, in order to capture the block diagram image and then show that image to the user. I've used the BD.Get Image Scaled method, but it's clearly written in the help that id doesn't work with the run time engine. 2) Using the report generation toolkit I can call the Append VI Block Diagram to Report to an HTML report. I can't find in the help if it is supposed to work in run time engine, but I've had bad experiences in the past with that tool. And it doesn't seem to work. 3) I've tried a different approach using the labview scripting. I'm able to open the object reference to the formula node and then to load its content in a string with the property Formula Expression. But once the application is built it doesn't work, even if I'm not creating any code with the scripting, just reading. In the end I don't care if the formula is captured on an image rather than a string, or whatever... but it must be what is written in the formula node inside the executable. Just wonder if I've used the above methods in a wrong way, or if there is a different way to do it. Thanks Max