LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mathscript and Application EXE

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?

0 Kudos
Message 1 of 7
(3,618 Views)
Are you requesting an output from the function? If so, this is not supported in the Run-Time Engine, as indicated in the Help.
0 Kudos
Message 2 of 7
(3,608 Views)
I am  not actual sure what is meant by output?! I would like to plot my walues in a different window. If there is any other function to do this?
0 Kudos
Message 3 of 7
(3,591 Views)

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?

 

0 Kudos
Message 4 of 7
(3,579 Views)
I have 2009 running, but it still does not work with plot(x) in the application. I use different subplots to get a nice page with a result overvirew. It is easier to use this, than an excel document.
0 Kudos
Message 5 of 7
(3,563 Views)

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

0 Kudos
Message 6 of 7
(3,558 Views)

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.

0 Kudos
Message 7 of 7
(3,544 Views)