- AuthorSearch Results
Found in Replies

Andrew posted on August 7, 2019 at 9:18 am View this postIn reply to: Understanding SA44B Limitations – Windows/Linux/ARM

AndrewModeratorHello,
As you’ve noticed, the SA44B ARM packages in the SDK are located in the “obsolete” folder. This is because we have obsoleted/deprecated these versions of our APIs and no longer support them. We recommend Windows only due to the limitations which you can read about in this thread.
Regards,
AndrewFound in Replies
LVXICHEN posted on August 6, 2019 at 8:07 pm View this postIn reply to: Understanding SA44B Limitations – Windows/Linux/ARM
LVXICHENParticipantHello,I want to connect with SA44b on the ARM Cortex-A8 hardware platform, and get the transmitting power and frequency of wireless devices through API interface function,Can I use it this way? Are the packages of”arm_sa44B_api.zip” provided on your website fully tested and ready to use?
The File of “arm_sa44B_api.zip”is Under “Signal_hound_sdk_07_15_19-SDK” Software Development Suite Compression PackageFound in Replies

Andrew posted on July 30, 2019 at 7:20 am View this postIn reply to: Use Raspberry PI 4 (ARM CPU)

AndrewModeratorOur APIs are not open source. Additionally, the FTDI library is only used in the BB60 API for the tracking generation compatibility. The BB60C itself uses libusb for USB 3.0 communication. The BB60C has a complex and proprietary protocol that we do not publish.
Regards,
AndrewFound in Replies
asvol posted on July 29, 2019 at 11:22 pm View this postIn reply to: Use Raspberry PI 4 (ARM CPU)
asvolParticipantThank for your answer. May be you can give us source code bb_api library. We can try to compile your library for ARM. Or maybe you can explain how to get raw IQ data from device throug ftdi without using your library. We use your device for fly on drones and we didn’t want use x86 compatible PC, because it’s too greedy for power.
Found in Topics
asvol posted on July 27, 2019 at 6:07 am View this postTopic: Use Raspberry PI 4 (ARM CPU)
in forum BB Series DiscussionsHello.
We have device BB60C Spectrum analzer and we want use it with Raspberry PI 4 with ARM CPU arhitecture. Can you build libbb_api.so and libftd2xx.so files for this platform.Found in Replies
- This reply was modified 6 years, 10 months ago by
Gary.

Gary posted on July 26, 2019 at 4:47 pm View this post
GaryParticipantUPDATE: SUCCESS! Turned out I needed to load “swig” (available in Software Manager). Once I did that, then went through the process from “cmake ..” on down, I opened GRC, ran the flowgraph, and it worked!
Once I summarize my notes (they’re, uh, kinda messy), I’ll post another thread explaining how I did it.
Thanks, again!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Long story short: I had tried to install Gnu Radio from source and with Pybombs, both of which gave me more errors than did the BB60C “cmake..” command. I followed your links and the answer was to install “gnuradio-dev”.
However, even with that, I kept getting:/sbin/ldconfig.real: /usr/local/lib/libftd2xx.so is not a symbolic link /sbin/ldconfig.real: /usr/local/lib/libbb_api.so.4 is not a symbolic linkafter the “sudo ldconfig” command.
I thought it might still work, so I opened Gnu Radio Companion and added the “BB60C: IQ Source”. However, when I attempted to run the simple flowgraph (it was simply attached to a frequency sink to look at the spectrum), I got the following errors in GRC:
Generating: '/home/gary/gnuradio/bb60SpectrumAnalyzer.py' >>> Warning: This flow graph may not have flow control: no audio or RF hardware blocks found. Add a Misc->Throttle block to your flow graph to avoid CPU congestion. Executing: /usr/bin/python -u /home/gary/gnuradio/bb60SpectrumAnalyzer.py Warning: failed to XInitThreads() qt5ct: using qt5ct plugin Traceback (most recent call last): File "/home/gary/gnuradio/bb60SpectrumAnalyzer.py", line 156, in <module> main() File "/home/gary/gnuradio/bb60SpectrumAnalyzer.py", line 144, in main tb = top_block_cls() File "/home/gary/gnuradio/bb60SpectrumAnalyzer.py", line 116, in __init__ self.bb60c_source_0 = bb60c.source(1e9, -20, -1, -1, 2, samp_rate, False, False, 0, 0) AttributeError: 'module' object has no attribute 'source' inotify_add_watch("/home/gary/.config/qt5ct") failed: "No such file or directory"I don’t know if those two issues are related.
Thank you for the help. I think I’m pretty close to making this work. Once I do, I’ll do a short write-up explaining to others how I got it to work in Mint 19.1.
Found in Topics
matt_dale posted on July 2, 2019 at 11:44 am View this postTopic: API saGetSweep value units
in forum SA Series DiscussionsHello,
I’m working with a SA44B using the API in Python. I’m able to utilize the API just as I would have anticipated.
The issue I’m having is that the “min” and “max” arrays values don’t correspond to dBm as I would have suspected. The values do follow the level as expected, but not the values. An example is attached.Is there a function to convert these values to dBm?
Perhaps it has to do with the way that I instantiate the two arrays? This is the code I’m using to create the min/max arrays before calling the saGetSweep method, where swlen is the length of the sweeppyarr = [x for x in range(swlen.value)] arr = (ct.c_int * len(pyarr))(*pyarr) arr2 = (ct.c_int * len(pyarr))(*pyarr) min_pointer = ct.pointer(arr) max_pointer = ct.pointer(arr2) res = self.sa.saGetSweep_32f(self.deviceHandle, min_pointer, max_pointer)Attachments:
You must be logged in to view attached files.Found in Replies

Andrew posted on June 23, 2019 at 6:55 pm View this postIn reply to: Connect BB60C with Rapsberry Pi 3 B+

AndrewModeratorHello Jolugome,
The BB60C is not compatible with the RPi. It is only compatible with x86 systems (Linux (API only) or Windows). We had support for running the SA44 on the RPi2 in the past, but no longer support this API due to USB throughput limitations.
Regards,
AndrewFound in Replies
tuantuanlee posted on June 20, 2019 at 10:49 pm View this postIn reply to: About API(bbFetchAudio)
tuantuanleeParticipantIs there any special processing for 4096 32-bit floating point data before play it by the Windows waveout API?
Found in Replies
tuantuanlee posted on June 19, 2019 at 7:32 pm View this postIn reply to: About API(bbFetchAudio)
tuantuanleeParticipantThanks!
I have called the Windows waveout API.
My program can play the audio file recorded by Spike now.
But,it can’t play the audio data retrieved by bbFetchAudio.Found in Replies

Andrew posted on June 19, 2019 at 9:31 am View this postIn reply to: About API(bbFetchAudio)

AndrewModeratorHello tuantuanlee,
You will need to use some sort of system audio API to play sound. We use the Windows waveout API in Spike to play audio, but there are many options.
Regards,
AndrewFound in Topics
- This topic was modified 6 years, 11 months ago by
tuantuanlee.
tuantuanlee posted on June 19, 2019 at 3:48 am View this postTopic: About API(bbFetchAudio)
in forum BB Series DiscussionsI have retrieved 4096 32-bit floating point data by calling bbFetchAudio(FM mode), but i don’t know how to play the audio data in my program.
Found in Replies

Andrew posted on April 25, 2019 at 1:53 pm View this postIn reply to: SM200A Needs

AndrewModeratorTo ensure the least amount of data loss over USB elevating the thread priority is the best(only?) way we have found to do this. As far as I know root privilege is required for this on Linux (not the case on Windows).
With multiple devices actively making measurements, you will experience data loss if this isn’t done.
I had another customer do a bit of testing with niceness levels and it never resulted in an adequate solution. (His processing would still swamp the CPU and cause data loss events while I/Q streaming despite using niceness levels and despite pulling his processing out into separate processes.)
Below is the snippet we use to do this. You are free to play around and determine if one of your solutions will work. The result of the pthread_setschedparam() will indicate when it fails due to privilege issues. We don’t push this status back out to the user, but I have a request to in a future update. That way the user can ensure the API is setting the proper priority. The API doesn’t check (or care) if it fails at the moment.
void ElevateThreadPriority(std::thread &t)
{
pthread_t this_thread = (pthread_t)t.native_handle();struct sched_param params;
int tp = 10;
params.sched_priority = tp;int res = pthread_setschedparam(this_thread, SCHED_FIFO, ¶ms);
}Found in Replies
- This reply was modified 7 years, 1 month ago by
kaiser.
kaiser posted on April 25, 2019 at 7:53 am View this postIn reply to: SM200A Needs
kaiserParticipantThanks Andrew. I’m running through what you mentioned in the Appendix of the latest API and it’s all making sense.
However, my customer’s policy is that we can’t run processes on our delivered hardware as root. Too much of a security concern there; they want scoped permissions. So I gotta get a way around that (or just use Windows, which is fine, they just prefer Linux). I can see a couple of potential ways to script this without having to run as root. Can you let me know what you think and/or test a couple of these options?
1. Add the nice command to thesudoers file with NOPASSWD. I’ve already done this for system shutdown / restart so that my application (user) can run the command to shutdown the system while not being root. Would adding the “nice” command to not require a password, and then running my application with something like a nice level of -20 (normally requires root, max priority level) result in effectively the same performance as running while root?
2. Adjust the limits.conf file and allow the user to launch applications with a higher than typical priority. Would be very similar to #1 I think, but would I think allow the pthread to get it directly without having to alter how you run the program.
3. Launch a setcap() with root during startup to allow the process itself to run at higher priority (might run into issues where just the main process / thread has high priority, but spawned processes or threads don’t? Haven’t ever used this capability so I’m not sure of any pitfalls).
Thoughts?
Found in Replies
- This reply was modified 7 years, 1 month ago by
Andrew.

Andrew posted on April 24, 2019 at 11:17 am View this postIn reply to: SM200A Needs

AndrewModeratorKaiser,
We have several customers running multiple SM200s on a single PC. I’m aware of one customer running 4 SM’s streaming I/Q.
You are correct in that the biggest issue is generally USB throughput, but we have found that 2 SM’s will run just fine on a single PC (higher end desktop). You only really need to consider USB adapter cards above 2 SM’s.
If you are on Windows, everything should just work out of the box. If you are on Linux, take a look at the appendix in the latest API manual. I have some notes for multi-unit use on Linux.
How much processing power you need it really going to be dependent on what type of processing you add to the system. A standard 4 core PC will run 2 SM’s if you did not perform any processing.
Regards
Found in Replies

Andrew posted on April 16, 2019 at 9:53 am View this postIn reply to: How can I get receiver power with Visual Studio

AndrewModeratorHello,
We don’t have a function in the API that directly provides you the measurements that the “Measuring Receiver” does from Spike. I can tell you the general idea behind the it though.
You could reproduce it with the API by using basic sweep functionality with the flat-top window (default) and finding the peak value in the sweep. Reference level would then be used to adjust the sensitivity of the receiver as you adjust your input level to the receiver. You would want to measure the offset before and after a ref level change and include that offset in your final calculation.
A lower RBW on the sweep would get you finer frequency resolution if needed.
Let us know if you have additional questions.
RegardsFound in Topics
Anonymous
Anonymous posted on April 16, 2019 at 7:07 am View this postTopic: How can I get receiver power with Visual Studio
in forum SA Series DiscussionsIt seems like that is not too difficult to get receiver power for the measurement receiver of SA44B with Visual Studio. But I can’t figure it out how to use API function for Signalhound devices. Maybe someone can help me with an example of Visual Studio code which can work with some Signalhound’s API functions?
Found in Replies

Andrew posted on March 28, 2019 at 8:29 am View this postIn reply to: Api can use in Linux ?

AndrewModeratorWe do not have plans to develop a Linux API for the VSG25A at this point.
Regards
Found in Replies
firatcnur posted on March 26, 2019 at 4:22 pm View this postIn reply to: Api can use in Linux ?
firatcnurParticipantDo you have a shared object I could utilize in Linux to call APIs?
There are shared objects for the other signal hound product ranges, however, I did not come across one for vsg25 ( might be looking at the wrong places ….).
Regards
Found in Replies

Andrew posted on March 15, 2019 at 8:33 am View this postIn reply to: Queued Sweep Synchronizations

AndrewModeratorKaiser,
For normal sweep speed, (via the smSetSweepSpeed function) the resolution on which we can change the GPIO output is multiples of 39.0625 MHz. (N * 39.0625 MHz) If you are using the fast sweep speed, that number is 156.25 MHz but can be offset by a multiple of 39.0625 MHz. (N * 156.25M + 39.0625M * [0,1,2,3 depending on factors]) If you use the same sweep settings, the API will be consistent about what LO steps it changes the GPIO on.
I believe the logic is, that if your GPIO freq exceeds the freq calculated from the equations above, then we perform the switch. If you use these multiples directly, pick a number slightly higher to force the switch.
It sounds like you just need to nail this down for just a couple sweep configurations? This should be enough information for you to start adjusting the frequency on the GPIO steps and choosing the best values for your sweeps?
Regards,
Andrew- This reply was modified 6 years, 10 months ago by
- AuthorSearch Results
