LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX over network comu. labview-matlab

Hi all labviewers !

Do any of you outhere done activeX comunication between labview on one PC
and matlab on another PC.
Matlabnode in LV5.3 does not premitt this.
I want do some timeconsuming calculations in matlab and collect and present
data in labview.

Sincerely Yours
Anders Björk
Dept. Analytical Chemistry
Royal Inst. Tech.
Stockholm
0 Kudos
Message 1 of 4
(3,236 Views)
> Do any of you outhere done activeX comunication between labview on one PC
> and matlab on another PC.
> Matlabnode in LV5.3 does not premitt this.
> I want do some timeconsuming calculations in matlab and collect and present
> data in labview.
>

I'm not sure what version you are using. The latest version of
LV is LV5.1, and you also need to use a modern version of Matlab
that has a good server interface to be able to use the script node.
I'm not exactly sure how to configure it to use a remote Matlab,
but it is based on the native Matlab server interface; so you
can always drop your own method and property node and communicate
to any Matlab that has an interface.

Greg McKaskle
0 Kudos
Message 2 of 4
(3,236 Views)
Greg McKaskle wrote in message
news:38473D2B.48DC2F6E@austin.rr.com...
> > Do any of you outhere done activeX comunication between labview on one
PC
> > and matlab on another PC.
> > Matlabnode in LV5.3 does not premitt this.
> > I want do some timeconsuming calculations in matlab and collect and
present
> > data in labview.
> >
>
> I'm not sure what version you are using. The latest version of
> LV is LV5.1, and you also need to use a modern version of Matlab
> that has a good server interface to be able to use the script node.
> I'm not exactly sure how to configure it to use a remote Matlab,
> but it is based on the native Matlab server interface; so you
> can always drop your own method and property node and communicate
> to any
Matlab that has an interface.
>
> Greg McKaskle

We have Labview 5.1 and matlab 5.3. The main problem as I see it is that
matlabnode is not possible to open so reconfig of the underlaying G-code is
not possible.

Anders Björk
0 Kudos
Message 3 of 4
(3,236 Views)
> We have Labview 5.1 and matlab 5.3. The main problem as I see it is that
> matlabnode is not possible to open so reconfig of the underlaying G-code is
> not possible.
>

My point was that the scriptnode is built into LV, but communicates
to Matlab over ActiveX. I think it assumes that Matlab in on the
same computer; so it might not be appropriate to use.

Since it communicates to Matlab over ActiveX, you can drop your
own nodes and communicate to any Matlab you like. The Matlab
interface is pretty straightforward, and downloading an equation,
some variable values, telling it to run, then uploading the
variable values can all be done from the diagram using ActiveX.

I believe that it is also possible to register the remote Matlab
with your computer
so that when LV launches and communicates
with it, it is using the one on the remote computer. I don't
know exactly how to do this though, you will need to go
through support for either Mathworks or NI.

Greg McKaskle
0 Kudos
Message 4 of 4
(3,236 Views)