loading
 
getImage C#
Berk from Turkey  [10 posts]
13 year
Hi, im trying to get the current camera view from RR on show it on my application by

Dimension d = rr.getDimension();
byte[] image = new byte[d.width * d.height];
rr.setCamera("on");
rr.run("on");

d = rr.getImage("source",image, d.width * d.height);

but it just returns null and i dont know why. Any idea ? Thanks for the help :)
Anonymous 13 year
Berk,

Try stepping into that getImage function with the debugger and see where it fails.

I assume you have all the rr.connect also above this code?

Ensure that RR is running and has the API activated (off by default).

STeven.
Berk from Turkey  [10 posts] 13 year
Well, in debugging mode, i solved the problem. Thank you :)

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index