LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView 7.1 and MATLAB 7

LabView 7.1 hangs when I try to send variable to MATLAB 7 workspace using
standart LabView to MATLAB script. Nothing appears in MATLAB 7 workspace.
When I tried to run the MATLAB Script-Fractal.vi (MATLAB script node has
only outputs) from examples directory - everything work fine. When I run the
MATLAB Script - Lorenz Diff Eq.vi from examples - error message
appears:"Error 1047 occurred at LabVIEW: LabVIEW failed to send variable to
the script server. Server:"Inappropriate input array size" in MATLAB
Script - Lorenz Diff Eq.vi". Using LabView 7.1 with previous version of
MATLAB (6.5) I have no problem running examples and my own LabView programs.
Could someone suggest me how to fix described problem?
Regards to All.
0 Kudos
Message 1 of 14
(4,955 Views)
Sergey Yakovlev wrote on 05 Aug 2004 16:48:26 MET:

> LabView 7.1 hangs when I try to send variable to MATLAB 7
> workspace using standart LabView to MATLAB script.
[...]
> "Error 1047 occurred at LabVIEW: LabVIEW failed to send
> variable to the script server. Server:"Inappropriate input
> array size" in MATLAB Script - Lorenz Diff Eq.vi".

I'm having the same difficulties. The only mentioning of this I
found so far was this thread:

Message-ID: <50650000000500000096700100-1079395200000@exchange.ni.com>

referring to this page:



This didn't work for me though. I couldn't get the code working
with Matlab 6.5 (R13SP1) either 😞

Also appreciating any feedback,

P
atrick
--
Computer games don't affect kids. If Pacman would have affected us as
children, we would now run around in darkened rooms, munching pills
and listening to repetetive music.
0 Kudos
Message 2 of 14
(4,952 Views)
Hi all,

Matlab 7.0 (R14) does not work with LabVIEW at this point. In the past, a Matlab DLL update was all that was needed to fix communication problems between LabVIEW and Matlab (KB 300A6NDT). However, it seems that with Matlab 7.0 (R14), Mathworks might have changed the way Matlab interfaces with ActiveX Data Objects (ADOs). Therefore, LabVIEW does not know how to communicate with Matlab 7.0.

R&D is fully aware of the situation and is working on a fix. Until then, I would suggest rolling back to a previous version of Matlab that was working with LabVIEW before upgrading to Matlab 7.0.

NI sincerely apologizes for this inconvenience, but we are w
orking diligently on resolving this issue.

Thank you again for contacting National Instruments.

Kileen C.
Applications Engineer
National Instruments
0 Kudos
Message 3 of 14
(4,953 Views)
KileenC wrote on 07 Aug 2004 19:39:58 MET:

> Matlab 7.0 (R14) does not work with LabVIEW at this point.
[...]
> R&D is fully aware of the situation and is working on a fix.
> Until then, I would suggest rolling back to a previous version
> of Matlab that was working with LabVIEW before upgrading to
> Matlab 7.0.
[...]
> Kileen C.
> Applications Engineer
> National Instruments

Thanks for the feedback.

Cheers

Patrick
--
Millions long for immortality who do not know what to do with
themselves on a rainy Sunday afternoon.
-- Susan Ertz
0 Kudos
Message 4 of 14
(4,952 Views)
9/30/04
Thanks for Info.

where should i look to find the patch when it becomes available?

cu,
larryb
0 Kudos
Message 5 of 14
(4,952 Views)
In order to keep any further discussion on this topic in a single location, please refer to this thread for more information.
0 Kudos
Message 6 of 14
(4,952 Views)
Hiii, Keelin

     I am sorry that i am replyin on this thread after so much time, but i want to know that, we are using LabVIEW 7.1 at this point of time and we have just started to work on LabIVEW 7.1 and MATLAB 7.0 communication,  we have purchase the LabVIEW 7.1 in March 2005, so before that was this bug fixed or it is still there?

Thanks,
Nishant
0 Kudos
Message 7 of 14
(4,478 Views)
And I'm sorry that the link I posted 1.5 years ago didn't survive the discussion forum migration.
 
But I will say that the 7.1.1 maintenance release included all fixes for LabVIEW 7.1, including some with the MATLAB script node.  This is a free download avaliable here:
 
 
The KB entry Kileen linked above has more information about this, including a link to 7.1.1, but all you should really need is to install 7.1.1.
0 Kudos
Message 8 of 14
(4,473 Views)
Hiii, Jeff B,

       Thanks for the quick reply.

       Thanks again for the link, this also will helpful for me, but i think as we shouldnt have 7.1.1, we couldnt establish the connection, between LV 7.1 and MATLAB 7.0, but we have LV 8.0 , so i will go on that now, thanks.
 
        And i am sorry but i am asking you again that, when the LV 7.1.1 released, before March-2005 or After that time?

Thanks again for the input.

Thanks,
Nishant
0 Kudos
Message 9 of 14
(4,466 Views)

LabVIEW 7.1.1 was released around December of 2004, however, if you purchased a new seat of LabVIEW in March 2005, you still would have only received LabVIEW 7.1.  The 7.1.1 maintenance release was distributed only as a downloadable update to LabVIEW 7.1, not as a full product installer.

You can verify which version of LabVIEW you have by selecting "About LabVIEW..." from the Help menu in LabVIEW.  Near the lower-right corner of the window that comes up it should show you the version number, i.e. 7.1 or 7.1.1.

Message Edited by Jeff B on 04-20-2006 11:30 AM

0 Kudos
Message 10 of 14
(4,461 Views)