I recently wrote an指导where I used a Raspberry Pi to control a WF32 over WiFi. Today I will share an extensive guide on how to set this up for your own applications!
Step 1: Connecting WF32 to WiFi
Launch the LINX Firmware Wizard.

- Choose the chipKIT WF32.

- Go to Device Manager.

- Click on “Ports(COM & LPT)” to find the WF32’s COM port.

- 选择您的设备COM端口。

- 配置网络设置:
- SSID是您网络的名称。
- 分配Chipkit WF32可用的IP地址。您需要以后再次指定此IP地址作为Linxinit VI的输入。
- 选择要使用的端口;除非您有理由使用另一个;您应该选择44300。
- You will need to specify this IP address again later as an input to the LINX Init VI.
- Specify the Wifi security type and passphrase.
- Note: It is recommended that you disable network security to start and then re-enable it after you confirm the LINX connection is working.
- Click Launch Example.

Step 2: Raspberry Pi Setup
- Download a Raspbian image这里。
- Linx是使用Raspbian Jessie开发的。
- 单击Raspbian Jessie图像下的下载ZIP按钮。

- Extract (unzip) the Raspbian image.

- Google win32diskimager and click on the top link or click这里。

- 下载Win32磁盘成像器。

- 从您的下载文件夹中打开它。

- Complete the installation, but uncheck both the View and Launch boxes after completing the Setup Wizard.

- Open File Explorer and go to This PC.

- 选择程序文件(x86)。

- 选择ImageWriter。

- Then, select Win32DiskImager.

- Click on the folder next to the image file dialog box, and then select your raspbian jessie disk image.

- Insert the SD card into your computer and set the device dropdown so your SD card is selected, then click Write.

- Connect ethernet to the Raspberry Pi and power on your Raspberry Pi. Launch LabVIEW, and open the Target Configuration Wizard from Tools»MakerHub» LINX»Target Configuration.

- 输入Raspberry Pi的主机名或IP,以及带有根特权的用户名和密码,然后单击“连接”。(最终您需要将Raspberry Pi连接到WiFi,请单击这里if you need help).
- 默认主机名是“ RaspberryPi”。
- 默认用户名是“ pi”,默认密码为“覆盆子”。
- Click the Install Software tab and click Install. Then review any warnings and complete the installation.

步骤3:Raspberry Pi - 部署启动可执行
- Open up the LabVIEW project that you want to run and then select File-> New.

- 在“项目”文件夹中选择“空项目”。

- A pop-up will ask you if you want to add the open VI to the new project, select Add.

- 右键单击“项目:无标题项目1”,然后选择“新”»“目标和设备”。

- Select “Raspberry Pi 2 B” in the LINX folder and click OK.

- Right click “Raspberry Pi 2 B” and select Properties.

- 在“常规”类别下,输入Raspberry Pi的IP地址(这应该是您在上一步中设置的IP地址)。

- 下一步是为Raspberry Pi 2打开销钉图,以供以后使用。从前面板中,选择“帮助»makerHub»linx»” Pinout - Raspberry pi B.”

- Next, enter the correct values for the TCP settings, RPI settings, and the WF32 settings for the project you are going to use(mine is shown below).

- To make sure these values don’t change, click Edit»”Make Current Values Default.”

- 将您选择的项目拉到Raspberry Pi 2部分,然后右键单击“构建规格”(我的称为“ RaspberryPi-WF32_FAN_CONTROL”)。然后选择新的»实时应用程序。

- Rename the build specification.

- 单击对话框左侧的源文件类别。

- Under Project, Files select the top level VI (“Raspberrypi-WF32_Fan_Control” for me) and click the right arrow to add it to Startup VIs. Click OK.

- Right click the new build specification and choose Build.

- 单击完成。
- 右键单击新的构建规范,然后选择运行作为启动。
- 单击是重新启动目标。现在,每当目标启动时,VI将运行。
我的下一篇文章将向您展示我使用这些步骤进行的Labview项目。感谢您的阅读,并随时发表评论。
