11-19-2007 01:07 PM
11-19-2007 01:51 PM
11-21-2007 11:35 AM
11-21-2007 03:27 PM
Hi Erik,
I ran your code in LabVIEW with Matlab 6.5.1 and saw no errors. If I can find a machine with 2007a, I will look into your possible bug further.
11-21-2007 04:02 PM
Another poor soul working on the Wednesday before Thanksgiving!
Thanks for the look. I've tested it on two machines and always get failures with the larger header files, every iteration (other one was a win2000 with Labview 7.1 I believe), and the smallest file works fine. But, the only machines I have access to with Labview have Matlab 2007a installed.
11-26-2007 04:10 PM
I was incorrect about my second test platform. It's actually a LabVIEW 7.1 and Matlab 2006a, on Windows 2000. Similar errors to the LV 8.2 / Matlab 2007a / WinXP platform.
Here's the even more simplified 7.1 version of the VI, and an image showing the results of the same code on different string lengths. Again, the variables inside the command window are fine, and I've cleared between executions. Also, 'feature 'memstats'' in the command window gives me over 1300MB contiguous memory both before and after execution.
11-27-2007 07:49 AM
Hi Erik,
We have been able to reproduce this issue here at NI. R&D is currently investigating the error but has not yet determined the cause.
11-29-2007 02:50 PM
Hi Erik,
I think you may be able to, for now, work around this issue through ActiveX. If you have access to the automation palette, you can try the attached VI. You will need to pass your full script into the Execute method, then extract the variables you need with the GetVariable as variants and cast them to the types you need. It's not as pretty as the ScriptNode would be, but it should work.