01-12-2013 01:20 PM - edited 01-12-2013 01:49 PM
Hello!
Im really new to Labview. My problem is quite simple. I want to transmit a given bitstream from file via bpsk. At the other side i want to receive all the time data, demodulate and save it to a file. I dont want to do any packet format or whatever, simply transmit the stream and all the time receive on the other side, because the later steps i want to do in my already given algorithm.
I cant open somehow most of the example from USRP. I also dont need any GUI. Can someome help me how that is done?
01-14-2013 10:00 AM - edited 01-14-2013 10:01 AM
Hello Hanzzz,
The easiest way to begin will be using the examples that come with the USRP.
Go to Start >> All Programs >> National Instruments >> NI USRP >> Examples.
Open the ModulationToolkitExamples folder
Double click on the niUSRP EX PSK Tx example VI
On the block diagram, change PN Sequence to Read from file
Create a constant for the Path input terminal
Switch to the front panel and choose the correct PSK format you would like and the file you would like to read from
You can use the niUSRP EX PSK Rx example VI to receive the signal and save the output bitstream from the MT Demodulate PSK VI to a file.
Take a look at the LabVIEW example on how to write to files
From LabVIEW, click the Help menu
Click Find Examples
In the Browse tab, click on the Fundamentals folder then click on the File Input and Output folder. I would suggest either the Write to Text file or Write Binary file examples.
01-14-2013 10:14 AM
Hey Hanzzz,
Regarding you being unable to open USRP examples, I don't know why this would happen, but we just released a new version of the driver Friday. I recommend that you update to the version, 1.2, which you can download here. That will reinstall any missing files and hopefully fix your examples.
Anthony_F mentioned an example that uses Modulation Toolkit. This is not a free toolkit, but you can always download a 30 day trial. The toolkit helps with setting up your bit stream, but the rest of the example shows how you need to set up the USRP driver to run a basic modulation example.
01-14-2013 02:07 PM
The problem is, that for example while loading the niUSRP EX PSK Tx example, its asking me for mod_continues BB-PSK, what it seems not be able to find. I also tried to uninstall und reinstall again...
01-14-2013 02:20 PM - edited 01-14-2013 02:20 PM
Hello Hanzzz,
That VI is part of the Modulation Toolkit, you will need to install or re-install Modulation Toolkit so that LabVIEW can find those subVIs.
You can also search for it manually. Mine is located in C:\Program Files (x86)\National Instruments\LabVIEW 2012\vi.lib\addons\Modulation\Digital\Support\examples