LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
kmilo17pet

CALL FORMULA NODE SCRIPT

Status: New

This idea provides the same functionality as the Call library function node, but in this case using a formula node scrit .

Watch the image:

formula_script_node.jpg

6 Comments
X.
Trusted Enthusiast
Trusted Enthusiast

Duplicate (somehow) of that, which itself was deemed a duplicate of this.

This being said, I still think this is a good idea...

altenbach
Knight of NI

I think the idea is quite different here, because the path, (and thus the actual code!) could be changed at run time, since it is an input.

 

This would mean that the runtime would need to incorporate a full text code compiler that goes into action whenever a new file is loaded..

X.
Trusted Enthusiast
Trusted Enthusiast

It could also be argued that the OP had it wrong when pretending that this would have the same functionality as the Call DLL node, since a DLL is compiled... Anyhow, we all know where this idea will end up, so no need to get all riled up.

X.
Trusted Enthusiast
Trusted Enthusiast

Note that, provided the user has access to the Mathscript RT Module, this can in principle be obtained to some extent with .m script files (with the limitation of MathScript, that is...).

Manzolli
Active Participant

Since this is a piece of code not compiled, the execution speed can have a considerable impact.

 

Agree with altenbach. Since the file "example.c" can be changed anytime during the execution, should be checked every time the node is called or only at the first time?

 

Just do it in LV!

André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil
Enrico_Segre
Active Participant

labpython and luaview implement this idea. Compilation is bytecode compilation, but takes part in a node preceding the execution. That is, the script can be loaded and compiled once, executed many times.