03-15-2012 02:25 PM
Hello,
I have a simple task of using a function that I have written in MatLab that will output an XYZ coordinate when it gets an input of 3 different angles.
The problem I am facing is that when I run the program, as I change the values of the angles (using knobs), there is a huge delay until the output (XYZ Coordinate) is produced on the front panel. Whereas if I call the same function in matlab, the output is produced instantaneously.
I would like to be able to rotate the knobs and observe the XYZ coordinate instantaneously, if that is possible, or atleast with minimum delay time.
Please find the VI attached.
Any help would be appreciated.
r15
03-20-2012
05:02 AM
- last edited on
01-09-2024
05:15 PM
by
migration-bot
Hello,
Accordin to the following link
http://zone.ni.com/reference/en-XX/help/371361G-01/lvtextmath/msfunc_eval/
Using the "eval" function in Mathscript node will slow down a lot the process.
Try to use mathematical functions directly rather intepreting the string.
kind regards,
Ion R.
03-20-2012
05:03 AM
- last edited on
01-09-2024
05:15 PM
by
migration-bot
Hello,
Accordin to the following link
http://zone.ni.com/reference/en-XX/help/371361G-01/lvtextmath/msfunc_eval/
Using the "eval" function in Mathscript node will slow down a lot the process.
Try to use mathematical functions directly rather intepreting the string.
kind regards,
Ion R.