Interacting with BUGs in Dragonfly SDK
My BUGs View
The Eclipse view called My BUGs is usually found in the Dragonfly perspective. If it is not visible, you can display it by going to: Window > Show View > Other > Dragonfly > BUGnet.
The My BUGs view displays any BUG Connections that are available to the SDK and allows you to interact with them. There are 3 connection types you will see in this window:
Actions in My BUGs View
- Browse any BUG Connection's Applications, Modules, or Services nodes.
- Double click the node on a BUG Connection to bring up a Physical Editor window for the Connection.
- Right click a BUG Connection to bring up a menu (see the Right Click Menu section below for details and options).
- Right click on an application in the BUG Connection Applications folder (see the Right Click Menu section below for details and options).
Launching BUG Simulator
If BUG Simulator is currently running, you will see it listed in My BUGs view. The BUG Simulator button also shows whether the BUG Simulator is running. If the button icon is red, this means that the simulator is probably not running. If it is blank, the simulator is already running.
Interacting with BUG Simulator
As noted above, you can open the BUG Simulator window from My BUGs view. Double click on the BUG Simulator element at the top of the My BUGs view to open the BUG Simulator window. You should see something like this.
In the simulator, you will see an image of a BUGbase. There are slots at the top and bottom that are designed to hold external modules that are plugged in. Right now, the simulator does not have anything plugged in. And that's a lot like how your physical BUG hardware starts.
When BUG Simulator is launched, it will automatically appear in the My BUGs view. The same should happen for a physical BUG when it is connected to your Network. In some cases, it is necessary to create the connection manually. (If you are having trouble please see http://buglabs.net/start).
Creating a New BUG Connection
2. After you enter a Name and Address, the Test Connection and Finish buttons will become active.
3. Click Test Connection to validate the Connection or click Finish to add it to the My BUGs view.
Right Click on BUG Connection Menu
- New BUG Connection button - Opens New BUG Connection Wizard
- Delete BUG Connection button - Only active for Manually created Connections
- Refresh BUG Connection button
- Properties - Update BUG Connection Address
- Additional menu options are available when right clicking on an application in the Applications folder.
Physical Editor Properties View
When you click on the BUGbase or any Module name tag in the Physical Editor, it will be highlighted blue and the Properties view will populate with specific information for the component.