# X300, PCIe, Windows 7

**URL:** <https://www.ruby-forum.com/t/x300-pcie-windows-7/240744>\
**Category:** GNU Radio\
**Created:** [April 28, 2014, 11:33pm UTC](https://www.ruby-forum.com/t/x300-pcie-windows-7/240744 "2014-04-28T23:33:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [April 28, 2014, 11:33pm UTC](https://www.ruby-forum.com/t/x300-pcie-windows-7/240744/1 "2014-04-28T23:33:21Z")

</div>

Hi all,

## I am wondering if someone had success using a X300 on Windows with the PCIe connection. I can see the X300 with uhd\_find\_devices (UHD 3.7.0):

## – UHD Device 0

Device Address:  
type: x300  
addr: 192.168.10.2  
fpga: HGS  
name:  
serial: F4C001  
product: X300

I’m having troubles to use it with my code.

First of all, I would like to know which version and images I should  
use:  
3.7.0 or 3.7.1?  
image .bit or .lvbitx?

Thanks,  
Serge

---

<div class="post-metadata">

**Author:** ![serge\_m](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/e9a140/32.png) [@serge\_m](https://www.ruby-forum.com/u/serge_m)\
**Post date:** [April 29, 2014, 10:09pm UTC](https://www.ruby-forum.com/t/x300-pcie-windows-7/240744/2 "2014-04-29T22:09:36Z")

</div>

Hi all,

I’ve able to understand the problem, so here’s a little info for people  
who might get in the same trouble.

I have used:  
UHD 3.7.1  
FPGA Image: usrp\_x300\_fpga\_HGS.lvbitx

When I used uhd\_usrp\_probe over PCIe, I had the error:  
Could not initialize RIO session. A valid .lvbit x bitfile is required.  
If you are using a valid .lvbitx bitfile, the bitfile may not be  
compatible with the software you are using. (Error code -63101)

I realized that UHD is really looking for the file  
C:\Program Files (x86)\UHD\share\uhd\images\usrp\_x300\_fpga\_HGS.lvbitx

So, uhd\_usrp\_probe started to work correctly over PCIe when I copied the  
.lvbitx file in that location.

Then, I had the same error when running my code.  
I had recompiled uhd.dll in 64-bit, with UHD\_LIB\_DIR defined to  
“C:\program  
Files\UHD”  
So, I realized that this time, my UHD was looking for  
C:\Program Files\UHD\share\uhd\images\usrp\_x300\_fpga\_HGS.lvbitx

So, I copied the file in that location, and my code is now working fine.

Hope this helps!
