General - Connection

How To Add This Control To Your Project

Step #1) Load the most recent release of EZ-Builder
Step #2) Press the Project tab from the top menu bar of EZ-Builder
Step #3) Press Add Control from the button ribbon bar of EZ-Builder
Step #4) Choose the General category tab
Step #5) Press the Connection icon to add the control to your project




Description

Use the connection control to establish connections to your EZ-B?s or other EZ-Builder instances. Connections to the EZ-B are specified as COM ports, where connections to another EZ-Builder instance are specified as IP Addresses.


TCP Server

To enable an EZ-Script TCP Server instance in EZ-Builder, use the Config button within the connection control. This will open a configure window with more options. The Script Interface checkbox will enable a TCP Server which provides clients a real-time EZ-Script interface. When checked, the server accepts remote TCP Telnet connections into the EZ-Shell. You can add the TCP Clients Control in EZ-Builder to monitor who has connected to the EZ-Builder terminal interface.

Many developers and third party software use this TCP Server feature to integrate with EZ-Builder, such as RoboRealm, EZ-Face and EZ-AI. If you are a third party developer, connecting to the EZ-Builder TCP Server is a powerful method to set variables, start/stop scripts and even obtain the video frames by combining it with the HTTP Server. There is an example in the EZ-SDK archive titled Tutorial 52 - EZ-Builder Script Interface Client which demonstrates how to connect to the TCP Server of EZ-Builder from your custom program.


Auto Load Project

The EZ-Builder.exe accepts a few parameters.

- Param 1: Path and Filename of project to load
- Param 2: Name of Script to start when project is loaded

Here is an example of loading a project on startup:

"C:\Program Files (x86)\ EZ-Builder\EZ-Builder.exe" "C:\My Documents\MyFile.ezb"

Here is an example of loading a project on startup and execute a script named InitScript

"C:\Program Files (x86)\ EZ-Builder\EZ-Builder.exe" "C:\My Documents\MyFile.ezb" "InitScript"


Video

Related Tutorials & Activities

Connecting to JD over WiFi

Connecting to JD over WiFi

Introduction In this lesson, we will explain how to connect to your JD robot using your PC. You will load EZ-Builder and connect to JD over Wi-Fi. Lie JD on his back on a flat surface for this less...

Last Modified on 4/16/2017

Created by EZ-Robot


Connecting to Six over WiFi

Connecting to Six over WiFi

Introduction In this lesson, we will explain how to connect to your Six Hexapod Robot using your PC. What You Will Need An assembled and calibrated Six with charged battery A PC with...

Last Modified on 4/20/2017

Created by EZ-Robot


Connecting to Roli over WiFi

Connecting to Roli over WiFi

Introduction In this lesson, we will explain how to connect to your Roli Rover Robot using your PC over a Wi-Fi connection. *Note: If this is the first time you have used Roli, we recommend cali...

Last Modified on 2/19/2015

Created by EZ-Robot


Serial/USB Connectivity

Serial/USB Connectivity

The EZ-B v4.x/2 and IoTiny v4 may be configured to for direct wired connection to a PC. The connectivity uses the camera port of the EZ-B, which provides serial TX/RX data lines and GND. Connecting...

Last Modified on 1/5/2017

Created by EZ-Robot


USB WiFi Adapter

USB WiFi Adapter

As you may have seen in the WiFi Modes Tutorial, the EZ-B may be put into one of two available modes (AP or Client). Some cloud-based controls require an internet connection, such as PandoraBot, Mic...

Last Modified on 3/22/2017

Created by EZ-Robot


Change WiFi Name

Change WiFi Name

You can change the name of your EZ-Robot by following these instructions. [trp:62]

Last Modified on 12/13/2017

Created by EZ-Robot


How To Connect Your Ez-b V4 To Your Computer(both Ways[ap And Client])

I made a few How-to videos showing people how to connect the ez-b v4 in both Ap mode, and in client mode. This first video shows how to connect for the first time in AP Mode. AP mode: The ez-b gives of its own Wi-Fi connection(hotspot) and is connected to the computer directly. AP Mode is the mode the ez-b first starts on. You have to connect to it in AP mode before you can switch to Client Mode. AP Mode: Client Mode:...

Last Modified on 9/17/2015

Created by Cardboard Hacker


Ez-b V4 Connection Tutorial

Now I know there are video tutorials however sometimes it's cool to have a text/image based walkthrough which can be printed too. One of the first things you may want to do when you get your EZ-B V4 is to change how it connects. By default it acts as an access point which your PC or Mobile device will connect to. That's fine for some however I plan to have mine online and connected to my home network. In order to change...

Last Modified on 9/17/2015

Created by Rich


Setting Servo speeds and Initialization Script Tutorial

This tutorial will explain what an initialization script is and how to use them in your EZ-Builder projects. Initialization scripts, sometimes referred to as "Init" scripts are used to prime controls, devices, or existing scripts within your EZ-Builder projects, and sets them ready for use. Sometimes, you may see it referred to as a "Run Once" script. In the next few steps, I will go through how to set an "Init" script up, and go through some of the main uses for this function, that includes servos speeds and setting variables.

Last Modified on 10/16/2015

Created by Steve G


How to choose correct battery(s).

Given the wide range of actuators and electronics which go into a robot, choosing the right battery may not be an easy task. This tutorial guides you through the thought processes involved in choosing one or more batteries for your robot.

Last Modified on 10/15/2015

Created by Ravdeep


Control More Than One Robot

How to control more than one robot in a single EZ-Builder project. This tutorial uses Revolution robots that depend on the Auto Position control, but the similar approach can be used for any robot styles.

Last Modified on 2/7/2017

Created by ezrobot


Related Articles: N/A