How to include own cable in the LCS

Low Cost Spectrum Analyzer PC Software

How to include own cable in the LCS

Postby Moderator » Thursday 28. July 2011, 14:28

The cable.ini file, which you will find in the LCS folder, is used to add own cable damping values and also includes our standard cables (1m, 5m low loss, 10m low loss) which can be used as sample data.

To add own cables you need to know three cable parameter:
1) Cable Start-frequency
2) Cable Stop-frequency
3) Cable Damping values in dB (needs a fix step size e.g. every 10MHz).

A cable data set will look like the following:

Code: Select all
[Test-cable 0,5m 10-220MHz]
Start = 10
End = 220
Step = 10
FrequencyFactor = 1000000
Type = Cable
Step10Factor = -0.231;-0.240;-0.279;-0.306;-0.383;-0.361;-0.391;-0.422;-0.453;-0.476
Step110Factor = -0.506;-0.523;-0.546;-0.567;-0.600;-0.617;-0.631;-0.649;-0.671;-0.688
Step210Factor = -0.506;-0.523

[Testcable 0,5m 10-220MHz] (Name of the cable in []). This will show up later in the LCS as cable name.
Start = 10 (Cable Start frequency in MHz)
End =220 (Cable Stop frequency in MHz)
Step = 10 (Frequency step size of the dB damping values of the following table)
FrequencyFactor = 1000000 (Factor of all frequency values in Hz, in our case 1000000Hz = 1MHz)
Type = Cable (Type of data. In our case its "Cable". Needed for the LCS to identify the data type)
Step10Factor = (Now we have the first 10 dB damping values. Those values must exactly meet the step size (we use 10MHz). So you need to add every 10MHz a new damping value. The damping values are separated by comma. You could also add positive damping values, but this makes physical no big sense.)
Step10Factor means that the start frequency of this first data set is 10MHz.
The next data set Step110Factor starts with 110MHz (the start frequency of the next 10 data sets) etc.
The last data set Step210Factor starts with 210MHz and includes the last two damping values. The last damping value is at the stop frequency 220MHz.
Posts: 1036
Joined: Tuesday 20. April 2010, 13:24
Location: Aaronia AG

Return to LCS

Who is online

Users browsing this forum: No registered users and 2 guests