Asked
Resolved Resolved by DJ Sures!

How To Suppress Print Outputs On Scripts

Is there a way to suppress the printing of Start, Done(timestamp) when a script is executed? I am building a state-machine interface with EZ-scipt, and I want to make it as fast as possible, eliminating any unnecessary prints.



Related Hardware (view all EZB hardware)
EZ-B V4 by EZ-Robot
EZ-B v4/2 robot controller: dual Cortex ARM, Wi-Fi, audio/video, 24 servo/digital ports, I2C/UART, camera and Synthiam ARC control for custom robots
Wi-Fi / USB
Servos 24
Camera
Audio
UART 3
I2C
ADC 8
Digital 24

ARC Pro

Upgrade to ARC Pro

ARC Pro is more than a tool; it's a creative playground for robot enthusiasts, where you can turn your wildest ideas into reality.

Author Avatar
PRO
Synthiam
#1   — Edited

I’ll add an option for you. Have you considered using the JavaScript compiler instead? It’s 10-20 times faster than ezscript

Author Avatar
PRO
USA
#2  

Thanks DJ. I coded a simple state-machine to do some movements for 3 of my 8 servos/motors per arm, and it seemed to work fairly well.  Still have a lot to add to it though, so speed might eventually be an issue.

I was thinking about C# code, but I think I'll give the JavaScript a shot.  Might be just want I need.  I've done some Java, and lots of C programming over the past 35 years, so I shouldn't have much trouble getting up to speed on JavaScript.  Thanks for the suggestion.