USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

Does LabVIEW support HackRF?

Thanks for the reply, how about both.

0 Kudos
Message 21 of 49
(4,419 Views)

Ok. I also included example for labview x32. But there's a new problem: hackrf.dll which I've sent earlier is too old. So sweep functions wouldn't work with it.

0 Kudos
Message 22 of 49
(4,416 Views)

Just so I'm clear, the x64 has the sweep and the x32 does not, correct?

0 Kudos
Message 23 of 49
(4,413 Views)

Both nethackrf.dll has sweep functions, but to use them you need new libhackrf libraries (hackrf.dll). Both hackrf.dll which I've compiled and sent earlier are too old. You need to compile or find current version of hackrf.dll. Source code to compile hackrf.dll is here https://github.com/mossmann/hackrf/tree/master/host/libhackrf/src but it's easier said than done.

0 Kudos
Message 24 of 49
(4,410 Views)

This is where I get into trouble, I'm a strictly LabVIEW user, so what would I use to compile the dll? I do have the latest PothosSDR libraries, which has a HackRF.dll in it, would that work?

0 Kudos
Message 25 of 49
(4,408 Views)

@Eldueno wrote:

This is where I get into trouble, I'm a strictly LabVIEW user, so what would I use to compile the dll? I do have the latest PothosSDR libraries, which has a HackRF.dll in it, would that work?



Maybe it would work. Try to replace old hackrf.dll and restart labview process. If not, you would get error 1172 because of missed "hackrf_start_rx_sweep" function.


0 Kudos
Message 26 of 49
(4,399 Views)

I get this error...System.BadImageFormatException

Would it be possible for you to recompile your code with the correct hackrf.dll so the sweep function works?

0 Kudos
Message 27 of 49
(4,396 Views)

This error means that you are trying to open x32 library on x64 labview or vice versa. I think I would compile it on this weekend if i'm not busy.

0 Kudos
Message 28 of 49
(4,390 Views)

That would be great, I really appreciate the help.

0 Kudos
Message 29 of 49
(4,387 Views)

I've compiled new libraries. But I still can't debug sweep functions. Now I'm getting HACKRF_ERROR_USB_API_VERSION error. I've tried to update hackrf firmware, but USB API version is still 1.02 while sweep functions require 1.04.

0 Kudos
Message 30 of 49
(4,351 Views)