04-18-2010 07:55 AM
Hello,
I have the problem when I build a application (exe) with my mathscript node. My calculations are very well done in my application, however I also use the "plot" command in this node. And this plot command does not work with the exe.
Is there any option to plot my results when I using an exe application?
04-18-2010 09:10 AM
04-18-2010 01:10 PM
04-18-2010 10:38 PM
By output I mean that the plot function returns a value (in this case a reference to the line object). What version of LabVIEW are you running? Version 8.5 introduced the ability for this function to be supported by the Run-Time Engine, as long as you did not write something like "val = plot(X)", but instead wrote just "plot(X)".
StrangeDenial85 wrote:Is there any option to plot my results when I using an exe application?
Well, you could simple use the graphs that come with LabVIEW. Is there a reason you're not doing that? What are you actually doing inside your MathScript node?
04-19-2010 08:21 AM
04-19-2010 08:41 AM
smercurio_fc wrote:Version 8.5 introduced the ability for this function to be supported by the Run-Time Engine, as long as you did not write something like "val = plot(X)", but instead wrote just "plot(X)".
Actually, MathScript will just ignore the plot function in the run-time engine. This is detailed on the MathScript RT Functions Not Supported in the LabVIEW Run-Time Engine help. The MathScript plots rely on LabVIEW scripting, now an NI Labs release. Unfortunately, scripting is not supported in the run-time engine. As an alternative, many of the MathScript plots are available as LabVIEW front-panel indicators. You can drop them and wire the data from the MathScript node to them.
Grant M.
Senior Software Engineer | LabVIEW MathScript | National Instruments
04-19-2010 11:14 AM
GrantM wrote:
smercurio_fc wrote:Version 8.5 introduced the ability for this function to be supported by the Run-Time Engine, as long as you did not write something like "val = plot(X)", but instead wrote just "plot(X)".
Actually, MathScript will just ignore the plot function in the run-time engine. This is detailed on the MathScript RT Functions Not Supported in the LabVIEW Run-Time Engine help. The MathScript plots rely on LabVIEW scripting, now an NI Labs release. Unfortunately, scripting is not supported in the run-time engine. As an alternative, many of the MathScript plots are available as LabVIEW front-panel indicators. You can drop them and wire the data from the MathScript node to them.
Grant M.
Senior Software Engineer | LabVIEW MathScript | National Instruments
Then the LabVIEW Help doesn't agree with the actual operation.