Otherwise, the file is not imported due to an invalid format or other reason. Additionally, each NI slave chassis contains an embedded field-programmable gate array FPGA that can execute custom timing and signal processing to help you create intelligent distributed devices that are synchronized within ns of each other. Figure 9. Table 1. The variable name, data type, and data direction from Host to FPGA or vice versa may be set from the Properties window.
If you get an error message stating that your firmware needs to be updated, follow the instructions in the NI User Guide under the Updating Your Firmware section. This content is not available in your preferred language. Environment shows products that are verified to work for the solution described in this article.
This solution might also apply to other similar products or applications. Note: Port 1 on the cRIO is on the bottom. Port 1 on the NI is on the top.
Configuring the Master Controller After you have connected the hardware, install the required software on the host computer. Figure 2. Figure 3. Right-click on Project and select New»Targets and Devices. Figure 5. Figure 6. Figure 7. Figure 8. Open a service request. Your browser may include features that can help translate the text. This yields a max rate of You can configure the project for other combinations such as 2ch-4spc through Conditional Disable Symbols.
See the section Conditional Disable Symbols for a description of common symbols. For the Rx and Tx core subsystems, the driver queries the downloaded bitfile running on the X to determine how many channels the bitfile supports and whether it is compiled for 1spc or 4spc. For the Rx and Tx streaming subsystems, the driver can set registers with information such as number of channels configured, channels enabled, finite acquisition mode etc.
As well as reading back the state of the active streaming session, samples processed, FIFO under or overflows etc. For the Synchronization subsystems, the driver can read and write trigger type as well as specific trigger configuration such as trigger time etc. Here you can see that reading the Rx Core class at hex offset 0x2 returns the number of channels that this project is configured for through the Conditional Disable Symbols. User can set the Digital Offset and Digital Gain.
These CLIPs can be found here:. Below is an example desktop VI that loads a specific bitfile and starts generation and acquisition of the IQ data. In this example, note that both Rx config and Tx config are set to none.
This allows you to use the NI-USRP driver to set up and configure parts of the system while you are responsible in this case for the Tx and Rx portion. Similarly, you can disable streaming and implement that locally on the FPGA. See the example below. You can see that the real component is now shifted up by 0.
With FPGA compiles there are tradeoffs between number of features and speed versus resource usage. Thus, you will have a greater bitfile compilation success rate if you compile a 1spc bitfile v. The two flavors installed 4ch-1spc and 4ch-4spc are just examples. If your solution only requires 1 channel at 4spc, it is more efficient to set up a project that compiles a 1ch-4spc bitfile instead of enabling 1 channel in a 4ch-4spc bitfile.
0コメント