02-06-2021 01:58 PM
I get the same error message (USBAPI is 1.02 need 1.04). I guess I will try building hackrf firmware from scratch and flashing to see if that fixes. My Cmake skills are bad though
02-06-2021 02:16 PM
I think, this should help. I've just found usb_api_version defined as 1.04 in usb_descriptor.c in master branch.
02-06-2021 02:43 PM
Ha I just saw that and was going to post this
02-06-2021 05:12 PM
well i tried to compile from hackrf firmware from source from master with new USB-API on windows for the last few hrs but hit a road block and am giving up for now.
03-05-2021 03:42 AM - edited 03-05-2021 03:45 AM
Hi, i am using your program in LabView 2020 (64-bit). It runs well, can receive signal. but, whenever i stop the program. I get error System.NullReferenceException. I'd be grateful if you could help me. thanks
03-05-2021 03:56 AM - edited 03-05-2021 03:56 AM
Hi, I've never seen such errors. Does your program close stream and all references before quitting? References to created objects should be closed in reverse order. Also have you tried examples from this thread? Do they throw same errors?
03-05-2021 04:21 AM
i use rx_example.vi and add spectrum.vi to plot the spectrum that HacKRF received. it has closed stream and reference. But, still throw the same error. I attached the program. thank you.
03-05-2021 06:44 AM
Here try this and see if you still are getting the errors.
03-05-2021 08:34 AM
Thank you, i really appriciate it. I still have the same issue. It seems i have problem with USB port on my hackrf. i will try your program with another hackrf. btw, what's the difference sample frequency and count?
03-05-2021 08:54 AM - edited 03-05-2021 08:58 AM
Sample frequency means how many times per second driver would copy readings from ADC to driver memory. "Count" argument of read function means how many readings you want read from driver memory. Sample frequency must be in range from 2 MHz to 20 MHz for hackrf. While "count" can be any number you want. If I get your question right.