Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Grab video using .NET Remoting problem

I want to show video from remote computer by .NET remoting. My host computer(directly connect to a camera) has  a class to handle video grab function, just from client to invoke it. 

 

Host side grab function like this

 


public VisionImage GrabCamera()
{
try
{

 

_session.Grab(image, true);

return image;

}
catch (Exception ex)
{

}

}

 

It's very easy, just return visionimage object to client, then show it in client interface.

 

in client side, it like,

 

image = remoteObject.GrabCamera();

 

It works about several minutes everytime, then show error message "Not enough memory for requested operation".

 

I created similar function for local application before, it works very well. 

 

I have no idea for that so far.

 

Any help would be greatly appreciated

 

Thanks  a lot!

 

Xin Chen

0 Kudos
Message 1 of 1
(3,342 Views)