LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using MathScript in my application.

Is there a way to include the MathScript Application into a build with my application? 

I am making an application that uses MathScripts but I would like the user to make and check there scripts with the MathScript Application. When I try to build my application with the MathScript App.  I get errors that the builder can't find vi's.  Does anyone have any ideas?
0 Kudos
Message 1 of 4
(2,629 Views)

With LabVIEW 8.0, you cannot include MathScript functionality in a built executable.  It would not be unreasonable to expect this functionality in a future LabVIEW version.

-D

0 Kudos
Message 2 of 4
(2,626 Views)
I wouldn't even be able to use the Mathscript node in an executable? 

What I am trying to do is make a user configurable data stream.  They tell me how many bytes are in the stream and what parameters they want to be put in to it.  Currently I have to make vi's that are called dynamicaly to make the parameters.   Then recompile the code and send it to them.  This is somewhat of how the config file is set up so I know how to make the data.


Data_Type  foo
Bytes 30

parameter_name         function               byte#          format
sync                              foo_sync             29               int
time                               foo_time              1,2,3,4       double
.......

If I can't use MathScript to allow the user to make there own functions is there another way that I might be able to do this so I do not have to recompile the code atleast?  Were I might just be able to make the new function and send that to them.

Any Idea would be great.


0 Kudos
Message 3 of 4
(2,622 Views)

I'm not certain what you're using MathScript for in this application, but it seems like something you should be able to do natively in LabVIEW code.  Perhaps if you attach a sample VI with MathScript functionality demonstrating what you're trying to do, I can help you figure out how to convert this into native LabVIEW code (without MathScript).

Also keep in mind that building executables with MathScript functionality is something we plan on supporting in a future LabVIEW version.

-D

0 Kudos
Message 4 of 4
(2,619 Views)