# Some problem for using LimeSuite.dll

**URL:** <https://discourse.myriadrf.org/t/some-problem-for-using-limesuite-dll/5268>\
**Category:** Lime Suite\
**Created:** [18 October 2019 08:01 UTC](https://discourse.myriadrf.org/t/some-problem-for-using-limesuite-dll/5268 "2019-10-18T08:01:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Viczou](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Viczou](https://discourse.myriadrf.org/u/Viczou)\
**Post date:** [18 October 2019 08:01 UTC](https://discourse.myriadrf.org/t/some-problem-for-using-limesuite-dll/5268/1 "2019-10-18T08:01:56Z")

</div>

Now days, I using LimeSuite.dll in my Labview project, but I have a big problem: I can’t get IQ data, all data was 0. I made it according to LMS API Quick start guide Example 1:basic RX. Like this:  
1、LMS\_GetDeviceList  
2、LMS\_Open  
3、LMS\_Init  
4、LMS\_EnableChannel  
5、LMS\_SetLOFrequency  
6、LMS\_SetSampleRate  
7、LMS\_SetTestSignal  
8、LMS\_SetupStream  
9、LMS\_StartStream  
10、LMS\_RecvStream  
11、LMS\_StopStream  
12、LMS\_DestroyStream  
13、LMS\_Close  
each function I test is OK, somebody knows why, pls help, ths.

---

<div class="post-metadata">

**Author:** ![IgnasJ](https://avatars.discourse-cdn.com/v4/letter/i/278dde/32.png) [@IgnasJ](https://discourse.myriadrf.org/u/IgnasJ)\
**Post date:** [18 October 2019 08:44 UTC](https://discourse.myriadrf.org/t/some-problem-for-using-limesuite-dll/5268/2 "2019-10-18T08:44:34Z")

</div>

If you are receiving data from SDR but all of it is zeros, then the first thing I would check would be data formats. If you followed setup from basicRX, then the library returns samples as 16bit integers that are in range [-2048, 2047], so make sure you interpret buffer returned by LMS\_RecvStream() correctly.

---

<div class="post-metadata">

**Author:** ![Viczou](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Viczou](https://discourse.myriadrf.org/u/Viczou)\
**Post date:** [22 October 2019 01:10 UTC](https://discourse.myriadrf.org/t/some-problem-for-using-limesuite-dll/5268/3 "2019-10-22T01:10:55Z")

</div>

Hi, IgnasJ, very kind of you. According to you advise, I got IQ data yesterday. But I have another problem, hope your help, thank you.

1. My IQ data is OK?  
2.How to translate IQ data to spectrum?  
IQ data as follow:  
I data:  
16663 392 418 -32275 -32489 390 -15966 492 16663 392 418 -32275 -32489 390 -15966 492 16663 392 418 -32275 -32489 390 -15966 492 16663 392 418 -32275 -32489 390 -15966 492 16663 392 418 -32275 -32489 390 -15966 492 16663 392 418 -32275 -32489 390 -15966 492 16663 392…  
Q data:  
-15966 492 16663 392 418 -32275 -32489 390 -15966 492 16663 392 418 -32275 -32489 390 -15966 492 16663 392 418 -32275 -32489 390 -15966 492 16663 392 …

---

<div class="post-metadata">

**Author:** ![IgnasJ](https://avatars.discourse-cdn.com/v4/letter/i/278dde/32.png) [@IgnasJ](https://discourse.myriadrf.org/u/IgnasJ)\
**Post date:** [23 October 2019 11:57 UTC](https://discourse.myriadrf.org/t/some-problem-for-using-limesuite-dll/5268/4 "2019-10-23T11:57:35Z")

</div>

1. The IQ data looks OK. There are 8 constellation points like it should be for LMS\_TESTSIG\_NCODIV8.
2. To convert time samples (IQ) to spectrum, you need to perform Fourier transform. You can find many FFT / DFT examples and libraries by googling.

---

<div class="post-metadata">

**Author:** ![Viczou](https://avatars.discourse-cdn.com/v4/letter/v/e36b37/32.png) [@Viczou](https://discourse.myriadrf.org/u/Viczou)\
**Post date:** [28 October 2019 03:58 UTC](https://discourse.myriadrf.org/t/some-problem-for-using-limesuite-dll/5268/5 "2019-10-28T03:58:03Z")

</div>

Hi IgnasJ,  
when I use LimeSuite.dll in Labview, my Labview is usually Crashed.
