09-02-2008 04:50 AM
Hi,
I wrote a vi using Mathscript to do a series of manipulations (append, reshape, etc.) on four matricees of up to 1024 x 1024 size, and compared it to a similar routine written exclusively in LabVIEW (see attached comparative VIs). The Mathscript version executed ~10x more slowly, and took considerably more memory. Is this to be expected, or is there something I can do to speed the Mathscript version?
Thanks,
Eric
09-02-2008 01:52 PM
Yes, this is probably as expected. A factor of 10 is actually not that much. 😉 Mathscript carries more overhead due to the more general functionality.
If performance is critical, you should probably use wires.
Also your wire version does not seems very optimized, for example:
09-02-2008 03:22 PM
BTW, could you check if the mathscript version that you have attached is OK. If I try to open in in LabVIEW 8.6, LabVIEW stops responding.
I cannot open it. Wondering what's wrong....
09-02-2008 04:11 PM
09-05-2008 04:57 PM