LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 7.1.1 & Matlab R2006a scriptnode problems

Hello,
 
Actually, I think the problem has to do with the version of Matlab you're using.  R2006 was released well after LabVIEW 7.1, and it's very possible that the interface to Matlab changed between versions.  In fact, this is almost certain.  I think the problem here is a version compatibility issue, which unfortunately will leave us without a fix or workaround.
 
Best Regards,
 
JLS

Message Edited by JLS on 10-11-2006 05:31 PM

Best,
JLS
Sixclear
0 Kudos
Message 11 of 15
(823 Views)
Update:  The IT guys have re-installed Matlab R2006 to the "default" directory locations, and now the Lorenz differential equation VI is working with LabView 7.1.  Specifically, there is a "C:\MATLAB" directory, and underneath that there is an "R2006a" directory which has the usual tree of Matlab files and subdirectories.
0 Kudos
Message 12 of 15
(820 Views)

Interesting - after speaking with another engineer, I understood that this would not work for compatibility reasons.  I'm glad it is, even if it has to be installed specifically and directly to your C drive.

Thanks for the update for the community!

Best Regards,

JLS

Best,
JLS
Sixclear
0 Kudos
Message 13 of 15
(810 Views)
JLS - Looks like there's some conflicting info out here.  Some folks you know may say it shouldn't work, but here's another thread where a guy from NI says it does work:

http://forums.ni.com/ni/board/message?board.id=170&message.id=190841&query.id=196216#M190841

I banked getting my installation to work on what was said there.  The next big question is whether I can safely upgrade to 7.1.1 without screwing up the Matlab interface.  I'd like to do that since I'll then be easily able to transfer my instrument libraries and existing (already mass-compiled) VIs over to the new installation.
0 Kudos
Message 14 of 15
(805 Views)
>>Looks like there's some conflicting info out here.
 
Indeed 😞
 
 
>>The next big question is whether I can safely upgrade to 7.1.1 without screwing up the Matlab interface.
 
The last post in the thread you linked is relevant here.  Basically they note that a couple VIs were tested in a few versions of LabVIEW - I'll quote here:
 
"We have been able to run the Lorenze Diff Eq.vi as well as Fractal.vi succesfully with Matlab 2006a and LabVIEW versions 7.0, 7.1, 7.1.1 and 8.0."
 
The problem is that since Matlab 2006a came out after LabVIEW 7.x, it's not "officially supported" in the sense that we didn't (couldn't at the time) test for full compatibility.  Generally, when a new version of LabVIEW is released, focus turns to it, so the bottom line is that there may not be a definite answer regarding whether upgrading will screw things up.  What I can suggest is that you check out the readme for 7.1.1 to see the changes relevant to your code - if nothing stands out, then you can proceed with at least hope, and I would go as far as to say optimism 🙂
 
I see one comment regarding Matlab in that readme document - I'll include it here for completion + convenience:
 
Windows Fixed an issue where error 1047 occurs if you wire string, path, real scalar, real vector, or real matrix data to the MATLAB Script node and you are using MATLAB 7.0 or later. Refer to the KnowledgeBase for more information about this problem.
 
 
I hope this helps, and sorry I can't be more specific about your upgrade process in this case!
 
Best Regards,
 
JLS
 
Best,
JLS
Sixclear
0 Kudos
Message 15 of 15
(787 Views)