Forum Replies Created
- AuthorPosts
- January 3, 2018 at 3:57 am in reply to: BB60C "Device Connection Issues Detected" Error in IQ Streaming #157611
blackmore90
ParticipantHi Andrew,
Here is the make and model of my server:SuperMicro SuperServer 6028UX-TR4
Thank you.
December 27, 2017 at 3:12 am in reply to: BB60C "Device Connection Issues Detected" Error in IQ Streaming #157596blackmore90
ParticipantHi Andrew, sorry for the very late response
Actually, I have tried the above steps but none of them did work for me. I still get random idle issue while working with the device.Thank you,
Serhat- This reply was modified 8 years, 9 months ago by
blackmore90.
blackmore90
ParticipantAndrew thank you very much, i have placed a sleep for 1 seconds and now the load is reduced to 6% on i7 and 30% on atom on average, significant downgrade.
blackmore90
ParticipantUpdate: I have run the project and the test applications on a laptop with intel atom cpu. It starts with 90% load and decreases gradually with time. About 10 minutes later it drops to about 30% but i get sweep data with very high latency after that time. Seems like Atom CPU cannot process the sweep data fast enough.
blackmore90
ParticipantThank you very much for your fast response Andrew.
I have decided to minimize the test complexity to eliminate potential effects of other sub-projects. I have created the following very simple CPP code:
#include <iostream>
#include “bb_api.h”int main()
{
int handle = 0;
bbStatus openStatus = bbOpenDevice(&handle);
bbConfigureAcquisition(handle, BB_AVERAGE, BB_LOG_SCALE);
bbConfigureCenterSpan(handle, 3.000005e9, 5.999991e9);
bbConfigureLevel(handle, -30, BB_AUTO_ATTEN);
bbConfigureGain(handle, BB_AUTO_GAIN);
bbConfigureSweepCoupling(handle, 5e3, 5e3, 1e-3, BB_RBW_SHAPE_FLATTOP, BB_NO_SPUR_REJECT);
bbConfigureProcUnits(handle, BB_POWER);
bbStatus initStatus = bbInitiate(handle, BB_SWEEPING, 0);
unsigned int sweepsize;
double binsize, startfreq;
bbQueryTraceInfo(handle, &sweepsize, &binsize, &startfreq);
float *min_swp = new float[sweepsize];
float *max_swp = new float[sweepsize];
for(int i = 0; i<1e6; i++){
bbStatus swpStatus = bbFetchTrace_32f(handle, sweepsize, min_swp, max_swp);
}
return 0;
}It results in about 18% CPU usage on my ASUS laptop. The system has i7-4700hq CPU, 16GB of RAM and the BB60C is connected to USB 3.0 port. Configuration is x64. This code uses about 8 threads and I have attached the thread display if you would like to check.
Actually, I am planning to port the code to another computer which will have Intel Atom series processor. My project will likely result in a huge CPU load on that PC.
Does that test really make sense in roughly measuring the CPU load?
Thank you.
Attachments:
You must be logged in to view attached files.blackmore90
ParticipantThank you very much Andrew, now i can get the correct timestamp values.
- This reply was modified 8 years, 9 months ago by
- AuthorPosts
