
nicolson
Canada
Asked
— Edited
Since the EZ revolution updates, EZ builder keeps freezing each time it connects to the robot. It would either take a very long time to run a program or freeze to the point of disconnecting the robot. Because of this the robot is no longer operational. Has anyone experienced this issue? Here is a link to one of the programs:
https://www.dropbox.com/s/yiyc39p2ye1vy5z/ProxyNewServo.EZB
It works fine before connecting, but as soon as the connects it keeps freezing.
windows 8 samsung tablet, how much memory? which tablet like 500t? start new project and no controls see if connect.
:)

J
@JustinRatliff The startup script worked fine before. At first I suspected it, but even after I removed it and started fresh with a new connection window, it still froze. If you try to run any of the scripts without connecting to the bluetooth, they all work fine. I think it has to do with the bluetooth connection.
@jdebay Since it froze on JustinRatliff's desktop computer, we can dismiss the tablet memory issue. I started new project with only script manager imported and it still froze.
Wow that's a lot of scripts you have starting and stopping at the same time on connection!
That may have something to do with it. If your PC/Tablet isn't powerful enough to manage all of that at the same time it may be having a small hiccup causing a disconnection. My PC jumped up to 21% cpu usage when I hit the init script start button, that's a lot of usage (my PC is 6 core 3.8GHz)
It may also be down to the comms speed, run a benchmark and see how fast/many actions can be sent/received in one second and then check if you are exceeding that.
I'll have better look when I get chance but try disabling the init script on connection and start the scripts manually one by one, in order, and see when/if it drops connection.
I'm looking into this to see if there is a loop... It's always nice to use the Script Flow control to see what everything is doing as well
@DJ Thanks. I totally forgot about this feature of ARC.
Ok, so I have it running again, no change that I made, same desktop Win8 system, same EZ-B. This time I connected a wireless camera too.....it seemed to run a little longer, but so slow. When I minimized the ARC, I could not maximize it without a little windows error ding to let me know it's not going to open. But from the Task Manager I could bring the ARC back in view and while all the functions in the app were stuck were stuck (could not stop, start, move anything, disconnect or minimize the screen), the camera view window was keeping current with the view of the wireless camera. I even turn the EZ-B off and there as no change to this state.
My system is 3.2Ghz, 16gb ram and under the Task Manager when the app stuck it was using 43% CPU resources.
@JustinRatliff So, we can totally dismiss windows as the culprit.
@nicolson I think that is safe to say. I don't perceive this to be Windows, the hardware, the EZ-B or the Bluetooth. I feel this is something in the scripted functions/processes that is causing the system resource to be tied up and the application to hang.
I'm still a little confused on when this broke? To recap - the script ran fine, you updated ARC to version 2014.2.7, ran the script again with out any modifications what so ever? - then the problems started? Do I have that correct?
If that is correct, what was the previous version you had of the ARC where the script did not hang? Ultimately it would be nice to figure out what is the source of it hanging and how to fix it.
I see a new version 2014.2.21 was just released. I'm going to upgrade to it and see if the problem goes away.