LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How To Use GOOP and The VI Server?

I created several VIs that work together to display images on a remote
computer using a VI server. To make it easier to use I turned the several
VIs into methods in a GOOP class. This works fine to display the images on a
local machine.

I then added more methods which call the existing methods via a VI server.
This version will not run, even when the VI server is the local machine.

The error it returns is "Object not valid." This comes from the object
repository method that GOOP created automatically. I'm passing what appears
to be a valid object reference, it seems that the object repository doesn't
recognize it as valid. Of course the object repository is password protected
and so I cant delve any deeper.

Has anyone
used a GOOP object over a VI server successfully? Is this even
possible?

TIA,

Don
0 Kudos
Message 1 of 2
(2,459 Views)
You must be very careful because objects and refnums created on one instance
of LabVIEW are local to that instance only. Objects created on one machine
with the object repository are unknown to the other object repository
running on the remote machine. You must pass the whole object data from one
machine to the other, not only the refnum.

Jean-Pierre Drolet

"Don Brocha" a écrit dans le message news:
1_er5.467$Z96.71335@sea-read.news.verio.net...
> I created several VIs that work together to display images on a remote
> computer using a VI server. To make it easier to use I turned the several
> VIs into methods in a GOOP class. This works fine to display the images on
a
> local machine.
>
> I then added more methods which call the existin
g methods via a VI server.
> This version will not run, even when the VI server is the local machine.
>
> The error it returns is "Object not valid." This comes from the object
> repository method that GOOP created automatically. I'm passing what
appears
> to be a valid object reference, it seems that the object repository
doesn't
> recognize it as valid. Of course the object repository is password
protected
> and so I cant delve any deeper.
>
> Has anyone used a GOOP object over a VI server successfully? Is this even
> possible?
>
> TIA,
>
> Don
>
>
>
0 Kudos
Message 2 of 2
(2,459 Views)