EZ-B Settings icon EZ-B Settings Configures and pushes WiFi SSID, password, system name and channel to EZ-Robot EZ-B v4 from ARC; saves settings with project for quick redeploy. Try it →

ARC Pro

Upgrade to ARC Pro

Discover the limitless potential of robot programming with Synthiam ARC Pro – where innovation and creativity meet seamlessly.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#1  

How are you using the command? Can you provide sample code?

Bear in mind, any command which fetches data must be assigned to a variable or used as part of an expression such as;

$x = UARTRead(0,0,10)

Or

IF(UARTREAD(0,0,10) = "true")

Or

Print("Data Received: " + UARTREAD(0,0,10))

Every ARC control and EZ-Script command has an example in the examples folder. The UART example is in EZ-Script Function Syntax\ and is named UART Peripheral. The scripts within the Example Project should help you understand how to use the commands.

Author Avatar
United Kingdom
LinkedIn Twitter Google+ YouTube
#3  

It's a common mistake, I wrote a quick tutorial on getting data and using it in EZ-Script a while back which explains why just the command on it's own is meaningless.

For a better understanding, if you want it, have a read of this topic.

Glad that solved the problem:)