You must complete the following steps before you can compile an FPGA VI with the compile farm.
- Install the FPGA Compile Farm and configure the compile server for simultaneous compilations.
- Install remote compile workers and configure them to connect to the server.
- Manage external connections to the compile server.
- Configure LabVIEW to compile an FPGA VI remotely.
- Use the FPGA Compile Farm Console to manage the jobs and workers.
Install the FPGA Compile Farm and configure the compile server for simultaneous compilations.
When you install the FPGA Compile Farm add-on, you install the FPGA Compile Farm Console and the FPGA compile server. The FPGA Compile Farm Console is a Web-based application that you use to monitor and manage compilation jobs. The compile server is a system service that runs in the background of the OS.
Complete the following steps to install and configure the FPGA Compile Farm.
- Insert the installation media in the remote computer.
- Run setup.exe.
- Follow the instructions on the screen to install the FPGA Compile Farm.
Note: If you want to use the computer only for monitoring and managing FPGA compilation jobs, you do not need to install LabVIEW, the FPGA Module, or the FPGA compilation tools on the computer. - Activate the FPGA Compile Farm license. When you activate the FPGA Compile Farm license, you configure the compile server to accept up to the number of simultaneous compilation jobs that your activation license permits.
Install remote compile workers and configure them to connect to the server.
Complete the following steps to install and configure compile workers on different computers.
- Insert the installation media in the computer on which you want to install the compile worker.
- Run setup.exe.
- Follow the instructions on the screen to install and activate the FPGA compilation tools you want. The different compilation tools dictate the capability of the compile worker.
Note: You do not need to install the FPGA Module or LabVIEW on the remote computer if you want to use the remote computer only for compiling FPGA VIs. - After you install the compile worker, select Start >> All Programs >> National Instruments >> FPGA >> FPGA Compile Worker to launch the compile worker. The compile worker icon appears in the taskbar.
Note: You must launch the compile worker from the Start menu on the computer on which it is executing. You cannot launch the compile worker remotely. - Right-click the compile worker in the taskbar and select Open from the shortcut menu. The FPGA Compile Worker window appears.
- Click the Configure button.
- In the Configure Compile Worker dialog box, select Connect to a compile server.
- Enter the name of the computer running the compile server for the compile farm.
- (Optional) Enter the user name and password to connect to the server. By default, the username is admin and the password is left empty.
- Enter the maximum number of simultaneous jobs that the compile worker can compile in the Number of simultaneous jobs control. NI recommends that the number is not larger than the number of cores in the processor of the computer running the compile worker.
- Click the OK button to accept the changes and close the dialog box.
The Status text box in the FPGA Compile Worker window indicates when the compile worker connects to the server successfully. - (Optional) You can click the Close button to close the FPGA Compile Worker window.
Note: The compile worker must be running on the remote computer in order to receive jobs from the compile server. Do not shut down the compile worker on the remote computer or you will not be able to compile on it.
Manage External Connections to the Compile Server
By default, the FPGA compile server accepts external connections from remote users. You can manage user accounts and change the default user name and password through Web services. Complete the following steps to manage external user accounts.
- Select Start >> All Programs >> National Instruments >> FPGA >> FPGA Compile Farm Console to launch the compile farm console for the compile server.
- Click the Login link and enter a username and password to log into the console. By default, the Username is admin and the Password is left empty.
- Click the Security Configuration button in the left-hand pane to access the Security Configuration page.
- Click the Help link in the top-right corner of this page for information about configuring security.
If you want to disallow external connections to the compile server, remove the checkmark from the Allow External Connections checkbox in the FPGA Compile Farm Console window.
Configure LabVIEW to Compile an FPGA Remotely
Complete the following steps to configure LabVIEW to compile an FPGA VI on a remote computer.
- Launch LabVIEW.
- Select Tools >> FPGA Module Options to display the FPGA Module Options dialog box.
- Select Connect to a compile server in the Compile Server section.
- Enter the name or IP address of the computer running the compile server in the Host name text box.
- (Optional) Enter the user name and password necessary to log into the remote compile server. By default, the User name is admin and the Password text box is empty.
- Click the OK button.
- On the local computer, open the FPGA project that contains the VI you want to compile.
- Compile the FPGA VI. If LabVIEW is unable to contact the compile server, LabVIEW displays an error in the Compilation Status window. Otherwise, LabVIEW compiles the FPGA VI on the remote computer every time you compile an FPGA VI.
Refer to the FPGA Module Options Dialog Box topic in the LabVIEW Help for information about connecting to the compile server from LabVIEW.
Use the FPGA Compile Farm Console to Manage the Jobs and Workers
You use the FPGA Compile Farm Console window to manage the compile workers and job queue. Click the Help link in the top-right corner of the console to find information about the controls on the page.
- To access the console from the computer on which it is installed—Select Start >> All Programs >> National Instruments >> FPGA >> FPGA Compile Farm Console.
- To access the console from a remote computer—Open a Web browser and enter http://<computername>:3580 into the address field
- where <computername> is the name of the computer on which the compile farm console is installed.
Note: You must log into the FPGA Compile Farm Console window if you want to access the console remotely.