4.2.3 Build and Deploy an FBP Application

We will now define a LED control application using the FBP editor and deploy this application to the IoT board.

  1. Click and enter the Application Management page.

  2. Click the Create New button and then enter the name for application.

  3. Click on the FBP name to enter the FBP composition canvas.

  4. Click the WuClasses tab.

  5. Scroll through the WuClass list to find the Button component. Select it and click the Add button. A Button component will appear on the composition canvas.

  6. Repeat the last step to add the Light_Actuator component. Please be noted that the new added component will overlap the previous one. You have to draw them apart.

  7. To create a link between two components, first click on the source component. After the source component has been highlighted, select the source property. Then move the cursor and click the property on the destination component.

  8. Check whether the source and destination of the data link is correct. If not, change the property in the dropout menu.

  9. Press the Application tab and click the Save button. The FBP has now been created.

  10. We will now start the deployment process. First click the Map button to start the Master FBP mapping selection process.

  11. After Master has made its selection, the mapping result will be displayed as below. If the mapping is successful, each FBP component should have a device ID and a port number.

  12. Click the Deploy button to start the FBP execution.

  13. Master will display some messages and show if the deployment is successful.