Welcome to Synthiam!

Program robots using technologies created from industry experts. EZ-Builder is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.
Get Started

Asked — Edited

Ez-Builder And Scripting Time Management

As robots become more elaborate mechanically the software must keep up. As the monitoring of sensors, particularly, increases, I would like to know what the experianced robot builders opinions are of how to keep the software from " hanging up, bogging down etc" What is the most time intensive EZ-Builder commands and scripts? Also what time limitation does the EZ-Board have, using Bluetooth(slow), I2C, Analog input and digital. Even Wifi! I know the video processing takes a lot of time leaving less time for other monitoring etc. Percentages of EZ Builder commands and scripts processing time , to the best of your opinions would be helpful . I understand of course that a faster PC that has been stripped down of any extra "tasks" keeps processing time fast! I know Rich and others have dedicated PCs stripped down for that reason. I hope that sounds clear:)

to If then Else or not to If then Else ..that is the question:
Whether 'tis Nobler in the mind to suffer
The Slings and Arrows of outrageous Fortune Hamlet(bot) :)

@Dave thanks for the update! I believe Richs idea of adding commands and observing the Benchmark is pure wizard! Although it does take time but when the "Eureka" moment arrives it makes all worth while:)....and the research continues...like looking for the perfect chicken wing meal or beer!
I've always wondered why am I going to a port and reading the ADC value and using up time, when the pc already has the value, because it displays it if I bring in an analog meter, graph or digital readout. Can't I get the ADC of a port from the pc?
United Kingdom
I don't think the ADC controls store the value in any variable. Perhaps DJ can add this in a future update?

You can use the scripts to read and the variable watcher to display the ADC values, this saves the bandwidth of the bluetooth as it doesn't read the same thing twice.
My main workstation PC is an I7 6 cores processor overclock to 4.0 ghz, water cool, 120 gb SSD, 12 gigs of DD3 ram, lol about 5 tb of HDD ( 1 ssd, and 4 normal HDD), 4 monitor, water cool, 2 nvidia 660TI, blah, blah , blah. I am not a strong Gamer. I mostly use for work related stuffs and it have no problem running EZ-B, video processing does not slow it down one bit.
I'm afraid I have been unlucky with the ADC monitor. It doesn't slow down my PC, it just freeze it completely. I haven't use it since 4 releases ago of EZ-B. I am not sure if it have been updated or fix. I will try it again and share my result.

My cousin just gave me an old PC for my robot projects, So I will use it as a dedicated robot server ( MIMIC Jarvis), control The Z waves ( lights, door locks etc), Run EZ-b round the clock. It is only a dual core with 1 gig of ram but should be enough to run EZ-B, since that will be it's only purpose. I will develop on my main PC, and simply upload the file to my robot server PC. *blush* *blush*
@PJ.... sweeeeeeet workstation PC. You are a very serious Big Software User...Rich had a good idea using the benchmark tool then adding various command boxes with set parameters and determine the processing times ...If you had a logic analyzer and time you might be able to see where its getting "choked".........gotta love generous cousins!
In general all things being equel , how would you rate processiing time from fastest to slowest of
Digital, ADC, Serial, I2C through the EZ-B 's blue tooth and then WIFi