LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 8 with application with MatScript node hangs

Hi,

I have a application build with Labview 7 adapted with Labview 8, more specifivaly I included a MathScript node. It works just fine in the development environment. But the compiled exe hangs when it starts with code in the Mathscript node.
Anyone an idea?

I used the MathScript node because it was a convenient way to implement a filter, but the time saved with the implementation is now lost due to the exe problems.

I have a vi attached with the actual Matscript node (without the rest of the program). This vi has also the same behaviour: working in the development environment but not stopping to run when I have build an exe.

Anyone an idea how to solve this problem?
0 Kudos
Message 1 of 3
(2,682 Views)

Hello,

The Application Builder in LabVIEW currently does not support building VIs into EXEs that contain a MathScript node.  R&D is already aware of this problem (issue #3OGC1FLN), and we will be looking to fix the problem in a future LabVIEW version.  To my knowledge, your only possible workarounds are to write the code in LabVIEW (I'm no MathScript expert, but it doesn't look like it would be too difficult to translate this script into standard LabVIEW code), or to use a Formula Node (I'm also not sure if the Formula Node would support all the operations you're doing in the MathScript node).

Good luck,
-D

0 Kudos
Message 2 of 3
(2,669 Views)
Thanks for your response.
This news is a surprise to me. I'v noticed now that this issue is also listed in the issue list of the Matscript node.
But it would be much better that  this limitation is  clearly indicated on the introduction pages of the MathScript node.
Not being able to compile this code makes this nice functionality useless.

Best regards,

0 Kudos
Message 3 of 3
(2,664 Views)