thanks again for your huge work around RPyC and support.
I will try the obtain method

By the way,
my RPyC tests project is to have two servers: 
-One to get photo from webcam/camera (via opencv) => WebCamService
-Andd another server for update a wxPython Gui (with wxStaticBitmap => 
GuiService
In the middle of this two servers a client which launch both servers and 
get an image through a exposed_function   "def exposed_GetPhoto(self)" of 
webcamService (use service like this in my client 
"webcam=cWebcam.root.last_photo").
At this point the webcam is a <netref class 'numpy.ndarray'> but I get use 
any tostring(), copy() method from numpy without problem...
But when I send 'webcam' to my Gui server through a exposed_function "def 
exposed_SetPhoto(self,photo)" of my RPyC GuiService, I can visualize the 
ndarray but I can't use methods on it (server side°

I hope, my explanation was clear.

best regards,
-damien 


Le lundi 25 juin 2012 17:54:15 UTC+2, Tomer Filiba a écrit :
>
> you'd have to provide a code snippet that reconstructs the problem.
>
> but if ultimately need to copy the ndarray from one process to another 
> (passing it by value),
> you can use obtains. see 
> http://rpyc.sourceforge.net/api/utils_classic.html#rpyc.utils.classic.obtain
>
> -----------------------------------------------------------------
>     
> *Tomer Filiba* 
> tomerfiliba.com     <http://www.facebook.com/tomerfiliba>    
> <http://il.linkedin.com/in/tomerfiliba> 
>
>
> Hi all,
>> I have a <netref class 'numpy.ndarray'> object (server side) and I can't 
>> access to any of method (in particular the .tostring()). 
>> Data from this object is ok, but need to have the 'real' numpy.ndarray 
>> from my client, to use it.
>> thanks for help
>> -baco
>>
>
>

Reply via email to