Transfer Files to the NI USRP 2974 Memory From a Windows Host

Updated Jun 26, 2020

Reported In

Hardware

  • USRP-2974

Software

  • LabVIEW Communications System Design Suite

Operating System

  • Windows
  • LabVIEW Real-Time (NI Linux Real-Time)

Issue Details

I have a file on my Windows PC. I want to transfer it to the Hard disk of the USRP 2974 so that the file is accessible even when the USRP is used as a stand alone device. How can I do this?

Solution

The USRP 2974 is a Linux RT target, so you can use SFTP commands to transfer files through the Windows command prompt. The following are the steps for the same:
  1. Connect the USRP 2974 to the Host PC and ensure it's detected in LabVIEW Communications System Design Suite.
  2. Open the Command Prompt on the Host PC
  3. Establish the SSH connection to the USRP and open an SFTP session by using the following command: sftp <USRP username>@<USRP IP address>
  4. Migrate to the folder where you want to store the file using the cd command. For example: cd lvuser
  5. Once in the destination folder, use the following command in order to transfer a local file to it: put <file path on Host PC> 

Additional Information

You can use a similar method to transfer files from the USRP to the Host PC. It can be achieved by replacing the put command in the above steps with a get command as follows: get <file path on USRP>.