Explains how to add WSN targets to a LabVIEW project and associate them with WSN nodes.

When you create a project for an application through the Project Explorer window, you must create a WSN target and add the target to the project . You must create a target for each WSN node on which you plan to run an application.

Complete the following steps to add a WSN target to the WSN node.

  1. Create a project .
  2. In the Project Explorer window, right-click the project root and select New»Targets and Devices from the shortcut menu to display the Add Targets and Devices dialog box.
  3. Select Existing target or device to display the available targets and devices.
  4. Expand the WSN Gateway folder. LabVIEW displays the WSN gateways that you configured in the MAX.
  5. Select a gateway from the list of available gateways.
  6. Click the OK button. The gateway appears in the Project Explorer window.
    Note   You must set a time server for the WSN gateway to obtain significant time information in the application. Refer to the MAX Help for WSN, available by selecting Start»All Programs»National Instruments»NI-WSN»Configuring WSN in MAX, for more information about configuring WSN gateways.
  7. Right-click the gateway in the Project Explorer window and select New»Targets and Devices from the shortcut menu to display the Add Targets and Devices dialog box.
  8. Select Existing target or device to display the available targets and devices.
  9. Expand the WSN Node folder. LabVIEW displays the WSN nodes that you configured in MAX.
    Note   Refer to the MAX Help for WSN, available by selecting Start»All Programs»National Instruments»NI-WSN»Configuring WSN in MAX, for more information about configuring WSN nodes.
  10. Select a WSN node from the list of available WSN nodes.
  11. Click the OK button. The WSN node appears under the gateway in the Project Explorer window.
  12. Right-click the WSN node in the Project Explorer window and select Add LabVIEW WSN Target from the shortcut menu to add a WSN target to the WSN node.