Agilent Technologies 86082A User Manual page 207

Wavelength domain component analyzer
Table of Contents

Advertisement

Remote Operation
WDCA Techniques to Improve Throughput
One of the biggest challenges to transferring binary data on a Windows plat-
form is the necessity to swap the byte order. For a 32 bit floating point num-
ber, you have 4 bytes. If we number them 0, 1, 2, and 3, we need to swap 0 and
3 and then swap 1 and 2. The C algorithm below does this:
int cnt;
char tempByte;
char *traceBytes;
// allocate buffer and transfer trace into traceBytes
for (cnt=0;cnt<numBytes;cnt+=4)
{
// swap bytes 3 and 0
tempByte
traceBytes[cnt] = traceBytes[cnt + 3];
traceBytes[cnt+3] = tempByte;
// swap bytes 2 and 1
tempByte
traceBytes[cnt+1] = traceBytes[cnt+2];
traceBytes[cnt+2] = tempByte;
}
Optimize Sensitivity, Sweep Mode, and Wavelength Span
Sensitivity is the smallest detectable signal relative to the top of the display.
As sensitivity increases so does the sweep time. Therefore, use the minimum
sensitivity that allows you to discern the signals in your measurement. Using
auto sensitivity optimizes the sensitivity setting allowing for the fastest sweep
time for the selected instrument mode. If your test application can tolerate
slightly higher amplitude and wavelength uncertainty, try using Fast Sweep
mode instead of Precision or Normal Sweep modes. The wavelength span also
affects sweep time, the greater the span the longer the sweep time.
5-32
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
= traceBytes[cnt];
= traceBytes[cnt+1];

Advertisement

Table of Contents
loading

Table of Contents