loading
 
GetCameraFormat
Bob Simmons from United States  [17 posts]
8 year
I am using VB 2015 .net.  I can talk to the API ok.  I'm trying to use GetCameraFormat and I can't get it to work no matter how I dim the variables.  Help!  It crashes RoboRealm.
Steven Gentner from United States  [273 posts] 8 year
Bob,

It seems that the number of bits the current format is using was being reported incorrectly and causing a problem. This has been fixed. We have tested using

set rr=CreateObject("RoboRealm.API.1")

rr.Startup()

Dim width, height
rr.GetCameraFormat width, height, fps, compression
WScript.Echo width & " x " & height & " at " & fps & "fps using "&compression&" compression"

rr.Disconnect()

saved as something.vbs and run from the command line. This caused RR to crash in previous versions but now appears to work as expected.

Please download the latest version for this fix.

Thanks,
STeven.

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