Example Code
Find Example Code
After opening LabVIEW, you can follow the steps below to find the example programs provided by WPC:
- Go to the top menu bar.
- Click Help → Find Examples... .

「How to Find Examples」
This will open the NI Example Finder window.
- In the NI Example Finder, click the Search tab.
- In the Enter keyword(s) field, enter
WPC. - Click the search button, and you will see all example programs for LabVIEW related to WPC products.

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

| Example Name | Description |
|---|---|
| WPC Drone - Active.vi | Activate drone |
| WPC Drone - Read Battery.vi | Read drone battery voltage and current data |
| WPC Drone - Simple Move.vi | Complete drone movement process (including mode setting → arm drone → takeoff → move → landing) |
| WPC Drone - Takeoff.vi | Basic drone takeoff and landing process (including mode setting → arm drone → takeoff → landing) |