- AuthorSearch Results
Found in Replies
mark@edt.com posted on July 28, 2015 at 11:14 am View this postIn reply to: Linux API for USB-TG124A?
mark@edt.comParticipantAndrew, I do have a Windows machine available. Do you provide source code for the Windows API?
Thanks,
MarkFound in Topics
mark@edt.com posted on July 27, 2015 at 3:48 pm View this postTopic: Linux API for USB-TG124A?
in forum TG Series DiscussionsI need to write a cmd-line app to control the USB-TG124A under Linux. Is there an API or example C++ code?
Thanks,
MarkFound in Replies
Andrew posted on July 23, 2015 at 9:14 am View this postIn reply to: Matlab interfacing
AndrewModeratorHello Brainliterral,
Someone here may be able to provide you with some materials to get you going. Signal Hound does not currently have any documentation on interfacing our APIs in Matlab. You will need to learn the API enough to make function calls to it in Matlab. You can find our API manuals in the api/ folder in the installation directory. Matlab provides documentation for calling functions in a DLL.
http://www.mathworks.com/help/matlab/using-c-shared-library-functions-in-matlab-.html
Regards
Found in Topics
Anonymous
Anonymous posted on July 23, 2015 at 1:26 am View this postTopic: Matlab interfacing
in forum SA Series DiscussionsHow to interface SA44B with matlab to get my output plots in matlab, I am pretty basic and totally ignored of API.
need help thanks in advanceFound in Topics
David posted on July 19, 2015 at 12:39 am View this posthi,I config the device as follow:
central frequency=71Mhz;
span=10Mhz;
RBW=VBW=10Khz;
ref level=-30dbm;Now I want to get the power in the frequency of 71Mhz.My codes is as follow:
saConfigCenterSpan(handle, 71.0e6, 10.0e6); saConfigAcquisition(handle, SA_MIN_MAX, SA_LOG_SCALE); saConfigLevel(handle, -30.0);
saConfigSweepCoupling(handle, 10.0e3, 10.0e3, true);
saInitiate(handle, SA_SWEEPING, 0);
int sweepLen;
double startFreq, binSize;
saQuerySweepInfo(handle, &sweepLen, &startFreq, &binSize);
float *min = new float[sweepLen];
float *max = new float[sweepLen];
saGetSweep_32f(handle, min, max);
float power_71M=min[sweepLen/2];But the result is very different from the result of Spike.Why?
Found in Topics
catalin_ro posted on July 8, 2015 at 11:16 pm View this postTopic: Streaming IQ frequency change delay
in forum BB Series DiscussionsHi!
I’m currently integrating a BB60C in our SDR control application. While the API is quite easy to use, based on our previous experience, I would like to know if there is a way of improving the tuning delay when changing the center frequency of the streamed IQ samples. Right now I see delays of almost one second because of the need to re-initiate the device after each frequency command.
Thanks,
CatalinFound in Replies
sarah.b posted on July 2, 2015 at 5:54 am View this postIn reply to: Actively change reference levels in LabView
sarah.bParticipantHello,
I am now trying to make the saGetSerialNumberList function to work in my LabView program. I would like to be able to list the serial numbers of the devices I have plugged in to my computer. At the moment, I have 2 devices. According to the description in the API manual, I’m doing everything right, but I am never seeing a list of serial numbers. I don’t have the get serial number function connected to any of my other functions because it doesn’t appear to require it. I am giving it an 8D array of int 32 and an int 32 for the deviceCount. Both of these inputs have been defined as pointers as specified in the Manual.
Thank you for your help
Found in Topics
jfluxa posted on June 30, 2015 at 6:41 am View this postTopic: 200 kHz block noise
in forum SA Series DiscussionsHi.
We are using a SA44B as a backend in our educational radio telescope interferometer, operating at 1.4 GHz. The SA44B is controlled from a Linux PC, using CUSBSA API and we have found that the spectrum has a noise that has a sinusoid shape, with ~200 kHz between peaks. We first blamed our amplifiers but after testing with a noise generator, we found that it is the SA44 who produces this effect which can be also seen with a 50 ohm load at the input. Funny thing is that we don´t see this when using Spike. We have tried with different BW and FFT values but no change. Any hint on what to do to eliminate the noise? (image attached).
Regards
JuanAttachments:
You must be logged in to view attached files.Found in Topics
sarah.b posted on June 23, 2015 at 7:13 am View this postTopic: Actively change reference levels in LabView
in forum SA Series DiscussionsI am trying to write some API software for the SA44B using LabView. I would like to automate reference level changes so that it can actively change during signal sweeping.
I currently have a loop that collects my sweep information. It outputs this info into a graph, and collects the maximum value. This maximum value is then used with case statements to determine if the reference level should be changed. I’m using the saConfigLevel function to change the reference level. I know the function works because I can set the reference level at the beginning of execution. However, when I use it inside the loop and case statements, it correctly updates the indicator used to see the current reference level, but fails to change the reference level for the device itself.
Any ideas are welcome.
ThanksFound in Replies
Andrew posted on June 16, 2015 at 3:33 pm View this postIn reply to: Matlab API loadlibrary error
AndrewModeratorHello oogieoogieful,
Just to clarify, I though because you were using the SHAPISlowPlot.m file you would be using the and SA44/SA124. I am now under the impression that you have retrofitted it to call the BB60 API instead of the SA API. If you have done that and you have the latest version of the BB60 API then you should be able to simply use the 64-bit BB60 API with your code. We distribute both 32 and 64 bit API builds for then BB60 API. You can find it in typically at C:/ProgramFiles/SignalHound/Spike/api/x64
Regards,
A.J.Found in Replies
oogieoogieful posted on June 16, 2015 at 11:27 am View this postIn reply to: Matlab API loadlibrary error
oogieoogiefulParticipantI am a new developer.
I do have the latest version of Spike installed (3.04 API BB) I have access to a BB series spectrum analyzer, not an SA series.
Here is the documentation I am now working from:
http://www.signalhound.eu/download/BB60-API-Manual.pdf
I’m not sure exactly how this error arises but I believe it is when Matlab creates a thunk file:
A thunk file is a compatibility layer to a 64-bit library generated by MATLAB. The name of the thunk file is BASENAME_thunk_COMPUTER.c where BASENAME is either the name of the shared library or, if specified, the mfilename prototype name. COMPUTER is the string returned by the computer function
I may have access to a 32-bit Matlab soon. Apparently, the 32-bit Matlab does not require a thunk file.
Found in Replies
Andrew posted on June 11, 2015 at 12:17 pm View this postIn reply to: Matlab API loadlibrary error
AndrewModeratorHello oogieoogieful,
Someone else might be able to help you get things working, but our experience is that we have not had a customer be able to utilize our supplied 32-bit Matlab example on a 64-bit version of Matlab. We do not have a version of 64-bit Matlab in our shop and so have been unable to attempt to work through the incompatibilities. It does appear that one would have to go through quite a bit of effort to call a 32-bit DLL from 64-bit Matlab.
If you are interested, we have fully updated our SA device APIs. There are now 32 and 64 bit versions of the API that get installed when you download the latest version of our Spike spectrum analyzer software. http://www.signalhound.com/Spike. We recommend all new developers target these new APIs. They come with documentation as well to get you going. We do not currently provide Matlab interfaces to them, but if you are adept at C/Matlab programming you should be able to find enough information to call our 64-bit DLL from Matlab. The new APIs do have a different interface than the old ones, so there will be a learning curve which may not be acceptable if you are already familiar with the older APIs.
Let me know if you have any follow up questions.
Regards,
A.J.Found in Replies
Andrew posted on June 11, 2015 at 10:36 am View this postIn reply to: Labview drivers for SA44
AndrewModeratorHello Kirbi,
Depending on which sa_api version you are running, real-time functionality has changed recently. You will want to check out the programming manual for your version to find a full C example in the appendix for setting up real-time mode. This should help you set up Labview.
Regards,
A.J.Found in Topics
oogieoogieful posted on June 10, 2015 at 3:17 pm View this postTopic: Matlab API loadlibrary error
in forum BB Series DiscussionsHi,
I am trying to run the SHAPISlowPlot.m in Matlab and I get an error for the loadlibrary() call. Attached is the error message.Does anyone else have experience with this type of error?
After reading the MatlabInstructions.txt file I see that it assumes I am running 32-bit Matlab, I have 64-bit Matlab R2014a.
Also, when I type
>>mex -setup
It appears that my MEX is configured to use Microsoft Visual C++ 2012 instead of Visual C++ 6.0 or 2008.Could my environment be what is causing this error?
Thanks!
Attachments:
You must be logged in to view attached files.Found in Replies
Lior posted on June 10, 2015 at 8:56 am View this postIn reply to: Labview drivers for SA44
LiorParticipantCheck your span and RBW settings. There are limits in RT mode. Also, check the API manual for more information.
Found in Replies
Justin Crooks posted on June 5, 2015 at 10:41 am View this postIn reply to: Labview drivers for SA44
Justin CrooksModeratorBbowar, you can also look at the simple, less functional Labview example in your C:\Program Files\Signal Hound\Spike\api\sa_series\labview folder. It doesn’t have all of the functionality of Lior’s program, but it might be easier to get running if you are experiencing difficulties.
Found in Replies
bbowar posted on June 5, 2015 at 9:45 am View this postIn reply to: Labview drivers for SA44
bbowarParticipantI just took delivery of 3 USB-SA44B signal hounds. I loaded the Spike software and that works fine. I downloaded the LV2013 zip file to try and control the unit using Labview. When I run the test app, I get an error code 13 from the saGetSerialNumberList (Call Library Function Node). I am running 32 bit version of Windows 7 and 32 bit version of Labview 2013. The path where it is looking is \x86\sa_api.dll. I noticed when I double click on the saGetSerialNumberList block, it shows a path to the dll in \x64\sa_api.dll. I tried changing the path there to x86 but I still get error code 13. Any ideas on what else to try?
Found in Replies
Andrew posted on May 22, 2015 at 2:57 pm View this postIn reply to: SA124B Custom Application
AndrewModeratorHello Shapes,
We provide a C# API for the BB60C. You can find the code in the bb_api folder. The BB60C API is very similar to the SA44/124 API so you will be able to easily retrofit it over to the SA124 api.
It is simply a wrapper to our C DLL, it does not include any sort of visual app.
Regards,
A.J.Found in Topics
jgierer8 posted on May 18, 2015 at 6:47 pm View this postTopic: Spike amplitude levels vs. the API functions
in forum General DiscussionsSpike shows a peak measurement of for example +7dbm. The API function returns +3dbm with the amplifier settings the same.
thanks
jimFound in Topics
Lior posted on May 11, 2015 at 6:35 am View this postTopic: Labview drivers for SA44
in forum SA Series DiscussionsHello all,
I wrote some VIs around the SH api, to support both 32 and 64 bit versions of LabView. I hope you will find them useful. It was tested with SA44 on windows 8 64 bit.Attachments:
You must be logged in to view attached files.- AuthorSearch Results