USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

USRP 2942R: AUX I/O example project

Hi,

I want to use one of the AUX pins on the USRP (2942R) to for example control an RF switch.
Is there an example project on the programming of these pins?

(This forum-post is related to my question but didn't provide a solution: https://forums.ni.com/t5/USRP-Software-Radio/need-a-simple-example-with-X310-2943R-and-lvfpga/m-p/32...)

0 Kudos
Message 1 of 3
(2,840 Views)

Hi,

 

When you install the NI-USRP driver, it will include all USRP-related example programs from NI. The examples should be at the following location, according to the readme for the driver:

 

<NIDir32>\LabVIEW<version>\examples\instr\niUSRP\

 

Jack

 

Sources:

USRP Driver readme - http://www.ni.com/pdf/manuals/374760k.html

0 Kudos
Message 2 of 3
(2,818 Views)

Hi,

Using the AUX IO on the USRP RIO is the same as using FPGA IO resource on any other RIO product.

You can use the Simple NI-USRP Streaming design (sample project) to get started and then in order to control any of the AUX IO pins you just drag drop them from Project view onto the FPGA VI and compile. You can put the IO resource (AUX IO node in your case) in a loop and then control the output on the AUX IO pin from the Host using a FPGA Read/Write control on the FPGA Interface palette.

 

0 Kudos
Message 3 of 3
(2,766 Views)