Bob Simmons from United States  [17 posts]
5 year
I have been writing my VB app using the API server.  Now I want to switch to the dll.

I tried rr.SetCOMType(1) as the first command, then rr.Startup().  It does this without error - but doesn't appear to be actually connected.

I tried it with and without the API server running...

What is the proper procedure?  What kind of performance increase should I see if I'm using Get/Set Bitmap?  LoadProgram?
Steven Gentner from United States  [1446 posts] 5 year

when switching to the DLL you will NOT see any communication in the RoboRealm app anymore. The DLL is loaded into your own program and runs within that programs address space. It will NOT launch the RoboRealm application anymore nor communicate with a running application. The loaded DLL *IS* the RoboRealm application embedded within your own application.

That's one of the reasons that the statement allows you to toggle between the two techniques so that if you do have issues with the DLL you can quickly switch to the API and get a better sense of what is going on in the system as the DLL will not report much in terms of debugging information.

Also note that there are some modules that do NOT exist in the DLL version. These are mainly around the robot communication modules like serial/USB/etc. which are better done in your own application. The DLL focuses mainly on image capture and image processing modules.

You will NOT see much in terms of performance increase ... if any. Because the API communication is local to the machine it is superfast and does not affect the performance in most circumstances. In most cases you are better off just using the API unless you plan to distribute your application along with RoboRealm to a much larger audience (requires additional licensing).

If performance is a concern, look towards not using modules you don't need to or reducing the size of the image ASAP within the pipeline. Those will dramatically increase performance much more than switching the communication type from local network (API) to memory (DLL).


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