Struct otdrs::types::FixedParametersBlock[][src]

pub struct FixedParametersBlock<'a> {
Show fields pub date_time_stamp: u32, pub units_of_distance: &'a str, pub actual_wavelength: i16, pub acquisition_offset: i32, pub acquisition_offset_distance: i32, pub total_n_pulse_widths_used: i16, pub pulse_widths_used: Vec<i16>, pub data_spacing: Vec<i32>, pub n_data_points_for_pulse_widths_used: Vec<i32>, pub group_index: i32, pub backscatter_coefficient: i16, pub number_of_averages: i32, pub averaging_time: u16, pub acquisition_range: i32, pub acquisition_range_distance: i32, pub front_panel_offset: i32, pub noise_floor_level: u16, pub noise_floor_scale_factor: i16, pub power_offset_first_point: u16, pub loss_threshold: u16, pub reflectance_threshold: u16, pub end_of_fibre_threshold: u16, pub trace_type: &'a str, pub window_coordinate_1: i32, pub window_coordinate_2: i32, pub window_coordinate_3: i32, pub window_coordinate_4: i32,
}
Expand description

Fixed parameters block contains key information for interpreting the test data

Fields

date_time_stamp: u32

Datestamp - unix epoch seconds, 32-bit. Remember not to do any OTDR tests after 2038.

units_of_distance: &'a str

Units of distance - km, mt, ft, kf, mi, etc. Typically mt (in civilised nations)

actual_wavelength: i16

Actual wavelength used - normally the factory-calibrated wavelength in nm, or nominal wavelength

acquisition_offset: i32

Acquisition offset - this is the length of fibre from the OTDR port to the first data point in the DataPoints, in 100ps increments

acquisition_offset_distance: i32

As acquisition_offset, but as 10x units_of_distance

total_n_pulse_widths_used: i16

The total number of pulse widths used, if more than one pulse width’s results are stored in the file

pulse_widths_used: Vec<i16>

The list of pulse widths used, in nanoseconds

data_spacing: Vec<i32>

Data spacing, time taken to acquire 10,000 points in 100ps increments

n_data_points_for_pulse_widths_used: Vec<i32>

Number of points stored for each pulse width

group_index: i32

Group index - the refractive index of the fibre, default to 146800 if nothing supplied

backscatter_coefficient: i16

Backscatter coefficient -

number_of_averages: i32

Number of averages - the number of samples that were averaged to generate the result - may be used instead of averaging time

averaging_time: u16

Averaging time - may be supplied instead of number of averages - in seconds x 10

acquisition_range: i32

Acquisition range set by the tester to reach the end of the fibre - as with other distance measurements, 100ps increments

acquisition_range_distance: i32

Acquisition range in 10x distance units, as an alternate to acquisition_range

front_panel_offset: i32

Front panel offset is the time taken, in 100ps increments, between the front-end of the optical TRX and the front panel connector

noise_floor_level: u16

Noise floor level - the lowest power level for which 98% of the noise data lies below; 5-digit -dB value (e.g. 10200 = -10.2dB)

noise_floor_scale_factor: i16

Scale factor for the noise floor level - defaults to 1

power_offset_first_point: u16

Attenuation in dB*1000 applied by the instrument if done by the instrument

loss_threshold: u16

The threshold in dB*1000 for a loss-type event; default 00200

reflectance_threshold: u16

The threshold in -dB*1000 for reflectance events; default -55000

end_of_fibre_threshold: u16

The threshold in dB*1000 for the loss taken to detect the end of the fibre; default 03000

trace_type: &'a str

Trace type - identifies if this is a standard one-way trace, a bidirectional trace, reference trace, difference trace, or reversed trace

window_coordinate_1: i32

Window coordinate for the upper right window corner

window_coordinate_2: i32

Power coordinate for the upper right window corner

window_coordinate_3: i32

Window coordinate for the lower left window corner

window_coordinate_4: i32

Power coordinate for the lower left window corner

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.