Skip to main content

Example Code

Find Example Code

After opening LabVIEW, you can follow the steps below to find the example programs provided by WPC:

  1. Go to the top menu bar.
  2. Click HelpFind Examples... .
wpc_drone_driver_open

「How to Find Examples」

This will open the NI Example Finder window.

  1. In the NI Example Finder, click the Search tab.
  2. In the Enter keyword(s) field, enter WPC.
  3. Click the search button, and you will see all example programs for LabVIEW related to WPC products.
wpc_drone_driver_search

「WPC Drone Examples.lvproj」

In the file browser on the left, expand "WPC Drone Examples.lvproj" to see all available WPC Drone examples.

wpc_drone_driver_examples
Example NameDescription
WPC Drone - Active.viActivate drone
WPC Drone - Read Battery.viRead drone battery voltage and current data
WPC Drone - Simple Move.viComplete drone movement process (including mode setting → arm drone → takeoff → move → landing)
WPC Drone - Takeoff.viBasic drone takeoff and landing process (including mode setting → arm drone → takeoff → landing)