Picture In Picture icon Picture In Picture — Picture-in-picture camera overlay: superimpose one camera onto another; configure source/destination, position, size, border, processed frames, and swap Try it →
Asked — Edited
2 Participants

Error Message On Scriptstop

Has anyone used ScriptStop sucessfully, without geting an Error ?

I was trying to use ScriptStop to debug my Roomba SendSerial Script, Line-By-Line, and I keep getting Syntax Error on line 18: Unknown Command: ScriptStop .

I have attached my EZ-B SendSerial Script that I am trying to learn to Debug.

Thanks All,

[email protected], 602-246-1246(H)

View thread: https://synthiam.com/Community/Questions/2747

SendSerialSound&Direction27,-Jan-2013.EZB


ARC Pro

Upgrade to ARC Pro

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#1  

I've not used ScriptStop nor did I realise there was such a command, but why not test the code line by line using either the script console or by adding the label :End at the bottom of the script and using a Goto(End) where you want the script to stop?

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#2  

There is no command for scriptStop. The available commands are to the right of the editor. To stop a script at a specific point, use Halt()

ScriptStop is a ControlCommand() function.

You may review examples by pressing the Examples button:)