diff --git a/README.md b/README.md index dc36a9a4..c865295a 100644 --- a/README.md +++ b/README.md @@ -162,12 +162,14 @@ Captured on a ZT703S running OpenOSC. The Bode screens replay a recorded twin-T **Oscilloscope** -- Two channels, 20 mV/div to 10 V/div, timebase from 10 ns/div to 20 s/div +- Two channels, 20 mV/div to 10 V/div, timebase from 10 ns/div to 1 h/div (10 hours on screen). + Past 20 s/div the capture runs in Roll with the trigger in Auto, sampling as at 20 s/div: each point + shown is the mean of the samples it spans - Trigger modes Auto, Normal and Single, with adjustable pre/post-trigger position and Center trigger. Tap **F3** to select Trigger and use Left/Right to adjust pretrigger. Tap **F3** again to cycle modes. The Trigger menu supports Edge, Pulse width, Runt, Rise/fall time and Video (PAL/SECAM and NTSC sync). [Trigger setup](docs/SCOPE_TRIGGERS.md) Hold **F3** to set the trigger level to the signal midpoint and pretrigger to 50%. Pan with **F2** -- Continuous Roll mode for slow timebases (200 ms/div and slower) +- Continuous Roll mode for slow timebases (200 ms/div and slower, always past 20 s/div) - Enable addition or subtraction under **Analyze → Display → View → MATH**. With both inputs enabled, tap **F1** or **F2** to cycle through CH1, CH2 and MATH. On F1, Up/Down steps through the same V/div presets as the input channels, with extra steps for digital zoom. The scale uses the probe ratio of the @@ -179,6 +181,15 @@ Captured on a ZT703S running OpenOSC. The Bode screens replay a recorded twin-T of that budget, for example as DMA headroom at the fastest sample rates. The prefix depends on the plan only, so it stays steady while the settings stay the same. **Analyze → Acquisition → Captured** shows the exact number of points per channel in the displayed record. +- The multimeter as a third channel beside CH1 and CH2 (**Channel → Channel → DMM**: **Enabled** and + **Function**), measured at the multimeter's own inputs: its line at every timebase in its own color + (**Analyze → Colors**), with its zero tag, from where the record starts. At slow timebases each point + of the line is the mean of every reading it spans. **F1**/**F2** select it after the channels; + Up/Down then set its units/div and its position, and **MENU** opens its channel menu. **AUTO** also + sets its units/div to fit the readings on screen; with the DMM alone, only that. Its readouts + (mean, min, max, peak to peak, RMS) have a footer page of their own, or the panel of a channel that + is off, and level cursors can measure it in its units. With the DMM on, CH1 and CH2 can both be off: + the DMM takes the plot and the whole footer, on the time axis of the last channel, kept hidden - In the default **Quick** profile, tap **AUTO** to start Auto Setup or cancel it in progress. Hold **AUTO** for 2 s in Y-T to open **Zoom & Pan**. Up/Down zoom the view, Left/Right pan, and **F4** returns to the previous card. The **Classic** profile uses a tap to reset pan and a hold to @@ -253,8 +264,9 @@ Captured on a ZT703S running OpenOSC. The Bode screens replay a recorded twin-T and profile. The ZT703S defaults to Off and the ZT706S to Auto (the stock rule) - Save waveforms to `/openosc/CAPTURES` from **Analyze** with **Save waveform CSV.gz** or **Save waveform RAW.gz**. Both use streaming gzip compression. Decompress the file on a - computer to recover the CSV or RAW data. OpenOSC checks free space as it writes compressed - bytes and removes the temporary file if the save runs out of space. + computer to recover the CSV or RAW data. With the DMM channel on, the CSV.gz also has its + readings in a `dmm` column. OpenOSC checks free space as it writes compressed bytes and removes + the temporary file if the save runs out of space. - **Settings → Files & USB → Waveforms** lists the saved waveforms with their sizes. F3 deletes the selected file after a confirmation. **Clear waveforms** deletes every waveform after a confirmation, and F4 stops it part way. Both cover files in `/openosc/CAPTURES` ending in @@ -340,6 +352,10 @@ Captured on a ZT703S running OpenOSC. The Bode screens replay a recorded twin-T press. `AUTO` on the multimeter screen acts from 52 ms held. As on the panel, `REL` held longer than **Settings → Device → Power → Power-off hold**, counted from the start of the press, powers the device off, and `MODE` switching the instrument mode reconnects USB, so the reply is lost +- `DISPlay:TEXT ""` shows a message in a box over any screen until a key is pressed (that + press does nothing else), `DISPlay:TEXT:CLEar` or the next message; `DISPlay:TEXT?` returns the + text on show, or `""`. The text is printable ASCII. On a dark screen the first key only wakes it; + REL/Power held still powers off, the message staying - USB Remote mode: the PC controls the device while the screen keeps showing live data - USB data works only in the 200/100 performance profile. Connect directly to a PC port: disconnects are known, especially through USB hubs. diff --git a/docs/SCOPE_TRIGGERS.md b/docs/SCOPE_TRIGGERS.md index 92cec348..f94f0514 100644 --- a/docs/SCOPE_TRIGGERS.md +++ b/docs/SCOPE_TRIGGERS.md @@ -51,8 +51,9 @@ record. Lines in the vertical interval before the broad pulses count from the pr Normal and Single re-arm after a rejected candidate. Single holds the first qualified record or an explicitly forced capture. Auto can still display an untriggered record after its wait budget, which -follows the record duration with a 20 ms minimum and a 1 s maximum. At slow timebases, the qualified -types use finite records. Roll is available with Edge. +follows the record duration with a 20 ms minimum and a 1 s maximum. At slow timebases up to 20 s/div, +the qualified types use finite records, and Roll is available with Edge. Past 20 s/div the capture +only rolls: a qualified type is kept and applies again at 20 s/div or faster. OpenOSC qualifies these events in the ADC samples around a comparator crossing or in a timed video window. The entire pulse or transition and the samples needed for noise rejection must fit in the buffered record. A longer diff --git a/include/openosc/acquisition/readouts.hpp b/include/openosc/acquisition/readouts.hpp index 6134d503..9f562b73 100644 --- a/include/openosc/acquisition/readouts.hpp +++ b/include/openosc/acquisition/readouts.hpp @@ -51,6 +51,27 @@ struct ReadoutSelection { } }; static_assert(sizeof(ReadoutSelection)==36, "ReadoutSelection keeps its size (GitHub #171's flag in its padding)"); +// The Scope's DMM trace's readouts (plot::MeterReadouts): of its readings over the visible window, +// whatever the basis; only Kinds. Beside ReadoutSelection, not in it: the scheduler never computes +// them, and ReadoutSelection has no byte to spare. +struct MeterReadoutSelection { + static constexpr Measurement Kinds[]={Measurement::Off,Measurement::Mean,Measurement::Minimum,Measurement::Maximum, + Measurement::PeakToPeak,Measurement::Rms}; + static constexpr bool kind(unsigned value) { + for (auto k : Kinds) if (value==unsigned(k)) return true; + return false; + } + uint8_t values[ReadoutSelection::PerChannel]={uint8_t(Measurement::Mean),uint8_t(Measurement::PeakToPeak), + uint8_t(Measurement::Minimum),uint8_t(Measurement::Maximum)}; + bool valid() const { + for (auto value : values) if (!kind(value)) return false; + return true; + } + bool same(const MeterReadoutSelection &b) const { + for (unsigned i=0;i=200000000 && trigger.mode==scope::TriggerMode::Auto && !trigger.qualified(); } + // Roll: Auto from 200 ms/div with rollAuto, and always past Timebases::SampledMaximum (averaged Roll). + // Up to it, a qualified trigger needs a bounded record with the history around its candidate. + bool rolling() const { + return trigger.mode==scope::TriggerMode::Auto && (timebaseNs>scope::Timebases::SampledMaximum || + (rollAuto && timebaseNs>=200000000 && !trigger.qualified())); + } + // Past Timebases::SampledMaximum the scope only rolls: a trigger mode asked for there is Auto (every + // caller through ApplicationController::applyScope, the saved settings as they load; DataAccess + // refuses any other). True when it changed the mode. + bool followTimebase() { + if (timebaseNs<=scope::Timebases::SampledMaximum || trigger.mode==scope::TriggerMode::Auto) return false; + trigger.mode=scope::TriggerMode::Auto; + return true; + } unsigned channels() const { return scope::RecordBudget::channels(frontend.enabled[0], frontend.enabled[1]); } uint32_t depth() const { return scope::RecordBudget::perChannel(recordPoints, channels()); } // Points per channel. // At a fixed timebase, depth beyond the default budget can extend the captured time. diff --git a/include/openosc/acquisition/rolling.hpp b/include/openosc/acquisition/rolling.hpp index 9625b93d..e1f21ec9 100644 --- a/include/openosc/acquisition/rolling.hpp +++ b/include/openosc/acquisition/rolling.hpp @@ -2,6 +2,10 @@ #include "openosc/acquisition/frame.hpp" namespace openosc::scope { +// Roll's history: the frames' points in order, CH1 in the low byte of a word and CH2 in the high one. +// Averaged (Timebases::averaging past its SampledMaximum), a stored point is the mean of `averaging` +// consecutive points of the frames, its codes rounded half away from zero; the sums run on across +// frames, and the snapshot's points are at that rate, each at the middle of the points it averages. class RollingBuffer { public: explicit RollingBuffer(uint16_t *storage, size_t capacity) : storage_(storage), capacity_(capacity), limit_(capacity) {} @@ -10,15 +14,16 @@ class RollingBuffer { FrameView snapshot() const; size_t size() const { return size_; } size_t capacity() const { return capacity_; } - bool reset(size_t capacity) { - if (!capacity || capacity>65536 || capacity>limit_) return false; - capacity_=capacity; reset(); return true; + bool reset(size_t capacity, uint32_t averaging = 1) { + if (!capacity || capacity>65536 || capacity>limit_ || !averaging) return false; + capacity_=capacity; averaging_=averaging; reset(); return true; } uint64_t dropped() const { return dropped_; } void reset() { cursor_ = size_ = 0; dropped_ = 0; continuous_ = false; + pending_ = 0; sums_[0] = sums_[1] = 0; } private: @@ -27,6 +32,8 @@ class RollingBuffer { uint64_t dropped_ = 0; FrameMetadata metadata_; uint64_t nextTimestampUs_ = 0; + uint32_t averaging_ = 1, pending_ = 0; // Points per stored point; points in sums_ not yet stored. + int32_t sums_[2] = {}; bool continuous_ = false; }; } // namespace openosc::scope diff --git a/include/openosc/acquisition/sample_plan.hpp b/include/openosc/acquisition/sample_plan.hpp index e93bf9b5..7530b970 100644 --- a/include/openosc/acquisition/sample_plan.hpp +++ b/include/openosc/acquisition/sample_plan.hpp @@ -3,6 +3,7 @@ #include "openosc/acquisition/analysis.hpp" #include "openosc/acquisition/record_depths.hpp" #include "openosc/acquisition/arena.hpp" +#include "openosc/acquisition/timebases.hpp" #include #include @@ -37,7 +38,7 @@ struct SamplePlan { uint32_t headroom = FullSpeedHeadroom, uint32_t pointsPerTransfer = 1, uint32_t windowPoints = 0, uint32_t videoSearchMs = 0, uint32_t videoMinimumDepth = 0) { const uint32_t granule = 4 * pointsPerTransfer; - if (timebaseNs < 10 || timebaseNs > 20000000000ULL || !RecordDepth::valid(depth) || ringPoints < depth || + if (timebaseNs < 10 || timebaseNs > Timebases::SampledMaximum || !RecordDepth::valid(depth) || ringPoints < depth || !maximumRate || maximumRate > MaximumSampleRate || (pointsPerTransfer != 1 && pointsPerTransfer != 2) || depth % granule) return false; const uint64_t pointRate = uint64_t(maximumRate) * pointsPerTransfer; diff --git a/include/openosc/acquisition/spectrum.hpp b/include/openosc/acquisition/spectrum.hpp index d522b36b..763ce188 100644 --- a/include/openosc/acquisition/spectrum.hpp +++ b/include/openosc/acquisition/spectrum.hpp @@ -28,7 +28,13 @@ struct SpectrumStorage { // Exactly 2048 points: the one CMSIS-DSP real FFT length whose tables are linked. static constexpr unsigned Capacity=2048, MinimumCount=Capacity; // real: the windowed input (the FFT works in place on it); imaginary: the packed FFT output. - float real[Capacity],imaginary[Capacity],weights[Capacity],amplitude[Capacity/2+1]; + struct Work { float real[Capacity],imaginary[Capacity]; }; + // Work's raw bytes. They hold nothing between calculations, so the scope's software Glow + // draws in them too: a spectrum is never computed during a draw (calculate() runs from + // Model::project, outside the LVGL draw callbacks). Each use begins its own object here + // with placement new and never reads what the other left. + alignas(Work) unsigned char work[sizeof(Work)]; + float weights[Capacity],amplitude[Capacity/2+1]; SpectrumResult result; unsigned windowCount=0; SpectrumWindow cachedWindow=SpectrumWindow::Rectangular; @@ -40,6 +46,6 @@ class Spectrum { static bool calculate(SpectrumStorage &,const FrameView &,const SpectrumOptions &); private: static void window(SpectrumStorage &,unsigned,SpectrumWindow); - static bool transform(SpectrumStorage &,unsigned); + static bool transform(SpectrumStorage::Work &,unsigned); }; } // namespace openosc::scope diff --git a/include/openosc/acquisition/timebases.hpp b/include/openosc/acquisition/timebases.hpp index b227a099..115739da 100644 --- a/include/openosc/acquisition/timebases.hpp +++ b/include/openosc/acquisition/timebases.hpp @@ -3,12 +3,22 @@ namespace openosc::scope { struct Timebases { - // Nanoseconds/division; 64 bits are required for 5/10/20 s/div. + // The slowest timebase the ADC is clocked for. Slower ones (to Maximum) Roll only: the ADC keeps + // this one's sample plan and Roll stores the mean of averaging() consecutive points as one. + static constexpr uint64_t SampledMaximum = 20000000000ULL, Maximum = 3600000000000ULL; + // Nanoseconds/division; 64 bits are required for 5 s/div and slower. Past SampledMaximum each value + // is a whole multiple of it, so its averaged points are exactly a tenth of a division apart in time. static constexpr uint64_t Values[] = {10, 25, 50, 100, 250, 500, 1000, 2000, 5000, 10000, 20000, 50000, 100000, 200000, 500000, 1000000, 2000000, 5000000, 10000000, 20000000, 50000000, 100000000, 200000000, 500000000, 1000000000, 2000000000, 5000000000ULL, - 10000000000ULL, 20000000000ULL}; + 10000000000ULL, 20000000000ULL, 60000000000ULL, 120000000000ULL, 300000000000ULL, + 600000000000ULL, 1200000000000ULL, 1800000000000ULL, 3600000000000ULL}; + // ADC points per stored Roll point (1 up to SampledMaximum), and the timebase the ADC is planned for. + static constexpr uint32_t averaging(uint64_t ns) { + return ns > SampledMaximum ? uint32_t((ns + SampledMaximum - 1) / SampledMaximum) : 1U; + } + static constexpr uint64_t sampled(uint64_t ns) { return ns / averaging(ns); } static uint64_t step(uint64_t current, int direction) { if (direction > 0) { for (auto value : Values) if (value > current) return value; } else if (direction < 0) { @@ -23,5 +33,10 @@ struct Timebases { if (ns * ns >= double(Values[i - 1]) * double(Values[i])) best = Values[i]; return best; } + static constexpr bool exact() { + for (auto value : Values) if (value > SampledMaximum && value % SampledMaximum) return false; + return Values[sizeof Values / sizeof *Values - 1] == Maximum; + } }; +static_assert(Timebases::exact(), "Averaged timebases are whole multiples of the sampled maximum, the last one Maximum"); } // namespace openosc::scope diff --git a/include/openosc/application/controller.hpp b/include/openosc/application/controller.hpp index 7e458c7e..d83c1b82 100644 --- a/include/openosc/application/controller.hpp +++ b/include/openosc/application/controller.hpp @@ -262,8 +262,18 @@ class ApplicationController { bool applyFound(const ScopeRequest &request, uint32_t now); // AUTO's result: its level is set (LevelIntent::Set). bool changePlotMode(plot::Options &options, plot::Mode before, uint32_t now); bool channelShown(unsigned channel); - // Moves the scale/position selection off a channel that is not shown; true when it moved. + // Moves the scale/position selection off a channel that is not shown, and off the DMM trace once + // it is off; true when it moved. bool followShownChannel(); + // A second F1/F2 press: the next of CH1, CH2 and the DMM trace that is shown, around to the first. + void selectNext(); + // The Scope's DMM trace (plot::MeterTraceOptions): the quantity of the DMM function it measures + // (Preferences::meterFunction), the one its Scale keys step; its cards; each display pass its + // readings, footer readouts and cards. + Quantity meterQuantity() const; + ui::ScopeScreen::Meter meterCard() const; + void showMeterTrace(); + void stepMeterScale(int direction, uint32_t now); // Up/Down on the Scale card with the trace selected. void panelKeys(uint32_t keys, uint32_t now, bool fine); void editorKeys(uint32_t keys, uint32_t now, bool fine); // panelKeys: the panels without a deep handler of their own. void setScopeFocus(plot::Focus focus); @@ -293,7 +303,7 @@ class ApplicationController { // F1-F4 held to their long press on that screen (issues #95, #96): Probe, the F2 reset, 50 %, the // F4 shortcut. Once a stroke (KeyGestures). True when the screen took the holds. [[gnu::noinline]] bool scopeHoldKeys(uint32_t holds, uint32_t now); - void openChannel(unsigned row = ui::ChannelEditor::Channel); + void openChannel(unsigned channel, unsigned row = ui::ChannelEditor::Channel); // channel: ChannelEditor::Meter too. void openProbe(uint32_t now); // F1 hold: the selected channel's Probe choices. void openShortcut(uint32_t now); // F4 hold: the saved destination's editor, nothing changed by opening it. bool resetView(uint32_t now); // F2 hold: Home view or Reset zoom & pan; explicit, so RUN keeps it. @@ -462,7 +472,8 @@ class ApplicationController { // after keys and on every display pass, so background updates never leave other captions. void refreshSoftKeys(); ui::SoftKeys imageSoftKeys() const; // The image list's and preview's keys (also the preview's header line). - void startAuto(uint32_t now); + bool startAuto(uint32_t now); // False when nothing started (or, for the DMM trace alone, nothing fitted). + bool fitMeterScale(uint32_t now); void serviceAuto(uint32_t now); bool cancelAuto(uint32_t now,bool hold=false); bool autoBusy() const { return autoSetup_.state()!=scope::AutoSetup::State::Idle; } @@ -490,6 +501,10 @@ class ApplicationController { // The Channel/Acquisition editor's committed field to the instrument; the editor then shows what // the instrument took (or, refused, what it has). void commitScopeEditor(ui::ScopeEditor &editor, uint32_t now); + // The DMM's function (a MeterFunctions index) chosen in the DMM trace's channel menu, the DMM + // screen's too: sent at once while the DMM trace runs, else when it starts. Null when taken or + // unchanged, else why it was refused. + const char *selectMeterFunction(unsigned function, uint32_t now); void commitTrigger(uint32_t now, bool level); // level: the Level row or 50 % (LevelIntent::Set). void triggerModeStep(uint32_t now); // A short F3 on the Trigger card: Auto, Normal, Single (held: staged). // DISPLAY's committed field (row Count) or its Reference/Clear action row, with every draft; @@ -509,7 +524,7 @@ class ApplicationController { bool autoCancelled_ = false; bool recordWatched_ = false, loggerWatched_ = false, serialWatched_=false; MeterRestore meterRestore_; // The DMM entry's range restore (meter_restore.hpp). - uint32_t dmmRestarts_ = 0, dmmReselects_ = 0; + uint32_t dmmRestarts_ = 0, dmmReselects_ = 0, meterTraceStarts_ = 0; bool powerFired_ = false; // The REL hold (Preferences::holdMs) powered off once this stroke. ScopeAutoKey autoKey_; // AUTO's open stroke on the Scope waveform screen. void powerOff(uint32_t now); @@ -530,6 +545,9 @@ class ApplicationController { ui::ArrangementProperties analogLayout_; bool meterLayoutAnalog_ = false; // Which DMM order the open LAYOUT edits (the face shown when it opened). plot::Focus focus_ = plot::Focus::Scale; + // The DMM trace is what F1/F2's Scale and Position act on, beside selectedChannel_, which every + // other per-channel action keeps using. + bool meterSelected_ = false; plot::CursorControl cursors_; scope::TriggerFollow triggerFollow_; plot::Controls plotControls_; diff --git a/include/openosc/application/scpi_backend.hpp b/include/openosc/application/scpi_backend.hpp index 5e0ec9b0..9c93b347 100644 --- a/include/openosc/application/scpi_backend.hpp +++ b/include/openosc/application/scpi_backend.hpp @@ -17,6 +17,8 @@ class InstrumentBackend final : public scpi::Backend { const scope::FrameMetadata *configuration() const override; bool configureScope(const ScopeRequest &) override; bool setTrigger(const ScopeRequest &) override; + bool channelShown(unsigned channel) const override; + int16_t showChannel(unsigned channel, bool on) override; bool run(bool single) override; bool autoScale() override; bool forceTrigger() override; @@ -82,6 +84,8 @@ class InstrumentBackend final : public scpi::Backend { uint32_t screenCapture() override; void screenEnd(uint32_t ticket) override; size_t screenRead(uint32_t ticket, uint32_t offset, uint8_t *out, size_t size) override; + bool message(const char *text) override; + const char *message() const override; bool factoryCalibration(FactoryCalibration &) const override; bool factoryRecordFormat(FactoryRecordReading &) const override; bool recovery() override; diff --git a/include/openosc/application/state.hpp b/include/openosc/application/state.hpp index 532ad3e5..5f5d695c 100644 --- a/include/openosc/application/state.hpp +++ b/include/openosc/application/state.hpp @@ -8,6 +8,7 @@ struct ScopeSettings { uint64_t timebaseNs = 1000000; uint32_t millivoltsPerDivision[2] = {500, 500}; scope::ReadoutSelection measurements; + scope::MeterReadoutSelection meterMeasurements; }; struct MeterSettings { unsigned function = 0; diff --git a/include/openosc/data/csv.hpp b/include/openosc/data/csv.hpp index f0bf5769..a0aaba04 100644 --- a/include/openosc/data/csv.hpp +++ b/include/openosc/data/csv.hpp @@ -8,14 +8,21 @@ class Csv { static constexpr const char *DmmHeader = "timestamp_us,sequence,status,quantity,value_si,unit,display,packet_hold,user_hold,peer_relative\r\n"; static constexpr const char *ScopeHeader = "index,time_seconds,ch1_code,ch2_code,ch1_volts,ch2_volts\r\n"; + // With the Scope's DMM trace shown: the reading in force at each row's time, in SI (scopeMeter's line). + static constexpr const char *ScopeMeterHeader = "index,time_seconds,ch1_code,ch2_code,ch1_volts,ch2_volts,dmm\r\n"; static size_t dmm(const dmm::Result &result, bool userHold, char *output, size_t capacity); static const char *quantity(Quantity value); // The quantity column's word: "voltage", ... "unknown". - static size_t scope(const scope::FrameView &frame, size_t index, char *output, size_t capacity); + // meter: the row's dmm field (ScopeMeterHeader), NaN left empty; nullptr: no such column. + static size_t scope(const scope::FrameView &frame, size_t index, char *output, size_t capacity, + const float *meter = nullptr); // The longest row scope() gives for any point of a record of these metadata, CRLF included, 0 for // metadata it cannot write: the widest index and time of the record (time's digits from the rate's - // factors 2 and 5, else Decimal's 12), each recorded channel's widest code (4) and volts over its 256 codes. + // factors 2 and 5, else Decimal's 12), each recorded channel's widest code (4) and volts over its 256 codes, + // and with `meter` the dmm field's widest reading. // The bound the waveform CSV's free-space check reserves a row (GitHub #164). - static size_t scopeRowLimit(const scope::FrameMetadata &metadata); + static size_t scopeRowLimit(const scope::FrameMetadata &metadata, bool meter = false); static size_t scopeMetadata(const scope::FrameMetadata &metadata, char *output, size_t capacity); + // "# dmm: function=...,quantity=...,unit=..." of the dmm column; function is MeterFunctions' key. + static size_t scopeMeter(const char *function, Quantity quantity, char *output, size_t capacity); }; } // namespace openosc diff --git a/include/openosc/data/recorders.hpp b/include/openosc/data/recorders.hpp index e4d87e8f..b07d9d85 100644 --- a/include/openosc/data/recorders.hpp +++ b/include/openosc/data/recorders.hpp @@ -17,8 +17,22 @@ class ScopeRecorder { static constexpr bool raw(Format format) { return format == Format::Raw || format == Format::RawGz; } static constexpr bool compressed(Format format) { return format == Format::CsvGz || format == Format::RawGz; } static constexpr bool supported(Format format) { return raw(format) || format == Format::Csv || format == Format::CsvGz; } + // A CSV's and CSV.gz's dmm column (Csv::ScopeMeterHeader): the DMM readings over its record in time + // order, each from its first row on (a reading before the record from row 0), copied for the write's + // whole length (DataAccess::meterColumn, into memory of its own); NaN leaves the field empty, as do + // the rows before the first. A RAW save has none. + struct MeterPoint { + uint32_t row; + float value; + }; + struct Meter { + const MeterPoint *points = nullptr; + uint32_t count = 0; + const char *function = ""; + Quantity quantity = Quantity::Unknown; + }; explicit ScopeRecorder(Filesystem &fs) : file_(fs) {} - bool begin(scope::FrameLease &&lease, Format format, scope::AcquisitionArena *arena = nullptr); + bool begin(scope::FrameLease &&lease, Format format, scope::AcquisitionArena *arena = nullptr, const Meter *meter = nullptr); void service(); void cancel(bool keep = false); bool busy() const { return busy_; } @@ -38,6 +52,10 @@ class ScopeRecorder { void serviceGzip(); bool flushGzip(); // buffer_'s compressed bytes to the file. void failGzip(DataStatus status); + // The CSV's metadata lines into buffer_, the "# dmm:" line with a dmm column: their bytes, 0 when they do not fit. + size_t csvHeader(const scope::FrameMetadata &metadata); + const char *columns() const; // The column header: Csv::ScopeMeterHeader with a dmm column, else ScopeHeader. + const float *meterField(size_t row); // The dmm field of `row` (rows in order), nullptr without the column. FatDataFile file_; GzipStream gzip_; size_t pending_ = 0, consumed_ = 0, out_ = 0; // Gzip input in the Trial area and output in buffer_. @@ -46,6 +64,11 @@ class ScopeRecorder { Format format_ = Format::Raw; size_t offset_ = 0; uint64_t required_ = 0; + const MeterPoint *meter_ = nullptr; // Meter::points, nullptr: no dmm column. + uint32_t meterCount_ = 0, meterNext_ = 0; // The points; the next to come into force. + float meterValue_ = 0; // The one in force (NaN: none). + const char *meterFunction_ = ""; // Meter::function and quantity: the "# dmm:" line. + Quantity meterQuantity_ = Quantity::Unknown; bool busy_ = false, finishing_ = false, measuring_ = false; DataStatus status_ = DataStatus::NoData; uint8_t buffer_[4096]{}; diff --git a/include/openosc/i18n/text_id.hpp b/include/openosc/i18n/text_id.hpp index e339d9cb..0405a53b 100644 --- a/include/openosc/i18n/text_id.hpp +++ b/include/openosc/i18n/text_id.hpp @@ -4,7 +4,7 @@ #include namespace openosc::i18n { -inline constexpr unsigned TextCount = 1466; +inline constexpr unsigned TextCount = 1480; enum class TextId : uint16_t { AcquisitionTitle, AdcCodes, // {value} @@ -196,7 +196,9 @@ enum class TextId : uint16_t { Ch1LastOn, Ch2LastOn, Channel, + ChannelDmmFunction, ChannelOff, // {channel} + ChannelOffHidden, ChannelOffOtherPoints, // {channel}, {points} ChannelOnPoints, // {points} ChannelReadout, // {channel}, {index} @@ -488,6 +490,7 @@ enum class TextId : uint16_t { DmmCommandKey, DmmCommandRange, DmmCommandUnconfirmed, // {command} + DmmReadout, // {index} DriveFactory, DriveNow, // {drive}, {path} DrivePwm, @@ -718,6 +721,7 @@ enum class TextId : uint16_t { MeasurePeriod, MeasurePulses, MeasureRms, + MeasureRmsNotInAc, MeasureTop, MeasurementTitle, MeasurementsTitle, @@ -888,8 +892,11 @@ enum class TextId : uint16_t { MsgDisconnectScopeInputs, MsgDisconnectSwdDebuggerBeforeEnabling, MsgDisconnectTheTipFromTheSignal, + MsgDmmAloneTriggerAuto, MsgDmmFunctionSelectionFailed, + MsgDmmReadingsBeyondLargestScale, MsgDmmStoppedRespondingRestarted, + MsgDmmZeroLeavesNoRoom, MsgDrawing, MsgEnableRunAndFinishOtherOperations, MsgEnableRunAndStopGenOtherOperations, @@ -956,6 +963,7 @@ enum class TextId : uint16_t { MsgInvalidOrDamagedPng, MsgJump, MsgLanguageFontsMissing, + MsgLargestDmmScale, MsgList, MsgLoad, MsgLoadingImage, @@ -975,6 +983,7 @@ enum class TextId : uint16_t { MsgNoAwgOnThisGenerator, MsgNoAwgWaveformLoaded, MsgNoCsvFiles, + MsgNoDmmReadingsOnScreen, MsgNoDmmSessions, MsgNoFileOpen, MsgNoFileSelected, @@ -1004,6 +1013,7 @@ enum class TextId : uint16_t { MsgOpen, MsgOtherFilesInCapturesAreKept, MsgOut, + MsgPast20sDivRollTriggerAuto, MsgPngEncodingFailed, MsgPretriggerNotInRoll, MsgProfileFailedTheToneChecks, @@ -1018,6 +1028,7 @@ enum class TextId : uint16_t { MsgReferenceNeedsACompletedFrame, MsgReferenceNeedsAVisibleYTChannel, MsgRelNeedsAValidCurrentReading, + MsgReleaseHoldInDmmToChangeFunction, MsgReleaseHoldToChangeFunction, MsgReleaseUsbWaveformToRestore, MsgRestartAfterSavingToApply, @@ -1067,6 +1078,7 @@ enum class TextId : uint16_t { MsgSettingsNotSavedPoweringOff, MsgSettingsRestoredFromABackupCopy, MsgSetup, + MsgSmallestDmmScale, MsgSoftwareZeroOffHardwareZeroKept, MsgSteadyInputThisClockOnly, MsgStop, @@ -1087,6 +1099,7 @@ enum class TextId : uint16_t { MsgThemeLoadedPlotChangesDiscarded, MsgThemeRestoredCannotWriteThemeJson, MsgThemeRestoredFromPreviousCopy, + MsgThermocoupleSetManualJunctionInDmmMenu, MsgThermocoupleSetManualJunctionInMenu, MsgTooManyRowsLongerIntervalOrShorter, MsgTrendLongestWindow, @@ -1209,6 +1222,7 @@ enum class TextId : uint16_t { RoleChannel2, RoleDialArc, RoleDialTicks, + RoleDmm, RoleFunctionSign, RoleInfoLine, RoleMath, @@ -1481,25 +1495,25 @@ inline constexpr uint8_t ArgumentCounts[TextCount] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1, 2, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 3, 1, 1, 1, 1, 3, 4, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 0, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 0, 0, 2, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 2, - 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, - 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 3, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 1, 0, 1, 0, 0, 2, 0, 2, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 3, 0, 0, 0, 0, - 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 3, 0, 0, 0, 0, 0, 0, 1, 2, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, - 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0, 2, 3, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 0, 0, 1, 0, 0, 4, 1, 0, 1, 0, 0, 2, 0, 0, 0, 0, - 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, + 0, 2, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 2, 0, 1, 0, 0, 0, 0, 0, 1, 1, 0, 0, 3, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1, 0, 1, 0, 0, 2, 0, 2, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 1, 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 2, 3, 0, + 0, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 3, 0, 0, 0, 0, 0, 0, 1, 2, 2, 0, 0, 1, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, + 1, 2, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 1, 2, 1, 0, 0, 0, 0, 2, 3, 0, 0, 0, 1, 1, 0, 1, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 0, 0, 1, 0, 0, 4, 1, 0, 1, 0, 0, 2, 0, + 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, + 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -1510,18 +1524,19 @@ inline constexpr uint8_t ArgumentCounts[TextCount] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 1, 2, 1, 2, 2, 0, 1, 0, 0, 0, 0, 1, 1, 2, 2, 0, 0, 1, 1, 0, 2, 0, 1, 1, 1, 0, - 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 1, + 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 1, 2, 2, 0, 1, 0, 0, 0, 0, 1, + 1, 2, 2, 0, 0, 1, 1, 0, 2, 0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 2, 2, 2, 2, 0, - 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 1, 0, 0, 0, 0, 3, 3, - 0, 1, 1, 0, 0, 0, 1, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, + 1, 0, 0, 0, 0, 0, 0, 1, 0, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 1, 1, 1, 1, 2, 1, 0, 0, 0, 0, 3, 3, 0, 1, 1, 0, 0, 0, 1, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 2, }; constexpr unsigned argumentCount(TextId id) { return id < TextId::Count ? ArgumentCounts[unsigned(id)] : 0; } inline constexpr unsigned GeneratedLanguageCount = 4; diff --git a/include/openosc/instrument/data_access.hpp b/include/openosc/instrument/data_access.hpp index 31d831bd..47fe6006 100644 --- a/include/openosc/instrument/data_access.hpp +++ b/include/openosc/instrument/data_access.hpp @@ -26,6 +26,7 @@ #include "openosc/measurement/dmm/link_watchdog.hpp" #include "openosc/measurement/dmm/meter_commands.hpp" #include "openosc/measurement/dmm/ranges.hpp" +#include "openosc/measurement/dmm/reading_trace.hpp" #include "openosc/calibration/zero_operation.hpp" #include "openosc/calibration/zero_file.hpp" #include "openosc/calibration/zero_selection.hpp" @@ -146,7 +147,26 @@ class DataAccess : private calibration::ZeroInstrument, private generator::BusCl // A physical F1-F4: one group key (dmm::MeterCommands::pressGroup), the statistics restart; what the // controller does is read from its packets. SCPI and the restore select a function instead. bool sendDmmGroup(dmm::CommandGroup group); + // In the DMM, and in the Scope while its DMM trace runs (meterTraceRunning). bool selectDmmFunction(dmm::Function function); + // The Scope's DMM trace, asked for by the view: while the Scope is the measurement the DMM chip is + // powered beside the capture by bit 13 of the scope word (AnalogFrontend::scopeMeterPower), its UART + // receives through its own stream beside the capture (DmmDma), and its packets go into the DMM's + // session (meter()) under LinkWatchdog, which power-cycles it by that bit alone. Leaving the Scope, a + // shutdown or the trace off unpower the chip (LinkWatchdog::left: the DMM then keeps it off for + // OffMs as after a DMM visit); a clock change restarts only its UART. While parallel() runs the DMM + // the trace leaves the chip to it and does not run. + void meterTrace(bool asked) { meterTraceAsked_ = asked; } + bool meterTraceRunning() const { return meterTraceRunning_; } + // Counts each start of the chip under the Scope: it comes up in its default function, so the + // caller selects the saved one (as on a DMM entry). Restarts after silence: dmmRestarts(). + uint32_t meterTraceStarts() const { return meterTraceStarts_; } + // The readings the trace draws: time on the frames' clock (nowUs), the value in SI, a slow + // timebase's averaged into its entries (ReadingTrace::push). Kept through every capture, timebase + // and measurement (a HOLD freezes them; a stop, a power cycle or a UART restart ends the line at + // once, a gap); restarted when another function is selected in the Scope (under HOLD, at the first + // reading after it) or a reading's quantity changes. + const dmm::ReadingTrace &meterReadings() const { return meterReadings_; } // AUTO/RANGE (pressDmmRange, setDmmAuto, setDmmRange, stepDmmRange) only where the function shown // has ranges (dmm::Ranges::selectable): elsewhere refused at once, nothing sent, nothing busy. bool dmmRanged() const { return !meter_.thermocouple() && dmm::Ranges::selectable(dmm::Functions::identify(meter_.latest())); } @@ -431,7 +451,8 @@ class DataAccess : private calibration::ZeroInstrument, private generator::BusCl bool startMeter(); bool startMeterUart(); void applyMeterPower(bool enabled); - void reportMeterStatus(DataStatus status) { if (!parallel_) status_ = status; } + // The DMM's status is the device's on the DMM alone; in the Scope (parallel, its DMM trace) it stays the capture's. + void reportMeterStatus(DataStatus status) { if (!scopeEnabled()) status_ = status; } // The calibration reference's policy (GitHub #32, #230), each pass: as the factory main firmware, // in Scope only (its DMM start never runs the output); never while stopping, across a clock change, // during a zero calibration or while the DMM serial output has the jack. @@ -453,6 +474,26 @@ class DataAccess : private calibration::ZeroInstrument, private generator::BusCl void stopDmmUart(); void serviceDmmWatchdog(uint32_t now); void restartDmmUart(); + // The chip's commands are this session's: the DMM served (meterEnabled), or the Scope's DMM trace running. + bool meterLinked() const { return active_ && (meterEnabled() || meterTraceRunning_); } + bool receiveFaults(); // A byte lost since the last look: the framer starts again. + // The next packet framed from uart_, reading at most `budget` bytes (counted down); each one + // feeds the watchdog. + bool framePacket(uint8_t (&packet)[dmm::Packet::Bytes], unsigned &budget); + void serviceMeterTrace(uint32_t now); + void stopMeterTrace(); + void traceReading(); // The session's newest reading into meterReadings_ (not held). + void restartMeterLine(); // meterReadings_ in meterTraceFunction_ (meter_trace.cpp). + void breakMeterTrace(); + bool meterColumn(const scope::FrameMetadata &record, ScopeRecorder::Meter &meter); + bool meterTraceAsked_ = false, meterTraceRunning_ = false; + // Readings were missed since the last one kept (HOLD, a restart): the next is preceded by a gap. + bool meterGap_ = false; + // The function last selected in the Scope, and the one meterReadings_ last started with. + dmm::Function meterTraceFunction_ = dmm::Function::Unknown, meterLineFunction_ = dmm::Function::Unknown; + uint32_t meterTraceStarts_ = 0; + static dmm::ReadingTrace::Reading *meterTraceMemory(); // Its ITCM (.meter_trace), or nullptr (meter_trace.cpp). + dmm::ReadingTrace meterReadings_{meterTraceMemory()}; static_assert(dmm::LinkWatchdog::OffMs <= dmm::FunctionSelector::PowerOnWaitMs, "A selection's deadline covers the power-on wait"); dmm::LinkWatchdog watchdog_; // Silence power-cycles, the minimum off time, the UART's bounded restarts. static constexpr uint32_t DmmCloseMs = 500; diff --git a/include/openosc/measurement/dmm/function.hpp b/include/openosc/measurement/dmm/function.hpp index 526bc94f..484f78a3 100644 --- a/include/openosc/measurement/dmm/function.hpp +++ b/include/openosc/measurement/dmm/function.hpp @@ -31,6 +31,11 @@ class Functions { default: return Quantity::Unknown; } } + // The quantity a function's readings are in: continuity reads in ohms, the diode in volts. + static constexpr Quantity reading(Function f) { + return f == Function::Continuity ? Quantity::Resistance : f == Function::Diode ? Quantity::Voltage + : f == Function::Temperature ? Quantity::Temperature : quantity(f); + } }; class FunctionSelector { public: diff --git a/include/openosc/measurement/dmm/reading_trace.hpp b/include/openosc/measurement/dmm/reading_trace.hpp new file mode 100644 index 00000000..1b5382a6 --- /dev/null +++ b/include/openosc/measurement/dmm/reading_trace.hpp @@ -0,0 +1,65 @@ +#pragma once +#include "openosc/data/units.hpp" +#include +#include +#include + +namespace openosc::dmm { +// The Scope's DMM trace (DataAccess::meterReadings): the readings of one quantity in time order, the +// oldest overwritten. Time is DataAccess::nowUs() / 1000 modulo 2^32, the clock of the frames' +// timestamps; the value is in SI, NaN for a reading without one (OL, no number): a gap in the line. +// Every reading counts: one that comes within spanMs (a screen of 10 divisions over Window, so the +// entries of one screen fit with room for gaps) of the newest entry's first reading, of its kind (a +// value or a gap), joins that entry as the mean of their values at the middle of their times. At +// 20 s/div that span is shorter than the ZT703S chip's 3.1 packets/s (HIL 2026-11-23): each reading +// is an entry of its own, as at every faster timebase. +// The readings lie in ITCM (.meter_trace, zeroed at reset), which no capture and no DMA writes: only +// DataAccess::poll adds to them, never while a frame is drawn. Without that memory (storage nullptr: +// OPENOSC_USB_TRACE builds, whose trace ring takes it) nothing is kept. +class ReadingTrace { +public: + struct Reading { + uint32_t ms; + float value; + }; + static constexpr size_t Capacity = 768; + static constexpr uint32_t Window = 640; // Entries a screen spans at most. + // The time one entry may cover at a timebase: a screen of 10 divisions over Window. + static constexpr uint32_t spanMs(uint64_t timebaseNs) { return uint32_t(timebaseNs / 100000 / Window); } + explicit ReadingTrace(Reading *storage) : storage_(storage) {} + void reset(Quantity quantity) { + head_ = size_ = 0; + count_ = 0; + quantity_ = quantity; + } + void push(uint32_t ms, float value, uint32_t spanMs = 0) { + if (!storage_) return; + const bool gap = value != value; + if (count_ && gap == gap_ && ms - first_ < spanMs) { + ++count_; + if (!gap) sum_ += value; + storage_[(head_ + Capacity - 1) % Capacity] = {first_ + (ms - first_) / 2, gap ? value : float(sum_ / count_)}; + return; + } + storage_[head_] = {ms, value}; + head_ = (head_ + 1) % Capacity; + if (size_ < Capacity) ++size_; + first_ = ms; count_ = 1; sum_ = gap ? 0 : value; gap_ = gap; + } + // The readings stop at `ms` (a gap from there): the newest entry with a value is followed by a gap. + void gap(uint32_t ms, uint32_t spanMs = 0) { + if (size_ && !gap_) push(ms, NAN, spanMs); + } + size_t size() const { return size_; } + Reading operator[](size_t oldest) const { return storage_[(head_ + Capacity - size_ + oldest) % Capacity]; } + Quantity quantity() const { return quantity_; } + +private: + Reading *storage_; + size_t head_ = 0, size_ = 0; + uint32_t first_ = 0, count_ = 0; // The newest entry's first reading and its readings (0: none to join). + double sum_ = 0; // Their values' sum (a gap's: none). + Quantity quantity_ = Quantity::Unknown; + bool gap_ = false; // The newest entry is a gap. +}; +} // namespace openosc::dmm diff --git a/include/openosc/scpi/backend.hpp b/include/openosc/scpi/backend.hpp index bb7377cb..4844e6a6 100644 --- a/include/openosc/scpi/backend.hpp +++ b/include/openosc/scpi/backend.hpp @@ -48,6 +48,13 @@ class Backend { // The same, with its trigger level set on purpose (TRIG:EDGE:LEV): an instrument that keeps the // trigger's voltage across scales takes it as the new anchor, also as the same whole code. virtual bool setTrigger(const ScopeRequest &request) { return configureScope(request); } + // CHANnel:DISPlay: the channel shown, and on or off as the panel switches it (the last one shown + // goes off only with the DMM trace on, then hidden: plot::ChannelDisplay); 0 or the SCPI error. + virtual bool channelShown(unsigned channel) const { return scopeRequest().frontend.enabled[channel]; } + virtual int16_t showChannel(unsigned channel, bool on) { + auto request = scopeRequest(); + return !request.setChannel(channel, on) ? -221 : configureScope(request) ? 0 : -222; + } virtual bool run(bool single) = 0; virtual bool autoScale() { return false; } // A forced trigger (TFORce): a record without a trigger event (DataAccess::forceScope). False: @@ -140,6 +147,11 @@ class Backend { virtual uint32_t screenCapture() { return 0; } virtual size_t screenRead(uint32_t, uint32_t, uint8_t *, size_t) { return 0; } virtual void screenEnd(uint32_t) {} // The stream finished or was dropped: that lease is free. + // DISPlay:TEXT: a message for the person at the device, over every screen until a key (taken by + // it), DISPlay:TEXT:CLEar or the next one; "" takes it away. False: no display. message(): the + // text on show, "" for none. + virtual bool message(const char *) { return false; } + virtual const char *message() const { return ""; } // The factory calibration record as this boot decoded it (SYST:CAL:FACT?, docs/SCPI.md), from the // record alone: no plan, user gain, display gain, channel state or calibration in progress. // identity: the CRC calibration files are bound to; gainWord: as decoded (0: not written, also every diff --git a/include/openosc/settings/instrument_preferences.hpp b/include/openosc/settings/instrument_preferences.hpp index c0167ac3..797b4ba1 100644 --- a/include/openosc/settings/instrument_preferences.hpp +++ b/include/openosc/settings/instrument_preferences.hpp @@ -29,11 +29,14 @@ struct ScopePreferences { uint8_t triggerType = 0, triggerCondition = uint8_t(scope::TriggerCondition::Greater); uint16_t triggerVideoLine = 1; // The Video trigger's line (GitHub #82), in the padding before `measurements`. scope::ReadoutSelection measurements; + scope::MeterReadoutSelection meterMeasurements; // The DMM trace's readouts; a file without them: the defaults. uint32_t runMode = 0; // Index into RunModes. - uint32_t rollAuto=1; - uint32_t longerRecord = 1; + // Bytes, rollAuto to interleave: the Scope part keeps its size as choices join them (sizeof checked + // in preferences.hpp). + uint8_t rollAuto=1; + uint8_t longerRecord = 1; // InterleaveMode: Off/On/Auto. Defaults: ZT706S Auto (its factory rule), ZT703S Off (Auto: MKR's rule). - uint32_t interleave = board::Current::Features.adcInterleave ? 2 : 0; + uint8_t interleave = board::Current::Features.adcInterleave ? 2 : 0; // A service choice (FactoryRecordPolicy: 0 auto, 1 long, 2 compact, 3 mkr) for reading the factory record // at the NEXT start (DataAccess::initialize); Reload settings never re-reads the record. Only on // outside evidence about an ambiguous record (docs/ZERO_CALIBRATION.md); files without it: auto. diff --git a/include/openosc/settings/preferences.hpp b/include/openosc/settings/preferences.hpp index 8af39e8e..5e9e0915 100644 --- a/include/openosc/settings/preferences.hpp +++ b/include/openosc/settings/preferences.hpp @@ -70,7 +70,7 @@ struct Preferences { bool valid() const { scope::SamplePlan sampling; return brightness >= 10 && brightness <= 100 && mode < InstrumentModeCount && timebaseNs >= 10 && - timebaseNs <= 20000000000ULL && scope::VoltageRanges::contains(millivolts[0]) && + timebaseNs <= scope::Timebases::Maximum && scope::VoltageRanges::contains(millivolts[0]) && scope::VoltageRanges::contains(millivolts[1]) && meterFunction < MeterFunctionCount && useBuiltinTheme <= 1 && showFps <= 2 && Tooltips::valid(tooltipsHidden) && batteryDisplay < 3 && power::BatteryGauge::trimValid(batteryGainPermille, batteryOffsetMv) && panReverse < 2 && clockIndicator <= 1 && swapChannels <= 1 && unsigned(menuContrast) < MenuContrastCount && language < i18n::LanguageCount && holdTime < 3 && usbController < UsbControllerCount && bode.valid() && generatorShape < generator::ShapeCount && generator::ArbitraryLimits::rate(generatorArbitraryRate) && @@ -82,7 +82,8 @@ struct Preferences { (!generator::Capabilities::AmplitudeStepMillivolts || !(generatorAmplitudeMillivolts % (generator::Capabilities::AmplitudeStepMillivolts ? generator::Capabilities::AmplitudeStepMillivolts : 1))) && generatorLevel<4 && generatorSquareDrive<2 && generatorStartup<2 && generatorLastOutput<2 && generatorArrangement.valid() && generatorMinimumCode<=generatorMaximumCode && generatorMaximumCode<=4095 && scope.valid() && meter.valid() && idle.valid() && - scope::SamplePlan::calculate(timebaseNs, + // The plan the ADC runs: past SampledMaximum, Roll's at Timebases::sampled (DataAccess::samplePlan). + scope::SamplePlan::calculate(scope::Timebases::sampled(timebaseNs), scope::RecordBudget::perChannel(scope.recordPoints,scope::RecordBudget::channels(scope.enabled[0],scope.enabled[1])), RunModes[scope.runMode].maximumSampleRate(),scope::RecordBudget::Maximum,sampling); } diff --git a/include/openosc/settings/preferences_json.hpp b/include/openosc/settings/preferences_json.hpp index 3bad22f4..1de8f0fe 100644 --- a/include/openosc/settings/preferences_json.hpp +++ b/include/openosc/settings/preferences_json.hpp @@ -8,10 +8,10 @@ class PreferencesJson { // Compact formatting fits the file with all custom appearances, decoders and Scope // shortcuts. Use it when pretty formatting exceeds this limit. Storage uses the shared JSON text lease // (JsonWorkspace::TextCapacity, 10241 bytes; preferences_file.cpp asserts it fits). - static constexpr size_t MaxBytes = 4528; + static constexpr size_t MaxBytes = 4584; // Budget the same STM32 ArduinoJson pool for the extra slots in the longest settings file. // The layout tests leave a fifth of the slots and StringReserve bytes free for strings. - static constexpr size_t DocumentSlots = 337, StringBytes = 3456, StringReserve = 320; + static constexpr size_t DocumentSlots = 345, StringBytes = 3328, StringReserve = 320; static bool parse(const char* input, size_t bytes, Preferences& output); static size_t encode(const Preferences& values, char* output, size_t capacity,bool pretty=true); }; diff --git a/include/openosc/settings/scope_appearance.hpp b/include/openosc/settings/scope_appearance.hpp index 54c1ffb7..d84f26f5 100644 --- a/include/openosc/settings/scope_appearance.hpp +++ b/include/openosc/settings/scope_appearance.hpp @@ -20,6 +20,7 @@ enum class ScopeRole : uint8_t { Secondary, // Muted text, disabled channels (Theme::muted). Grid, // Graticule, separators. Channel1, Channel2, Math, Reference, + Meter, // The Scope's DMM trace: its line, zero tag, cards and footer panel (no Theme field). Cursor, // Cursor lines and their tags. Trigger, // Trigger level/position marks; Inherit: the source channel's colour (as today). Selection, // Softkey/menu selection and focus (Theme::accent). diff --git a/include/openosc/settings/theme_document.hpp b/include/openosc/settings/theme_document.hpp index 209368ab..c1a4e597 100644 --- a/include/openosc/settings/theme_document.hpp +++ b/include/openosc/settings/theme_document.hpp @@ -8,6 +8,6 @@ namespace openosc { inline constexpr size_t ThemeDocumentCapacity = JSON_OBJECT_SIZE(7) + JSON_OBJECT_SIZE(9) + InstrumentModeCount * (JSON_ARRAY_SIZE(ThemeInputElementLimit) + ThemeInputElementLimit * JSON_OBJECT_SIZE(10)) + 2048 - + JSON_OBJECT_SIZE(23)+JSON_ARRAY_SIZE(2)+2*JSON_OBJECT_SIZE(6)+JSON_OBJECT_SIZE(7)+JSON_OBJECT_SIZE(3)+512; // Plot reserve includes density and brightness (#85, #86). + + JSON_OBJECT_SIZE(23)+JSON_ARRAY_SIZE(2)+2*JSON_OBJECT_SIZE(6)+JSON_OBJECT_SIZE(7)+JSON_OBJECT_SIZE(3)+512; // Plot reserve includes density and brightness (#85, #86) and the DMM trace. using ThemeDocument = StaticJsonDocument; } diff --git a/include/openosc/ui/application_view.hpp b/include/openosc/ui/application_view.hpp index b8a68929..5d7cfeb4 100644 --- a/include/openosc/ui/application_view.hpp +++ b/include/openosc/ui/application_view.hpp @@ -29,7 +29,8 @@ class ApplicationView { void measurement(const ApplicationState &state); void capture(const scope::FrameView &frame, bool held, unsigned channel, DataStatus health); void captureStatus(DataStatus status, bool held) { scope_.status(status, held); refreshIndicators(); } - void scopeTrigger(const scope::TriggerSettings &trigger, const scope::ChannelMetadata &channel); + // source: a channel is shown to trigger on; none (the DMM trace alone): "AUTO", no channel and no level. + void scopeTrigger(const scope::TriggerSettings &trigger, const scope::ChannelMetadata &channel, bool source); void scopeCounters(const scope::CounterSnapshot &snapshot) { scope_.counters(snapshot); } bool scopeReadouts(const scope::ReadoutResult &result, const ui::ReadoutState &state) { return scope_.readouts(result, state); } bool scopeReadoutsPainted() const { return scope_.readoutsPainted(); } @@ -53,6 +54,8 @@ class ApplicationView { void scopeContext(unsigned channel, plot::Focus focus, bool panReverse = false, bool math = false) { scope_.context(channel, focus, panReverse, math); } + void scopeMeter(const ui::ScopeScreen::Meter &meter) { scope_.meter(meter); } + void scopeMeterReadouts(const plot::MeterReadouts &readouts) { scope_.meterReadouts(readouts); } // The generator note on the plot; captureHalved: DataAccess::generatorLoadsBus(). void scopeGenerator(const generator::Snapshot &output, bool captureHalved) { scope_.generator(output, captureHalved); } void focusParameter(unsigned index) { host_.parameters().select(index); } @@ -150,6 +153,12 @@ class ApplicationView { lv_obj_t *menu() const { return menu_; } // Tests: the menu's box. const char *toast() const { return toastShowing() ? lv_label_get_text(toast_) : ""; } // On show now. bool toastShowing() const { return notice_ != Notice::None; } // A notice is on show (store(): none over another). + // DISPlay:TEXT: a message for the person at the device, in a box over every screen (a notice over + // it) until a key takes it (dismissMessage: true when one was on show), its CLEar or the next one; + // "" takes it away. message(): the text on show, "" for none. + void message(const char *text); + const char *message() const { return messageShowing() ? lv_label_get_text(message_) : ""; } + bool dismissMessage(); // The frequency response plot (GitHub #72), hidden until shown. Shown as a menu is: the // host's overlay (no Scope elements drawn under it, the keys' bar at the bottom), the menu box hidden. ui::BodeView &bode() { return bode_; } @@ -193,9 +202,12 @@ class ApplicationView { ui::ScopeScreen scope_; ui::MeterScreen meter_; ui::GeneratorScreen generator_; + bool messageShowing() const { return message_ && !lv_obj_is_hidden(message_); } + lv_obj_t *message_ = nullptr; lv_obj_t *menu_ = nullptr, *toast_ = nullptr, *generatorIndicator_ = nullptr, *usbIndicator_ = nullptr, *fps_ = nullptr, *trigger_ = nullptr, *edge_ = nullptr, *channelTag_ = nullptr; static constexpr unsigned NoTriggerChannel = 2; unsigned channelTagChannel_ = NoTriggerChannel; + bool triggerSource_ = true; // scopeTrigger's source: the channel tag and the edge are shown. uint32_t channelTagColor_ = 0, channelTagInk_ = 0; static void drawChannelTag(lv_event_t *event); void refreshTriggerColors(unsigned channel); diff --git a/include/openosc/ui/components/footer_pages.hpp b/include/openosc/ui/components/footer_pages.hpp index 246ca7ea..1071a403 100644 --- a/include/openosc/ui/components/footer_pages.hpp +++ b/include/openosc/ui/components/footer_pages.hpp @@ -7,19 +7,24 @@ namespace openosc::ui { // The footer's pages (no LVGL), in fixed cells: with both channels on, each channel's readouts 1-2 in // its panel, REL then 3-4 (a second page only when one is chosen); with one channel on, its four -// readouts in the four cells of one page. An Off readout leaves its cell empty, the others keep -// theirs; every readout Off, no readout page. A Scales page while scales show, FFT's page first. REL -// turns the pages. +// readouts in the four cells of one page. The DMM trace shown (a Y-T view): with both channels on, a +// page of its own after theirs, its four readouts in the four cells; else it takes the panel of a +// channel that is off on every page (its readouts 1-2, then 3-4, as a channel's), all four cells with +// both off. An Off readout leaves its cell empty, the others keep theirs; every readout Off, no readout +// page. A Scales page while scales show, FFT's page first (FFT shows no DMM trace). REL turns the pages. class FooterPages { public: enum class Kind : uint8_t { Spectrum, Readouts, Scales }; static constexpr uint8_t Empty = 0xff, ChannelOff = 0xfe; // Cell contents besides a slot index. + static constexpr uint8_t Meter = 2; // A cell's channel: the DMM trace (MeterReadoutSelection). struct Cell { uint8_t channel = 0, slot = Empty; }; static constexpr unsigned Cells = ScopeFooterLayout::Cells, PerChannel = ScopeFooterLayout::PerChannel; static constexpr unsigned MaximumPages = ScopeFooterLayout::MaximumPages; - // True when the plan changed (the page on show is then kept only if it still exists). - bool plan(const scope::ReadoutSelection &selection, const bool (&enabled)[2], bool spectrum, bool scales); + // True when the plan changed (the page on show is then kept only if it still exists). meterSelection: + // the DMM trace's readouts; meter: the DMM trace is shown. + bool plan(const scope::ReadoutSelection &selection, const scope::MeterReadoutSelection &meterSelection, const bool (&enabled)[2], + bool spectrum, bool scales, bool meter); unsigned count() const { return count_; } unsigned page() const { return page_; } void next() { page_ = count_ ? (page_ + 1) % count_ : 0; } @@ -28,15 +33,21 @@ class FooterPages { Kind kind(unsigned page) const; // Swap CH1/CH2: with both channels on, the left panel's cells hold the input on screen as CH1. void view(const plot::ChannelView &view) { view_ = view; } - // A readout page's cell: the channel's slot, ChannelOff or Empty. + // A readout page's cell: the channel's (or Meter's) slot, ChannelOff or Empty. Cell cell(unsigned index) const { return cell(page_, index); } Cell cell(unsigned page, unsigned index) const; + // The panel the DMM trace takes on the Scales page: the first of a channel that is off (the input + // on screen there, view()); Panels for none. + static constexpr unsigned Panels = ScopeFooterLayout::Panels; + unsigned meterPanel() const { return !meter_ ? Panels : !enabled_[view_.input(0)] ? 0 : !enabled_[view_.input(1)] ? 1 : Panels; } private: - bool chosen_[2][scope::ReadoutSelection::PerChannel]{}; // The selection's non-Off readouts. - bool enabled_[2]{}, spectrum_ = false, scales_ = false; + static constexpr unsigned Sources = 3; // CH1, CH2 and the DMM trace. + bool chosen_[Sources][scope::ReadoutSelection::PerChannel]{}; // The selection's non-Off readouts. + bool enabled_[2]{}, spectrum_ = false, scales_ = false, meter_ = false; plot::ChannelView view_; - bool wide() const { return enabled_[0] != enabled_[1]; } - unsigned readoutPages_ = 0, count_ = 0, page_ = 0; + // One source in all four cells: the one channel on (no DMM trace), or the DMM trace with both off. + bool wide() const { return meter_ ? !enabled_[0] && !enabled_[1] : enabled_[0] != enabled_[1]; } + unsigned readoutPages_ = 0, meterPages_ = 0, count_ = 0, page_ = 0; }; } // namespace openosc::ui diff --git a/include/openosc/ui/components/parameter_bar.hpp b/include/openosc/ui/components/parameter_bar.hpp index 65bf5649..ccd94abe 100644 --- a/include/openosc/ui/components/parameter_bar.hpp +++ b/include/openosc/ui/components/parameter_bar.hpp @@ -22,10 +22,11 @@ class ParameterBar { static constexpr unsigned Count = 4; static constexpr int Radius = StatusBarLayout::PillRadius; static constexpr float MinimumContrast = 3.0f; // WCAG ratio for UI text and marks. - // The accent of a screen card when selected: the highlight, a channel's colour (the Scope's F1-F3) - // or the theme's text colour (neutral). Resolved from the theme at palette(); a context's keys - // always take the highlight, so channel colours never reach a menu, popup or the generator. - enum class Tint : uint8_t { Highlight, Channel1, Channel2, Neutral, Math }; + // The accent of a screen card when selected: the highlight, a channel's colour (the Scope's F1-F3), + // the theme's text colour (neutral) or the Scope's DMM trace colour (meterTint). Resolved from the + // theme at palette(); a context's keys always take the highlight, so channel colours never reach a + // menu, popup or the generator. + enum class Tint : uint8_t { Highlight, Channel1, Channel2, Neutral, Math, Meter }; static uint32_t readable(uint32_t color, uint32_t fill); // `color`, or the contrasting ink when too faint on `fill`. static uint32_t ink(uint32_t fill); // The dark or light ink with the higher contrast. static uint32_t faded(uint32_t ink, uint32_t fill); // A secondary mark on an accent fill: ink part-way to it. @@ -51,6 +52,8 @@ class ParameterBar { // hidden and appears with release(), whenever the screen asks. void decorate(lv_obj_t *child, bool visible); void tint(unsigned index, Tint tint); // The screen card's accent (kept until untinted()). + // Tint::Meter's colour: the Scope appearance's DMM role, which the theme has no field for (before palette()). + void meterTint(uint32_t color) { meter_ = color; } void untinted(); // Every screen card back to the highlight. void edge(bool bottom); // The bar stands on the screen's bottom edge. uint32_t fill(unsigned index) const { return index < Count ? fills_[index] : background_; } // As painted. @@ -96,7 +99,7 @@ class ParameterBar { bool bottom_ = false; uint32_t fills_[Count]{}; uint32_t background_ = 0, border_ = 0, highlight_ = 0, foreground_ = 0, muted_ = 0; - uint32_t channels_[2]{}, neutral_ = 0, math_ = 0; + uint32_t channels_[2]{}, neutral_ = 0, math_ = 0, meter_ = 0; uint32_t accent(unsigned index) const; // The selected card's fill. bool menuColors_ = false; // The context shows in menu_'s colours. MenuPalette menu_; diff --git a/include/openosc/ui/components/readout_row.hpp b/include/openosc/ui/components/readout_row.hpp index e15536b3..5ed5cec8 100644 --- a/include/openosc/ui/components/readout_row.hpp +++ b/include/openosc/ui/components/readout_row.hpp @@ -26,6 +26,7 @@ class ReadoutRow { unsigned limit = 0; // Significant digits of a bounded value (ReadoutText::form); 0: unbounded. int prefer = -1; // The prefix to keep near its range's edge (Format::quantity). uint8_t counterDecimals = 0; // Explicit decimal places for a settled hardware counter. + const char *unit = nullptr; // Its value's unit when not the measurement's (the DMM trace's: ReadoutText::form). }; struct Placed { ReadoutParts parts; diff --git a/include/openosc/ui/components/readout_text.hpp b/include/openosc/ui/components/readout_text.hpp index 267b9fd4..5c80fc9c 100644 --- a/include/openosc/ui/components/readout_text.hpp +++ b/include/openosc/ui/components/readout_text.hpp @@ -55,6 +55,8 @@ class ReadoutText { // limit: a bounded value's significant digits (Measurements::digits; 0: unbounded, the forms as // they are). No form then shows more, a coarse form's fixed decimals included ("12.35kHz" and // ">99.99%" are refused at 2 or 3), and ">99%" is that value's bound at two. + // unit: the value's unit in place of the measurement's (the DMM trace's readings, any quantity); + // peak to peak then takes its short tag "pp" in every form, its "V" being no longer true. static constexpr unsigned Forms = 10, Overflow = Forms - 1; // The prefix to keep near its range's edge (Format::quantity; -1: none), Scope's hysteresis. Its own // type, explicit: `gap` (a bool, after it) can never turn into a preferred prefix by position. @@ -65,7 +67,7 @@ class ReadoutText { Prefer(bool) = delete; }; static bool form(unsigned kind, bool valid, double value, const char *mark, unsigned index, ReadoutParts &output, unsigned size = 12, - unsigned limit = 0, Prefer prefer = {}, bool gap = true, unsigned counterDecimals = 0); + unsigned limit = 0, Prefer prefer = {}, bool gap = true, unsigned counterDecimals = 0, const char *unit = nullptr); // How a computed value reads in any layout (footer panels, Legacy): its mark ("~": a tone from // the spectrum, or approximate) and its digit limit (0 without a bound: Full, Vpp, ...). struct Presentation { const char *mark = ""; unsigned limit = 0; }; diff --git a/include/openosc/ui/components/scope_footer.hpp b/include/openosc/ui/components/scope_footer.hpp index d325b27c..bdc1a9e2 100644 --- a/include/openosc/ui/components/scope_footer.hpp +++ b/include/openosc/ui/components/scope_footer.hpp @@ -4,28 +4,32 @@ #include "openosc/ui/components/footer_pages.hpp" #include "openosc/ui/components/footer_panel.hpp" #include "openosc/ui/components/readout_row.hpp" +#include "openosc/ui/scope/meter_readouts.hpp" #include "openosc/ui/scope/model.hpp" namespace openosc::ui { // The Scope footer row (ScopeFooterLayout): the page FooterPages plans, painted from the last -// frame, readout result and counter snapshot it was given, so turning a page needs no new data. -// Each panel: a faint fill and frame in its channel's colour, its readouts (ReadoutRow) -// as a dimmed tag beside a bright value. The basis has no text: ReadoutIndicator lights the -// panel's bottom rail for Full and dims values that went stale; Screen shows nothing. +// frame, readout result, counter snapshot and DMM trace readouts it was given, so turning a page needs +// no new data. Each panel: a faint fill and frame in its channel's colour (the DMM trace's in its +// own), its readouts (ReadoutRow) as a dimmed tag beside a bright value. The basis has no text: +// ReadoutIndicator lights a channel panel's bottom rail for Full and dims values that went stale; +// Screen shows nothing. class ScopeFooter { public: void create(lv_obj_t *parent, const Theme &theme); - // The colours to paint with (a Scope appearance's theme, whose contents may change in place): - // repainted at once, the readouts, page and record state kept. - void theme(const Theme &theme) { theme_ = &theme; paint(); } + // The colours to paint with (a Scope appearance's theme, whose contents may change in place, and + // its DMM role): repainted at once, the readouts, page and record state kept. + void theme(const Theme &theme, uint32_t meter) { theme_ = &theme; meterColor_ = meter; paint(); } void visible(bool value) { lv_obj_set_hidden(root_, !value); } // Swap CH1/CH2 (plot::ChannelView): each input's panel, colour and number; repainted at once. void view(const plot::ChannelView &view); void clear(); // No frame on display: no scales, values or state. - void selection(const scope::ReadoutSelection &selection); + void selection(const scope::ReadoutSelection &selection, const scope::MeterReadoutSelection &meter); void frame(const plot::Model &model); // Each painted frame: the scales and spectrum pages. void readouts(const scope::ReadoutResult &result, const ReadoutState &state); void counters(const scope::CounterSnapshot &counters); + // The DMM trace, each display pass: repainted when it changes what the footer plans or shows. + void meter(const plot::MeterReadouts &meter); void nextPage(); const FooterPages &pages() const { return pages_; } // What the rails and value shades show now (Screen until a Full result is painted). @@ -47,6 +51,8 @@ class ScopeFooter { void readoutPanel(unsigned panel); void scalesPage(); void spectrumPage(); + bool meterShown() const; // The page on show has a DMM trace cell or panel. + void meterScale(char *text, size_t capacity) const; // The DMM trace's Scales panel text. // A panel's look: tinted in `color` (a channel's), or plain (theme grid) for no channel. void look(unsigned channel, const uint32_t *color); bool enabled(unsigned channel) const; @@ -54,10 +60,13 @@ class ScopeFooter { lv_obj_t *root_ = nullptr, *dots_[FooterPages::MaximumPages]{}; FooterPanel panels_[Panels]; const Theme *theme_ = nullptr; + uint32_t meterColor_ = 0; // The Scope appearance's DMM role. + plot::MeterReadouts meter_; // Neutral readout text: the Scope's readouts element colour (the appearance's Readout role). uint32_t neutral() const { return theme_->elements[unsigned(MeasurementMode::Oscilloscope)][unsigned(ElementId::Measurements)].color; } const plot::Model *model_ = nullptr; scope::ReadoutSelection selection_; + scope::MeterReadoutSelection meterSelection_; // The DMM trace's readouts (meter_ holds their values). scope::ReadoutResult result_; ReadoutIndicator indicator_; scope::CounterSnapshot counters_; diff --git a/include/openosc/ui/components/scope_styles.hpp b/include/openosc/ui/components/scope_styles.hpp index 2bdc8e77..35a314bc 100644 --- a/include/openosc/ui/components/scope_styles.hpp +++ b/include/openosc/ui/components/scope_styles.hpp @@ -24,8 +24,8 @@ struct ScopeLook { }; class ScopeStyles { public: - // A scheme's own colour of a role (Current: the theme's field; Trigger: FollowSource; Readout: - // the scheme's Text; TagText: Contrast). What "Default" means in the menu. + // A scheme's own colour of a role (Current: the theme's field, a constant for DMM; Trigger: + // FollowSource; Readout: the scheme's Text; TagText: Contrast). What "Default" means in the menu. static uint32_t base(ScopeScheme scheme, ScopeRole role, const Theme &theme); static ScopeLook look(const Theme &theme, const ScopeAppearance &appearance); // The theme the Scope screen and its menus draw with, written into `output` (the UI owner's diff --git a/include/openosc/ui/editors/measurement_editor.hpp b/include/openosc/ui/editors/measurement_editor.hpp index 95d7421c..8eaeda7f 100644 --- a/include/openosc/ui/editors/measurement_editor.hpp +++ b/include/openosc/ui/editors/measurement_editor.hpp @@ -7,27 +7,41 @@ namespace openosc::ui { class MeasurementEditor final : public PropertyList { public: - void begin(const scope::ReadoutSelection &selection, plot::ChannelView view = {}) { values_ = selection; view_ = view; } + void begin(const scope::ReadoutSelection &selection, const scope::MeterReadoutSelection &meter, plot::ChannelView view = {}) { + values_ = selection; meter_ = meter; view_ = view; + } const scope::ReadoutSelection &selection() const { return values_; } + const scope::MeterReadoutSelection &meter() const { return meter_; } const char *title() const override { return tr(TextId::MeasurementsTitle); } - static constexpr unsigned PerChannel = scope::ReadoutSelection::PerChannel; - static constexpr unsigned BasisRow = 2 * PerChannel; + // The eight channel readouts, the DMM trace's four (MeterReadoutSelection::Kinds only), the basis, then the short window. + static constexpr unsigned PerChannel=scope::ReadoutSelection::PerChannel, MeterRow=2*PerChannel, BasisRow=MeterRow+PerChannel; + static constexpr unsigned MeterKinds=sizeof scope::MeterReadoutSelection::Kinds/sizeof *scope::MeterReadoutSelection::Kinds; // Short window f/T (GitHub #171): Off, or f and T a window too short resolves from the counter. static constexpr unsigned ShortWindowRow = BasisRow + 1; - unsigned options(unsigned row) const override { return row=MeterRow) { + const auto kind=index=options(row)) return false; if (row==BasisRow) values_.basis=scope::ReadoutBasis(index); else if (row==ShortWindowRow) values_.shortWindowCounter=index!=0; + else if (row>=MeterRow) meter_.values[row-MeterRow]=uint8_t(scope::MeterReadoutSelection::Kinds[index]); else values_.values[view_.input(row / PerChannel)][row % PerChannel]=index; return true; } @@ -38,10 +52,12 @@ class MeasurementEditor final : public PropertyList { } void name(unsigned row, char *output, size_t capacity) const override { if (row>=BasisRow) PropertyList::name(row, output, capacity); + else if (row>=MeterRow) i18n::format(output, capacity, i18n::Integer(long(row-MeterRow+1))); else i18n::format(output, capacity, i18n::Integer(long(row / PerChannel + 1)), i18n::Integer(long(row % PerChannel + 1))); } private: scope::ReadoutSelection values_; + scope::MeterReadoutSelection meter_; plot::ChannelView view_; }; } // namespace openosc::ui diff --git a/include/openosc/ui/editors/scope_editor.hpp b/include/openosc/ui/editors/scope_editor.hpp index 5f0a2c3a..0754310e 100644 --- a/include/openosc/ui/editors/scope_editor.hpp +++ b/include/openosc/ui/editors/scope_editor.hpp @@ -7,8 +7,9 @@ namespace openosc::ui { class ScopeEditor : public PropertyList { public: + // channel: CH1, CH2 or (ChannelEditor::Meter) the DMM trace. void begin(const ScopeRequest &request, const plot::Options &plot, unsigned channel) { - request_ = request; plot_ = plot; channel_ = channel < 2 ? channel : 0; notice_ = nullptr; + request_ = request; plot_ = plot; channel_ = channel < 3 ? channel : 0; notice_ = nullptr; } // Why the last change was refused, for a toast; null when it applied. const char *notice() const override { return notice_; } @@ -27,6 +28,16 @@ class ChannelEditor final : public ScopeEditor { // the colour row only for Mono. enum Row : unsigned { Channel, Enabled, Coupling, Probe, Scale, Zero, Invert, TraceBrightness, Density, DensityColor, Fields }; void channelView(plot::ChannelView view) { view_ = view; } + // The DMM trace, the Channel row's third choice: its rows are Channel, Enabled (the trace shown) and + // Function, the DMM's (Preferences::meterFunction, a MeterFunctions index: the DMM screen's too). + static constexpr unsigned Meter = 2, Function = Coupling; + // meterFunction: the DMM's in force (Preferences::meterFunction), at every opening and refresh. + void begin(const ScopeRequest &request, const plot::Options &plot, unsigned channel, unsigned meterFunction) { + ScopeEditor::begin(request, plot, channel); + meterFunction_ = meterFunction; + } + bool meter() const { return channel_ == Meter; } + unsigned meterFunction() const { return meterFunction_; } const char *title() const override { return tr(TextId::ChannelTitle); } int softKey() const override { return 0; } // F1: the channel's card. void value(unsigned row, char *output, size_t capacity) const override; @@ -35,15 +46,18 @@ class ChannelEditor final : public ScopeEditor { void optionName(unsigned row, unsigned index, char *output, size_t capacity) const override; bool choose(unsigned row, unsigned index) override; void adjust(unsigned row, int direction) override; - int32_t number(unsigned row) const override { return row == Zero ? request_.frontend.position[channel_] : 0; } - void setNumber(unsigned row, int32_t value) override { if (row == Zero) request_.frontend.position[channel_] = value; } - unsigned count() const override { return plot_.channels[channel_].grade == plot::Grade::Mono ? Fields : DensityColor; } + int32_t number(unsigned row) const override { return row == Zero && !meter() ? request_.frontend.position[channel_] : 0; } + void setNumber(unsigned row, int32_t value) override { if (row == Zero && !meter()) request_.frontend.position[channel_] = value; } + unsigned count() const override { + return meter() ? Function + 1 : plot_.channels[channel_].grade == plot::Grade::Mono ? Fields : DensityColor; + } PropertyKind kind(unsigned row) const override; TextId nameId(unsigned row) const override; bool optionSwatch(unsigned row, unsigned option, uint32_t &rgb) const override; bool valueSwatch(unsigned row, uint32_t &rgb) const override { return optionSwatch(row, option(row), rgb); } private: plot::ChannelView view_; + unsigned meterFunction_ = 0; }; class AcquisitionEditor final : public ScopeEditor { public: diff --git a/include/openosc/ui/scope/channel_view.hpp b/include/openosc/ui/scope/channel_view.hpp index e067ffe2..41e651ce 100644 --- a/include/openosc/ui/scope/channel_view.hpp +++ b/include/openosc/ui/scope/channel_view.hpp @@ -5,11 +5,11 @@ namespace openosc::plot { // Settings > Display > Swap CH1/CH2: which on-screen slot shows each input in the Scope view. A slot // carries the label, number, colour and footer place; the input keeps its samples, ranges, probe, // coupling, visibility, offsets, trigger, measurements and every function's routing (X-Y, FFT, math, -// decoders). `input` and `slot` are 0 for CH1 and 1 for CH2. +// decoders). `input` and `slot` are 0 for CH1 and 1 for CH2; the DMM trace (2) is never swapped. struct ChannelView { bool swapped = false; - constexpr unsigned slot(unsigned input) const { return (input & 1U) ^ (swapped ? 1U : 0U); } - constexpr unsigned input(unsigned slot) const { return (slot & 1U) ^ (swapped ? 1U : 0U); } + constexpr unsigned slot(unsigned input) const { return input > 1 ? input : input ^ (swapped ? 1U : 0U); } + constexpr unsigned input(unsigned slot) const { return slot > 1 ? slot : slot ^ (swapped ? 1U : 0U); } constexpr unsigned number(unsigned input) const { return slot(input) + 1; } const char *inputLabel(unsigned input) const { // Swapped: "CH1 (input 2)" in the language in force. if (swapped) return tr(input ? TextId::ChannelSwappedInput2 : TextId::ChannelSwappedInput1); diff --git a/include/openosc/ui/scope/controls.hpp b/include/openosc/ui/scope/controls.hpp index c3257505..785f5d68 100644 --- a/include/openosc/ui/scope/controls.hpp +++ b/include/openosc/ui/scope/controls.hpp @@ -78,6 +78,9 @@ class Controls { void adjust(unsigned row, int direction, bool fine = true); int32_t number(unsigned row) const; void setNumber(unsigned row, int32_t value); + // The Cursors section's Channel row also offers the DMM trace while it is on (CursorOptions::Meter): + // the level cursors' channel; `channel`, the CH rows', keeps the last channel chosen. + bool meterChannel() const { return group == Group::Cursors && options.meter.shown; } private: static constexpr int32_t PpbPerPermille = Options::PanFull / 1000; void adjustPan(int direction, bool fine); diff --git a/include/openosc/ui/scope/meter_readouts.hpp b/include/openosc/ui/scope/meter_readouts.hpp new file mode 100644 index 00000000..42ed3f2a --- /dev/null +++ b/include/openosc/ui/scope/meter_readouts.hpp @@ -0,0 +1,38 @@ +#pragma once +#include "openosc/acquisition/measurements.hpp" +#include "openosc/ui/scope/model.hpp" + +namespace openosc::dmm { +class ReadingTrace; +} +namespace openosc::plot { +// Where a reading of the DMM trace (dmm::ReadingTrace) lies on a record's time axis: in record points +// after its first, which was taken at FrameMetadata::timestampUs (the readings' clock), at its rate. +// last: the record's last point. +struct MeterAxis { + explicit MeterAxis(const scope::FrameMetadata &m) + : originMs(uint32_t(m.timestampUs / 1000)), originUs(double(m.timestampUs % 1000)), rate(m.samplesPerSecond.value()), + last(m.samples > 1 ? double(m.samples - 1) : 0) {} + bool valid() const { return rate > 0 && last > 0; } + double point(uint32_t ms) const { return (double(int32_t(ms - originMs)) * 1000 - originUs) * rate / 1e6; } + uint32_t originMs; + double originUs, rate, last; +}; +// The Scope's DMM trace for the footer (ScopeFooter::meter), each display pass: whether it is shown (a +// Y-T or Y-T+FFT view), its scale and its readouts (MeterReadoutSelection) over the visible window. +// They are of the readings its line draws there, up to the record's last point; a window that holds +// none (shorter than the readings' interval) has the one in force at its start, its level. RMS is +// offered unless the DMM function is an AC one, whose readings are RMS values already. +struct MeterReadouts { + bool shown = false, valid = false, rmsOffered = false; + double mean = 0, minimum = 0, maximum = 0, rms = 0; + double perDivision = 0; // Its units/div (MeterScale); 0 until a reading of a scaled quantity. + const char *unit = "", *function = ""; // MeterScale's SI unit; the DMM function's name. + bool offers(scope::Measurement kind) const { return kind != scope::Measurement::Rms || rmsOffered; } + bool value(scope::Measurement kind, double &output) const; + // The scale and readouts of `readings` over the window `model` shows (shown, rmsOffered and + // function are the caller's). + void calculate(const dmm::ReadingTrace &readings, const Model &model); + bool operator==(const MeterReadouts &o) const; +}; +} // namespace openosc::plot diff --git a/include/openosc/ui/scope/meter_scale.hpp b/include/openosc/ui/scope/meter_scale.hpp new file mode 100644 index 00000000..64cfbec1 --- /dev/null +++ b/include/openosc/ui/scope/meter_scale.hpp @@ -0,0 +1,36 @@ +#pragma once +#include "openosc/data/units.hpp" +#include + +namespace openosc::plot { +// The DMM trace's units/div in 1-2-5 steps of the reading's SI unit: step 0 is one unit a division, +// steps 1, 2, 3 are 2, 5, 10, step -1 is 0.5. Each quantity has a span of its own that covers the +// readings of its functions on both boards. +class MeterScale { +public: + // The quantities with a scale: Voltage .. Temperature (Quantity 1-6), in that order. + static constexpr unsigned Quantities = 6; + static constexpr bool scaled(Quantity quantity) { return quantity > Quantity::Unknown && quantity <= Quantity::Temperature; } + static constexpr unsigned index(Quantity quantity) { return unsigned(quantity) - 1; } // Of a scaled() quantity. + struct Span { + int8_t lowest, highest, initial; // Steps. + const char *unit, *key; // The SI unit's symbol (temperature in degrees Celsius); the JSON key. + }; + static constexpr Span Spans[Quantities] = { + {-9, 8, 0, "V", "voltage"}, // 1 mV .. 500 V, 1 V + {-18, 2, -3, "A", "current"}, // 1 uA .. 5 A, 100 mA + {0, 23, 9, "Ω", "resistance"}, // 1 Ohm .. 50 MOhm, 1 kOhm + {-33, -4, -18, "F", "capacitance"}, // 10 pF .. 50 mF, 1 uF + {0, 23, 9, "Hz", "frequency"}, // 1 Hz .. 50 MHz, 1 kHz + {0, 8, 3, "°C", "temperature"} // 1 .. 500 degC, 10 degC + }; + static bool valid(unsigned index, int step) { return step >= Spans[index].lowest && step <= Spans[index].highest; } + static double perDivision(int step); + // The step of a units/div value within a quantity's span (a hand-edited file); false for none. + static bool step(unsigned index, double perDivision, int8_t &output); + // AUTO's: the smallest step of the span at which readings from `minimum` to `maximum` lie within the + // plot's `divisions` vertical divisions, its zero `zero` divisions above the middle line. None: the + // largest, false. + static bool fit(unsigned index, double minimum, double maximum, double zero, int divisions, int8_t &output); +}; +} // namespace openosc::plot diff --git a/include/openosc/ui/scope/model.hpp b/include/openosc/ui/scope/model.hpp index bbe8f5ae..bbbd23c7 100644 --- a/include/openosc/ui/scope/model.hpp +++ b/include/openosc/ui/scope/model.hpp @@ -108,6 +108,8 @@ class Model { scope::Channel triggerChannel() const { return triggerChannel_; } const scope::SpectrumResult &spectrum() const { return spectrum_.result; } double spectrumFrequency(unsigned permille) const; + // The FFT's work bytes (SpectrumStorage::work): a draw task's scratch. + unsigned char *drawScratch() const { return spectrum_.work; } private: bool projectTime(const scope::FrameView &frame, bool fresh, uint32_t now, const ColumnCache *cache); diff --git a/include/openosc/ui/scope/options.hpp b/include/openosc/ui/scope/options.hpp index 99defeb7..d88cc4aa 100644 --- a/include/openosc/ui/scope/options.hpp +++ b/include/openosc/ui/scope/options.hpp @@ -1,6 +1,7 @@ #pragma once #include #include "openosc/acquisition/spectrum.hpp" +#include "openosc/ui/scope/meter_scale.hpp" namespace openosc::plot { constexpr unsigned MaximumWidth = 320, MaximumHeight = 240, MaximumXYPoints = 640; @@ -53,6 +54,7 @@ struct ChannelOptions { bool graded() const { return grade != Grade::Off; } }; struct CursorOptions { + static constexpr uint8_t Meter = 2; // channel: the DMM trace's level cursors, in its units (MeterTraceOptions). uint16_t xA = 250, xB = 750, yA = 250, yB = 750; uint8_t channel = 0; bool time = false, voltage = false; @@ -89,6 +91,25 @@ struct MathView { removeDc == o.removeDc && scaleStep == o.scaleStep; } }; +// The Scope's DMM trace (DataAccess::meterReadings, drawn in Y-T and Y-T+FFT): shown or not, where its +// zero lies, each quantity's units/div (MeterScale steps, in MeterScale's order) and the channel kept +// only as its time axis. +struct MeterTraceOptions { + // Its zero from the middle line, as a channel's: stored up to four divisions either way (the + // eight-division grid's half); Up/Down keep it within the shown grid's half (2.5 divisions on the + // square grid). + static constexpr int8_t PositionSteps = 20, PositionLimit = 4 * PositionSteps; // Per division. + static constexpr uint8_t NoAxis = 2; + bool shown = false; + int8_t position = 0; // Its zero above the plot's middle line, in 1/PositionSteps of a division. + int8_t scales[MeterScale::Quantities] = {MeterScale::Spans[0].initial, MeterScale::Spans[1].initial, + MeterScale::Spans[2].initial, MeterScale::Spans[3].initial, + MeterScale::Spans[4].initial, MeterScale::Spans[5].initial}; + // The last channel switched off while the trace is shown: captured on as the record's time axis, + // nothing of it shown (plot::ChannelDisplay); NoAxis: none. Only while the trace is shown. + uint8_t axis = NoAxis; + bool valid() const; +}; struct Options { Mode mode = Mode::Time; Style style = Style::Vectors; @@ -96,19 +117,21 @@ struct Options { Math math = Math::Off; Reduction reduction = Reduction::Peak; Interpolation interpolation = Interpolation::Linear; + // zoomOut views more than one screen of a longer record. Zoom & Pan keeps one of zoom/zoomOut at 1 (ViewZoom). + // Here, after the six choices, they fill the padding before channels: Options keeps its 104 bytes. + uint8_t averaging = 1, zoomOut = 1; ChannelOptions channels[2]; CursorOptions cursors; scope::SpectrumOptions spectrum; uint16_t zoom = 1, persistenceMs = 0; int32_t panPpb = 0; // Parts per billion of the record (PanFull: all of it). static constexpr int32_t PanFull = 1000000000; - // zoomOut views more than one screen of a longer record. Zoom & Pan keeps one of zoom/zoomOut at 1 (ViewZoom). - uint8_t averaging = 1, zoomOut = 1; uint8_t gridBrightness = Brightness::Full; // Brightness, GitHub #86. static constexpr uint16_t MaximumZoom = 256; static constexpr uint8_t MaximumZoomOut = 64; bool lockTrigger = true, showTrigger = true, showZero = true, glow = false, peakHold = false, showScale = true; + MeterTraceOptions meter; // Bytes, with the flags before heldTimebaseNs: in what was its padding. // The time/div a held record is shown at: the next capture's, chosen in HOLD (issue #7), so the // held view shows what RUN will use. 0: the record's own. View only, never the record's metadata. uint64_t heldTimebaseNs = 0; @@ -126,11 +149,16 @@ struct Options { static constexpr uint16_t DensityHistoryMs = 1000; uint16_t densityHistoryMs() const { return persistenceMs ? persistenceMs : DensityHistoryMs; } bool graded() const { return (mode == Mode::Time || mode == Mode::SpectrumOverlay) && (channels[0].graded() || channels[1].graded()); } + // A channel's trace and its marks drawn: visible, and not the DMM trace's hidden time axis. + bool drawn(unsigned channel) const { return channel < 2 && channels[channel].visible && meter.axis != channel; } bool valid() const; bool sameTransform(const Options &other) const; // What HOLD may change to explore one record; a new capture starts from `saved` again. void restoreHeldView(const Options &saved); }; +// Every Theme holds the plot options, and SRAM4 holds three Themes (JsonWorkspace): on the ZT703S it has +// no bytes to spare, so a field that grows this struct has to be paid for there first. +static_assert(sizeof(Options) == 104, "plot::Options grew: check the Themes' room in SRAM4"); struct Point { int16_t x = Missing, y = Missing; }; diff --git a/include/openosc/ui/scope/painter.hpp b/include/openosc/ui/scope/painter.hpp index 3e7e44ce..4f0aad2c 100644 --- a/include/openosc/ui/scope/painter.hpp +++ b/include/openosc/ui/scope/painter.hpp @@ -7,18 +7,23 @@ #include "openosc/ui/scope/spectrum_labels.hpp" #include "openosc/settings/color_value.hpp" +namespace openosc::dmm { +class ReadingTrace; +} namespace openosc::plot { // The plot's colours. trigger: FollowSource draws the trigger marks in the source channel's colour; // tagText: Contrast writes on a coloured tag (zero tags, the active cursor's) in the ink that // contrasts with that tag (ColorContrast); readout: neutral texts on the plot (scales, record-edge -// and spectrum labels). The Scope appearance's Trigger, TagText and Readout roles (ScopeLook). +// and spectrum labels); meter: the DMM trace's line, zero tag and level cursors. The +// Scope appearance's Trigger, TagText, Readout and DMM roles (ScopeLook). // channels: the on-screen CH1 and CH2 slots' colours; view: the slot each input shows in (channel()). struct Palette { static constexpr uint32_t FollowSource = 0xffffffffu, Contrast = 0xfffffffeu; uint32_t background = 0, grid = 0, channels[2]{}, math = 0, reference = 0xa78bfa, cursor = 0xe2e8f0; - uint32_t trigger = FollowSource, tagText = Contrast, readout = 0xe2e8f0; + uint32_t trigger = FollowSource, tagText = Contrast, readout = 0xe2e8f0, meter = 0x4ade80; ChannelView view; - uint32_t channel(unsigned input) const { return channels[view.slot(input)]; } // An input's colour on screen. + // An input's colour on screen; the DMM trace (2) keeps its own in either channel order. + uint32_t channel(unsigned input) const { return input < 2 ? channels[view.slot(input)] : meter; } uint32_t triggerColor(unsigned source) const { return trigger == FollowSource ? channel(source) : trigger; } uint32_t tagInk(uint32_t fill) const { return tagText == Contrast ? ColorContrast::ink(fill) : tagText; } }; @@ -33,11 +38,13 @@ struct TriggerMark { }; class Painter { public: - // frame: the whole waveform object; the plot is frame less the PlotFrame margins. + // frame: the whole waveform object; the plot is frame less the PlotFrame margins. meter: the + // readings of the Scope's DMM trace (Options::meter), drawn in Y-T and Y-T+FFT at every timebase. Painter(lv_layer_t *layer, const lv_area_t &frame, Model &model, const Palette &palette, - bool inlineScales = true, TriggerMark trigger = {}, int counterHeight = 0) + bool inlineScales = true, TriggerMark trigger = {}, int counterHeight = 0, + const dmm::ReadingTrace *meter = nullptr) : layer_(layer), frame_(frame), area_(plotArea(frame, model.options())), model_(model), palette_(palette), inlineScales_(inlineScales), - trigger_(trigger), counterHeight_(counterHeight) {} + trigger_(trigger), counterHeight_(counterHeight), meter_(meter) {} void draw(); static lv_area_t plotArea(const lv_area_t &frame, const Options &options) { const auto fitted = PlotFrame::fit(PlotFrame::plotWidth(lv_area_get_width(&frame)), @@ -54,6 +61,16 @@ class Painter { void recordGaps(const RecordGaps &gaps); // The window's parts outside the record (record_edges.cpp). void recordGapLabels(const RecordGaps &gaps); void traces(); + void meterTrace(); + // The DMM trace's plot rows per division: the shown grid's (8, or 5 on the square grid). + double meterDivision() const { + return double(model_.viewport().height - 1) / PlotFrame::verticalDivisions(model_.options().usesSquareGrid()); + } + // The DMM trace's zero in plot rows (MeterTraceOptions::position), unrounded. + double meterZero() const { + return double(model_.viewport().height - 1) / 2 - + double(model_.options().meter.position) / MeterTraceOptions::PositionSteps * meterDivision(); + } void glow(unsigned channel); void density(unsigned channel); // A graded channel's density plane, from its own palette (GitHub #85). bool densityShown(unsigned channel) const; // Graded with levels to draw: no trace, no glow over it. @@ -72,7 +89,7 @@ class Painter { void line(int x1, int y1, int x2, int y2, uint32_t color, uint8_t opacity = 255, bool dashed = false, unsigned width = 1); void cursorLine(CursorLine name, const char *label, int x1, int y1, int x2, int y2, int tagX, int tagY, uint32_t color); void triangle(Point a, Point b, Point c, uint32_t color); - void zeroTag(unsigned channel, int zero, int centre, int bottom); + void zeroTag(unsigned channel, int zero, int centre, int bottom, bool math = false); void limitBadge(int y, int limit, int h, uint32_t color); // TriggerMark::limit beside the marker at y. lv_layer_t *layer_; lv_area_t frame_, area_; // area_: the plot; drawing coordinates are relative to its corner. @@ -82,6 +99,8 @@ class Painter { TriggerMark trigger_; int counterHeight_; SpectrumLabels spectrumLabels_{}; // The FFT view's labels, set by spectrum() before its cursors(). + const dmm::ReadingTrace *meter_; + bool meterAbove_ = false, meterBelow_ = false; // meterTrace's line beyond the plot's top, bottom (markers). }; class Path { public: diff --git a/include/openosc/ui/scope/plot_frame.hpp b/include/openosc/ui/scope/plot_frame.hpp index 1c9b32ba..aea7930b 100644 --- a/include/openosc/ui/scope/plot_frame.hpp +++ b/include/openosc/ui/scope/plot_frame.hpp @@ -2,7 +2,7 @@ namespace openosc::plot { // The waveform object is the plot plus narrow margins that hold its position markers, so no -// marker covers the signal: left, the CH1/CH2 zero tags; right, the trigger level; top, the +// marker covers the signal: left, the CH1/CH2 and DMM zero tags; right, the trigger level; top, the // trigger position. The model projects onto the plot only (its Viewport is the plot's size); // the theme places the object, so the stock layouts keep a 300-column plot. struct PlotFrame { @@ -38,12 +38,14 @@ struct PlotFrame { static_assert(PlotFrame::ObjectX >= 0 && PlotFrame::ObjectX + PlotFrame::ObjectWidth <= 320, "Stock object fits the panel"); static_assert(PlotFrame::TipWidth >= 2, "Room for the zero tag's tip"); -// Vertical places of the two zero tags in the left margin (plot coordinates). Each tag is centred -// on its channel's zero clamped to the plot; a zero above or below the plot puts its tag at that -// end, leaving room for its arrow; two tags closer than a tag apart move away from each other -// around their middle and stay inside the margin's height; the tips still point at the exact zeros. +// Vertical places of the zero tags in the left margin (plot coordinates): CH1, CH2 and the DMM +// trace. Each tag is centred on its zero clamped to the plot; a zero above or below the plot puts +// its tag at that end, leaving room for its arrow; tags closer than a tag apart move away from each +// other around their middle, a tag apart, and stay inside the margin's height; the tips still point +// at the exact zeros. struct ZeroTags { - static void place(const int (&zero)[2], const bool (&shown)[2], int plotHeight, int (¢re)[2]); - static int mathCentre(int zero, int plotHeight, const bool (&shown)[2], const int (¢re)[2]); + static constexpr unsigned Count = 3; + static void place(const int (&zero)[Count], const bool (&shown)[Count], int plotHeight, int (¢re)[Count]); + static int mathCentre(int zero, int plotHeight, const bool (&shown)[Count], const int (¢re)[Count]); }; } // namespace openosc::plot diff --git a/include/openosc/ui/scope/tag_digits.hpp b/include/openosc/ui/scope/tag_digits.hpp index 961e2380..5395c213 100644 --- a/include/openosc/ui/scope/tag_digits.hpp +++ b/include/openosc/ui/scope/tag_digits.hpp @@ -10,13 +10,16 @@ namespace openosc::plot { struct TagDigits { static constexpr int Width = 5, Height = 7; static constexpr int Left = (PlotFrame::TagWidth - Width) / 2, Top = (PlotFrame::TagHeight - Height) / 2; - // Rows top to bottom; bit Width-1 is the leftmost column. Index: channel (0: "1", 1: "2"). - static constexpr uint8_t Rows[2][Height] = { + // Rows top to bottom; bit Width-1 is the leftmost column. Index: channel (0: "1", 1: "2"), 2: the + // DMM trace ("M"). + static constexpr unsigned Glyphs = 3; + static constexpr uint8_t Rows[Glyphs][Height] = { {0b00100, 0b01100, 0b00100, 0b00100, 0b00100, 0b00100, 0b01110}, {0b01110, 0b10001, 0b00001, 0b00010, 0b00100, 0b01000, 0b11111}, + {0b10001, 0b11011, 0b10101, 0b10101, 0b10001, 0b10001, 0b10001}, }; static constexpr bool ink(unsigned channel, int x, int y) { - return channel < 2 && x >= 0 && x < Width && y >= 0 && y < Height && (Rows[channel][y] >> (Width - 1 - x)) & 1U; + return channel < Glyphs && x >= 0 && x < Width && y >= 0 && y < Height && (Rows[channel][y] >> (Width - 1 - x)) & 1U; } }; static_assert((PlotFrame::TagWidth - TagDigits::Width) % 2 == 0 && (PlotFrame::TagHeight - TagDigits::Height) % 2 == 0, diff --git a/include/openosc/ui/scope/trace_move.hpp b/include/openosc/ui/scope/trace_move.hpp index 72020f57..0e02f73c 100644 --- a/include/openosc/ui/scope/trace_move.hpp +++ b/include/openosc/ui/scope/trace_move.hpp @@ -32,4 +32,22 @@ class XyMode { static void constrain(const Options &options, ScopeRequest &request); static bool crossed(Mode before, Mode after) { return (before == Mode::XY) != (after == Mode::XY); } }; +// A channel shown: on in the capture and not the DMM trace's hidden time axis (MeterTraceOptions::axis). +// With the DMM trace shown the last channel shown may go off as well: with no other channel on it stays +// on, hidden, the time axis of the record the DMM line is drawn on, and the trigger becomes Auto (an +// edge no one sees would hold the line). The DMM trace switched off shows that channel again; the other +// channel switched on switches it off. +class ChannelDisplay { +public: + static bool shown(const ScopeRequest &request, const Options &options, unsigned channel) { + return channel < 2 && request.frontend.enabled[channel] && options.meter.axis != channel; + } + // In a record (a held one: what it holds). + static bool shown(const scope::FrameMetadata &record, const Options &options, unsigned channel) { + return channel < 2 && record.channels[channel].enabled && options.meter.axis != channel; + } + // False where the channel stays as it is (the last one shown without the DMM trace, or the capture's rule). + static bool show(ScopeRequest &request, Options &options, unsigned channel, bool on); + static void meter(Options &options, bool on); +}; } // namespace openosc::plot diff --git a/include/openosc/ui/screens/scope_screen.hpp b/include/openosc/ui/screens/scope_screen.hpp index d5d2e40f..074303c7 100644 --- a/include/openosc/ui/screens/scope_screen.hpp +++ b/include/openosc/ui/screens/scope_screen.hpp @@ -5,6 +5,7 @@ #include "openosc/acquisition/counter_window.hpp" #include "openosc/generator/waveform.hpp" #include "openosc/ui/scope/cursor_control.hpp" +#include "openosc/ui/scope/meter_readouts.hpp" #include "openosc/ui/screens/instrument_screen.hpp" namespace openosc::ui { @@ -17,6 +18,16 @@ class ScopeScreen final : public InstrumentScreen { void settings(const scope::FrameMetadata &next, unsigned channel); // panReverse: Settings > Display > Pan direction, for Zoom & Pan's Left/Right hint. void context(unsigned channel, plot::Focus focus, bool panReverse = false, bool math = false); + // The DMM trace on the Scale and Position cards while F1/F2 select it: its units/div in `unit` + // (plot::MeterScale) and the DMM function's name. Not selected: the channel's cards. + struct Meter { + bool selected = false; + double perDivision = 0; + const char *unit = "", *function = ""; + }; + void meter(const Meter &meter); + // The DMM trace's readouts and scale to the footer, each display pass (not under a panel). + void meterReadouts(const plot::MeterReadouts &readouts); void generator(const generator::Snapshot &output, bool captureHalved); // Settings > Display > Swap CH1/CH2: the plot, footer and cards relabelled at once (HOLD included). void channelView(const plot::ChannelView &view) { host_.channelView(view); cards(); } @@ -48,6 +59,7 @@ class ScopeScreen final : public InstrumentScreen { void select(unsigned channel); // The cards' channel, its trace drawn in front (#81). unsigned channel_ = 0; bool mathSelected_ = false; + Meter meter_; bool held_ = false, valid_ = false; plot::Focus focus_ = plot::Focus::Scale; bool panReverse_ = false; diff --git a/include/openosc/ui/waveform.hpp b/include/openosc/ui/waveform.hpp index e6c72ba1..440a9e54 100644 --- a/include/openosc/ui/waveform.hpp +++ b/include/openosc/ui/waveform.hpp @@ -17,7 +17,7 @@ class WaveformWidget { void colors(const Theme &theme); // The Scope appearance's roles the theme has no field for (plot::Palette: FollowSource and // Contrast keep their automatic meaning); repaints. Never touches the record or the options. - void roles(uint32_t trigger, uint32_t tagText, uint32_t readout); + void roles(uint32_t trigger, uint32_t tagText, uint32_t readout, uint32_t meter); const plot::Palette &palette() const { return palette_; } // The colours in force (tests). // Swap CH1/CH2 (plot::ChannelView): repaints the record on show, a held one included; never // touches the record, the options or the model. @@ -47,6 +47,8 @@ class WaveformWidget { int noteRoom() const; // Text width, excluding padding. // The frequency counter overlay in the top left corner; empty hides it. void counter(const char *text, uint32_t color); + // The Scope's DMM trace: the readings its line is drawn from (nullptr: none). + void meterReadings(const dmm::ReadingTrace *readings); const char *note() const { return note_ && !lv_obj_is_hidden(note_) ? lv_label_get_text(note_) : ""; } // On show. void service(uint32_t now); bool captureReference(unsigned channel); @@ -76,5 +78,6 @@ class WaveformWidget { plot::TriggerMark triggerMark_; bool held_ = false, inlineScales_ = true; const plot::ColumnCache *cache_ = nullptr; + const dmm::ReadingTrace *meter_ = nullptr; }; } // namespace openosc diff --git a/ld/application.ld b/ld/application.ld index 4651c2a8..bffca065 100644 --- a/ld/application.ld +++ b/ld/application.ld @@ -6,8 +6,9 @@ MEMORY { AHB (rw) : ORIGIN = 0x30000000, LENGTH = 128K SRAM4 (rw) : ORIGIN = 0x38000000, LENGTH = 32K /* ITCM (64 KiB at 0; the CPU, the debugger and MDMA reach it, DMA1/2 and DMA2D do not): the - decoder workspace and, in firmware_trace builds, the USB trace ring (sections below). The - first 1 KiB stays unused, so no object has the null address. */ + decoder workspace, the Scope's DMM trace readings and, in firmware_trace builds, the USB trace + ring in their room (sections below). The first 1 KiB stays unused, so no object has the null + address. */ ITCM (rw) : ORIGIN = 0x00000400, LENGTH = 63K } _estack = ORIGIN(RAM) + LENGTH(RAM); @@ -57,8 +58,6 @@ SECTIONS { zeroes both in 64-bit ECC words before any constructor runs (the job is built in place later). */ .decode_workspace (NOLOAD) : { . = ALIGN(8); _sdecode_workspace = .; KEEP(*(.decode_workspace)) . = ALIGN(8); _edecode_workspace = .; } > ITCM .usb_trace (NOLOAD) : { _susb_trace = .; KEEP(*(.usb_trace)) . = ALIGN(8); _eusb_trace = .; } > ITCM - /* Software drawing's reusable silhouette, initialized in 64-bit ECC words at reset. */ - .scope_glow (NOLOAD) : { . = ALIGN(8); _sscope_glow = .; KEEP(*(.scope_glow)) . = ALIGN(8); _escope_glow = .; } > ITCM /* The frequency response session (GitHub #72, both boards: its settings, sweep and 256 points), zeroed at reset in 64-bit ECC words, built in place on first use. */ .bode (NOLOAD) : { . = ALIGN(8); _sbode = .; KEEP(*(.bode)) . = ALIGN(8); _ebode = .; } > ITCM @@ -66,6 +65,10 @@ SECTIONS { .scpi_measure (NOLOAD) : { . = ALIGN(8); _sscpi_measure = .; KEEP(*(.scpi_measure)) . = ALIGN(8); _escpi_measure = .; } > ITCM /* The DMM session recorder (GitHub #144: its file, record and accumulators), zeroed at reset, built in place on first use. */ .dmm_log (NOLOAD) : { . = ALIGN(8); _sdmm_log = .; KEEP(*(.dmm_log)) . = ALIGN(8); _edmm_log = .; } > ITCM + /* The Scope's DMM trace readings (DataAccess::meterReadings) and the copy of them a CSV or CSV.gz save's dmm + column is written from (DataAccess::meterColumn): the CPU's alone, zeroed at reset in 64-bit ECC words. + Empty in OPENOSC_USB_TRACE builds: their trace ring takes this room. */ + .meter_trace (NOLOAD) : { . = ALIGN(8); _smeter_trace = .; KEEP(*(.meter_trace)) . = ALIGN(8); _emeter_trace = .; } > ITCM /DISCARD/ : { *(.comment) *(.note*) } ASSERT(_ebss + 49152 < _estack, "Application leaves less than 48 KiB stack") ASSERT(ADDR(.runtime_vectors) == ORIGIN(RAM) && SIZEOF(.runtime_vectors) == 1024, "Runtime vectors must open DTCM") @@ -76,8 +79,8 @@ SECTIONS { ASSERT(SIZEOF(.capture_arena) == 393216, "Record banks 1-3 must be 384 KiB of AXI SRAM") ASSERT(SIZEOF(.acquisition) == 131072, "Record bank 0 must be the 128 KiB AHB SRAM") ASSERT(SIZEOF(.decode_workspace) <= 40960, "Decoder workspace exceeds its 40 KiB plan") - ASSERT(SIZEOF(.decode_workspace) + SIZEOF(.usb_trace) + SIZEOF(.scope_glow) + SIZEOF(.bode) + SIZEOF(.scpi_measure) + SIZEOF(.dmm_log) <= LENGTH(ITCM), - "ITCM: decoder, trace ring, Glow silhouette, Bode session, SCPI measure and DMM session recorder exceed usable RAM") + ASSERT(SIZEOF(.decode_workspace) + SIZEOF(.usb_trace) + SIZEOF(.bode) + SIZEOF(.scpi_measure) + SIZEOF(.dmm_log) + SIZEOF(.meter_trace) <= LENGTH(ITCM), + "ITCM: decoder, trace ring, Bode session, SCPI measure, DMM session recorder and DMM trace exceed usable RAM") ASSERT(SIZEOF(.capture_trial) == 16384, "The AutoSetup trial area must be AXI SRAM") ASSERT(SIZEOF(.capture_nodes) == 960, "MDMA history nodes must be AXI SRAM") ASSERT(LOADADDR(.dma_data) + SIZEOF(.dma_data) <= __openosc_flash_end, "Application exceeds Flash reservation") diff --git a/locales/en.json b/locales/en.json index a0101999..d3661e94 100644 --- a/locales/en.json +++ b/locales/en.json @@ -468,6 +468,10 @@ "msg_release_hold_to_change_function": "Release HOLD to change function", "msg_trend_longest_window": "Longest trend window", "msg_trend_shortest_window": "Shortest trend window", + "msg_release_hold_in_dmm_to_change_function": { + "full": "Release HOLD in the DMM to change function", + "note": "From the Scope: HOLD was pressed on the DMM screen" + }, "msg_measurement_command_busy": "Measurement command busy", "msg_thermocouple_set_manual_junction_in_menu": "Thermocouple: set Manual junction in MENU", "msg_type_junction": { @@ -478,6 +482,29 @@ "to" ] }, + "msg_largest_dmm_scale": { + "full": "Largest DMM scale", + "note": "The Scope's DMM trace: its units/div at the largest step" + }, + "msg_smallest_dmm_scale": { + "full": "Smallest DMM scale", + "note": "The Scope's DMM trace: its units/div at the smallest step" + }, + "msg_no_dmm_readings_on_screen": "No DMM readings on screen", + "msg_dmm_zero_leaves_no_room": "DMM zero leaves no room: move it", + "msg_dmm_readings_beyond_largest_scale": "DMM readings beyond its largest scale", + "msg_past_20s_div_roll_trigger_auto": { + "full": "Past 20 s/div: Roll, trigger Auto", + "note": "Timebases slower than 20 s/div capture in Roll with the trigger in Auto" + }, + "msg_dmm_alone_trigger_auto": { + "full": "DMM alone: trigger Auto", + "note": "The DMM trace is the only one shown: the trigger runs in Auto" + }, + "msg_thermocouple_set_manual_junction_in_dmm_menu": { + "full": "Thermocouple: set Manual junction in the DMM's MENU", + "note": "From the Scope: MENU is the key that opens the DMM's menu in the DMM mode" + }, "msg_center_trigger_needs_y_t": "Center trigger needs Y-T", "msg_trigger_centered": "Trigger centered", "msg_no_record_to_move": "No record to move", @@ -800,6 +827,11 @@ "measure_minimum": "Minimum", "measure_maximum": "Maximum", "measure_ac_rms": "AC RMS", + "measure_rms_not_in_ac": { + "full": "RMS (not in AC functions)", + "short": "RMS (not AC)", + "note": "A DMM trace readout: none in the DMM's AC functions" + }, "measure_duty": "Duty", "measure_pulses": "Pulses (rising edges)", "measure_counter_frequency": "Hardware frequency / FCNT", @@ -819,6 +851,7 @@ "index" ] }, + "dmm_readout": "DMM readout {index}", "channel_title": "CHANNEL", "acquisition_title": "ACQUISITION", "channel": "Channel", @@ -840,6 +873,14 @@ "points" ] }, + "channel_off_hidden": { + "full": "Off, hidden", + "note": "A channel kept on only as the time axis of the DMM trace" + }, + "channel_dmm_function": { + "full": "Function", + "note": "The DMM trace's channel menu: the DMM function" + }, "xy_needs_both": "X-Y needs CH1 and CH2 on", "ch1_last_on": "CH1 is the last channel on", "ch2_last_on": "CH2 is the last channel on", @@ -1435,6 +1476,10 @@ "role_channel1": "CH1", "role_channel2": "CH2", "role_math": "Math", + "role_dmm": { + "full": "DMM", + "note": "The colour of the Scope's DMM trace" + }, "role_selection": "Selection", "role_readouts": "Readouts", "role_tag_text": "Tag text", diff --git a/locales/es.json b/locales/es.json index 05a2f0dd..430dac69 100644 --- a/locales/es.json +++ b/locales/es.json @@ -627,9 +627,18 @@ "msg_release_hold_to_change_function": "Suelte HOLD para cambiar de función", "msg_trend_longest_window": "Ventana de tendencia máxima", "msg_trend_shortest_window": "Ventana de tendencia mínima", + "msg_release_hold_in_dmm_to_change_function": "Suelte HOLD en el multímetro para cambiar de función", "msg_measurement_command_busy": "Comando de medición ocupado", "msg_thermocouple_set_manual_junction_in_menu": "Termopar: ajuste la unión manual en MENU", "msg_type_junction": "Tipo {type}: unión fría {from}..{to} °C", + "msg_largest_dmm_scale": "Escala máxima de DMM", + "msg_smallest_dmm_scale": "Escala mínima de DMM", + "msg_no_dmm_readings_on_screen": "No hay lecturas de DMM en pantalla", + "msg_dmm_zero_leaves_no_room": "El cero de DMM no deja espacio: muévalo", + "msg_dmm_readings_beyond_largest_scale": "Lecturas de DMM fuera de su escala máxima", + "msg_past_20s_div_roll_trigger_auto": "Más de 20 s/div: Roll, disparo Auto", + "msg_dmm_alone_trigger_auto": "Solo DMM: disparo Auto", + "msg_thermocouple_set_manual_junction_in_dmm_menu": "Termopar: ajuste la unión manual en el MENU del multímetro", "msg_center_trigger_needs_y_t": "Centrar el disparo requiere Y-T", "msg_trigger_centered": "Disparo centrado", "msg_no_record_to_move": "Ningún registro que mover", @@ -1033,6 +1042,10 @@ "measure_minimum": "Mínimo", "measure_maximum": "Máximo", "measure_ac_rms": "RMS CA", + "measure_rms_not_in_ac": { + "full": "RMS (no en funciones CA)", + "short": "RMS (no CA)" + }, "measure_duty": { "full": "Ciclo de trabajo", "short": "Ciclo trab." @@ -1076,6 +1089,7 @@ "short": "Vent. corta f/T" }, "channel_readout": "CH{channel} lectura {index}", + "dmm_readout": "DMM lectura {index}", "channel_title": "CANAL", "acquisition_title": "ADQUISICIÓN", "channel": "Canal", @@ -1097,6 +1111,8 @@ "density_mono": "Mono", "channel_on_points": "Act., {points} ptos", "channel_off_other_points": "Desact., CH{channel} {points} ptos", + "channel_off_hidden": "Desact., oculto", + "channel_dmm_function": "Función", "xy_needs_both": "X-Y requiere CH1 y CH2 activos", "ch1_last_on": { "full": "CH1 es el último canal activo", @@ -1811,6 +1827,7 @@ "role_channel1": "CH1", "role_channel2": "CH2", "role_math": "Matemáticas", + "role_dmm": "Multímetro", "role_selection": "Selección", "role_readouts": "Lecturas", "role_tag_text": { diff --git a/locales/ru.json b/locales/ru.json index c1c05121..99630967 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -497,9 +497,18 @@ "msg_release_hold_to_change_function": "Снимите HOLD, чтобы сменить функцию", "msg_trend_longest_window": "Окно тренда уже максимальное", "msg_trend_shortest_window": "Окно тренда уже минимальное", + "msg_release_hold_in_dmm_to_change_function": "Снимите HOLD в мультиметре, чтобы сменить функцию", "msg_measurement_command_busy": "Команда измерения занята", "msg_thermocouple_set_manual_junction_in_menu": "Термопара: задайте холодный спай в MENU", "msg_type_junction": "Тип {type}: холодный спай {from}..{to} °C", + "msg_largest_dmm_scale": "Наибольший масштаб DMM", + "msg_smallest_dmm_scale": "Наименьший масштаб DMM", + "msg_no_dmm_readings_on_screen": "Нет показаний DMM на экране", + "msg_dmm_zero_leaves_no_room": "Ноль DMM не оставляет места: сдвиньте его", + "msg_dmm_readings_beyond_largest_scale": "Показания DMM больше наибольшего масштаба", + "msg_past_20s_div_roll_trigger_auto": "Медленнее 20 s/дел: прокрутка, запуск Auto", + "msg_dmm_alone_trigger_auto": "Только DMM: запуск Auto", + "msg_thermocouple_set_manual_junction_in_dmm_menu": "Термопара: задайте холодный спай в MENU мультиметра", "msg_center_trigger_needs_y_t": "Центрирование запуска — только в Y-T", "msg_trigger_centered": "Запуск по центру", "msg_no_record_to_move": "Нет записи для сдвига", @@ -825,6 +834,7 @@ "measure_minimum": "Минимум", "measure_maximum": "Максимум", "measure_ac_rms": "СКЗ перем.", + "measure_rms_not_in_ac": "СКЗ (кроме перем.)", "measure_duty": { "full": "Коэф. заполнения", "short": "Заполнение" @@ -844,6 +854,7 @@ }, "short_window": "Короткое окно f/T", "channel_readout": "CH{channel} показание {index}", + "dmm_readout": "DMM показание {index}", "channel_title": "КАНАЛ", "acquisition_title": "СБОР ДАННЫХ", "channel": "Канал", @@ -859,6 +870,8 @@ "density_mono": "Моно", "channel_on_points": "Вкл, {points} точ.", "channel_off_other_points": "Выкл, CH{channel} {points} точ.", + "channel_off_hidden": "Выкл, скрыт", + "channel_dmm_function": "Функция", "xy_needs_both": "Для X-Y нужны CH1 и CH2", "ch1_last_on": "CH1 — последний включённый канал", "ch2_last_on": "CH2 — последний включённый канал", @@ -1296,6 +1309,7 @@ "role_channel1": "CH1", "role_channel2": "CH2", "role_math": "Математика", + "role_dmm": "Мультиметр", "role_selection": "Выделение", "role_readouts": "Показания", "role_tag_text": "Текст меток", diff --git a/locales/zh-CN.json b/locales/zh-CN.json index bd36cd65..98bd299d 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -377,9 +377,18 @@ "msg_release_hold_to_change_function": "请先解除 HOLD 再切换功能", "msg_trend_longest_window": "趋势时间窗口已最长", "msg_trend_shortest_window": "趋势时间窗口已最短", + "msg_release_hold_in_dmm_to_change_function": "请先在万用表中解除 HOLD 再切换功能", "msg_measurement_command_busy": "测量命令繁忙", "msg_thermocouple_set_manual_junction_in_menu": "热电偶:请在 MENU 中设置手动冷端", "msg_type_junction": "{type} 型:冷端 {from}..{to} °C", + "msg_largest_dmm_scale": "DMM 刻度已是最大", + "msg_smallest_dmm_scale": "DMM 刻度已是最小", + "msg_no_dmm_readings_on_screen": "屏幕上无 DMM 读数", + "msg_dmm_zero_leaves_no_room": "DMM 零点位置无余量:请移动零点", + "msg_dmm_readings_beyond_largest_scale": "DMM 读数超出最大刻度", + "msg_past_20s_div_roll_trigger_auto": "超过 20 s/格:滚动,触发 Auto", + "msg_dmm_alone_trigger_auto": "仅 DMM:触发 Auto", + "msg_thermocouple_set_manual_junction_in_dmm_menu": "热电偶:请在万用表的 MENU 中设置手动冷端", "msg_center_trigger_needs_y_t": "触发居中需 Y-T", "msg_trigger_centered": "触发已居中", "msg_no_record_to_move": "无可移动的记录", @@ -693,6 +702,7 @@ "measure_minimum": "最小值", "measure_maximum": "最大值", "measure_ac_rms": "交流有效值", + "measure_rms_not_in_ac": "有效值(交流功能除外)", "measure_duty": "占空比", "measure_pulses": "脉冲数(上升沿)", "measure_counter_frequency": "硬件频率 / FCNT", @@ -706,6 +716,7 @@ "measure_over": "测量范围", "short_window": "短窗口 f/T", "channel_readout": "CH{channel} 读数 {index}", + "dmm_readout": "DMM 读数 {index}", "channel_title": "通道", "acquisition_title": "采集", "channel": "通道", @@ -721,6 +732,8 @@ "density_mono": "单色", "channel_on_points": "开,{points} 点", "channel_off_other_points": "关,CH{channel} {points} 点", + "channel_off_hidden": "关,不显示", + "channel_dmm_function": "功能", "xy_needs_both": "X-Y 需要 CH1 和 CH2 均开启", "ch1_last_on": "CH1 是最后一个开启的通道", "ch2_last_on": "CH2 是最后一个开启的通道", @@ -1122,6 +1135,7 @@ "role_channel1": "CH1", "role_channel2": "CH2", "role_math": "数学", + "role_dmm": "万用表", "role_selection": "选中", "role_readouts": "读数", "role_tag_text": "标签文字", diff --git a/platformio.ini b/platformio.ini index 92cabc20..737a64c8 100644 --- a/platformio.ini +++ b/platformio.ini @@ -155,6 +155,7 @@ build_src_filter = + + + + + + + + diff --git a/src/acquisition/auto_setup_timing.cpp b/src/acquisition/auto_setup_timing.cpp index 89b570f8..8800e053 100644 --- a/src/acquisition/auto_setup_timing.cpp +++ b/src/acquisition/auto_setup_timing.cpp @@ -4,10 +4,11 @@ #include namespace openosc::scope { +// AutoSetup looks within the sampled timebases: an averaged Roll (Timebases::averaging) has no edges to find. uint64_t AutoSetup::timebaseFor(double hertz) { const double target=300000000.0/hertz; - for (auto value:Timebases::Values) if (value>=target) return value; - return Timebases::Values[sizeof(Timebases::Values)/sizeof(*Timebases::Values)-1]; + for (auto value:Timebases::Values) if (value>=target) return std::min(value,Timebases::SampledMaximum); + return Timebases::SampledMaximum; } bool AutoSetup::timing(const SignalBand &band,const Periodicity &raw,double sampleRate,uint32_t now,const CounterSnapshot *counters) { // Let a new hardware gate finish after changing the comparator level. @@ -64,12 +65,12 @@ bool AutoSetup::timing(const SignalBand &band,const Periodicity &raw,double samp if (frequency>0 && std::isfinite(frequency)) { const uint64_t next=timebaseFor(frequency); if (next!=trial_.timebaseNs) { trial_.timebaseNs=next; verified_=false; return changed(now); } - } else if (band.high-band.low>=4 && raw.edges<2 && trial_.timebaseNs<20000000000ULL) { + } else if (band.high-band.low>=4 && raw.edges<2 && trial_.timebaseNs=target) { next=value; break; } + uint64_t next=Timebases::SampledMaximum; + for (auto value:Timebases::Values) if (value>=target) { next=std::min(value,next); break; } trial_.timebaseNs=next; verified_=false; return changed(now); } diff --git a/src/acquisition/bode.cpp b/src/acquisition/bode.cpp index 8d05c691..21c28f6e 100644 --- a/src/acquisition/bode.cpp +++ b/src/acquisition/bode.cpp @@ -126,12 +126,12 @@ BodePoint BodeTone::result() const { return p; } +// Within the sampled timebases: the sweep's records are never an averaged Roll (Timebases::averaging). uint64_t BodeSweep::timebaseFor(double frequencyHz) { - constexpr unsigned Count = sizeof Timebases::Values / sizeof *Timebases::Values; - if (!(frequencyHz > 0)) return Timebases::Values[Count - 1]; + if (!(frequencyHz > 0)) return Timebases::SampledMaximum; const double period = 1e9 / frequencyHz; // One cycle per division: about ten on the screen. - for (auto value : Timebases::Values) if (double(value) >= period) return value; - return Timebases::Values[Count - 1]; + for (auto value : Timebases::Values) if (double(value) >= period) return std::min(value, Timebases::SampledMaximum); + return Timebases::SampledMaximum; } bool BodeSweep::start(const BodeSettings &settings, const BodeGrid &grid, const ScopeRequest &base, BodePoint *points) { if (!grid.valid() || !points || grid.count > BodeSettings::MaximumPoints || running()) return false; diff --git a/src/acquisition/frame.cpp b/src/acquisition/frame.cpp index 88db476f..23938684 100644 --- a/src/acquisition/frame.cpp +++ b/src/acquisition/frame.cpp @@ -1,5 +1,6 @@ #include "openosc/acquisition/frame.hpp" #include "openosc/acquisition/adc_bus_glitch.hpp" +#include "openosc/acquisition/timebases.hpp" #include #include #include @@ -15,7 +16,7 @@ namespace openosc::scope { bool FrameMetadata::valid() const { - if ((timebaseNs && (timebaseNs < 10 || timebaseNs > 20000000000ULL)) || + if ((timebaseNs && (timebaseNs < 10 || timebaseNs > Timebases::Maximum)) || !samples || samples > ring || !ring || ring > MaximumRing || !samplesPerSecond.valid() || static_cast(layout) > static_cast(Layout::FourByteBanks)) return false; diff --git a/src/acquisition/rolling.cpp b/src/acquisition/rolling.cpp index 601675f8..357824ef 100644 --- a/src/acquisition/rolling.cpp +++ b/src/acquisition/rolling.cpp @@ -1,6 +1,15 @@ #include "openosc/acquisition/rolling.hpp" namespace openosc::scope { +namespace { +// The time `points` take at `rate`, in microseconds, without the 64-bit product of ticks and 10^6. +bool micros(const Rational &rate, uint64_t points, uint64_t &output) { + const uint64_t ticks = points * rate.denominator, seconds = ticks / rate.numerator; + if (points > UINT64_MAX / rate.denominator || seconds > UINT64_MAX / 1000000 - 1) return false; + output = seconds * 1000000 + ticks % rate.numerator * 1000000 / rate.numerator; + return true; +} +} // namespace bool RollingBuffer::append(const FrameView &frame) { if (!storage_ || !capacity_ || capacity_ > 65536 || !frame.valid()) return false; @@ -24,21 +33,27 @@ bool RollingBuffer::append(const FrameView &frame) { return false; } } - const uint64_t ticks = uint64_t(metadata.samples) * metadata.samplesPerSecond.denominator; - if (ticks > UINT64_MAX / 1000000) - return false; - const uint64_t duration = ticks * 1000000 / metadata.samplesPerSecond.numerator; - if (metadata.timestampUs > UINT64_MAX - duration) + Rational stored; + if (!metadata.samplesPerSecond.scaled(1, averaging_, stored)) return false; // A snapshot could not say its rate. + uint64_t duration = 0; + if (!micros(metadata.samplesPerSecond, metadata.samples, duration) || metadata.timestampUs > UINT64_MAX - duration) return false; for (size_t i = 0; i < frame.metadata().samples; ++i) { - uint16_t word = 0; - for (unsigned c = 0; c < 2; ++c) { - uint8_t raw = 0; - if (frame.metadata().channels[c].enabled && !frame.code(static_cast(c), i, raw)) + uint8_t raw[2] = {}; + for (unsigned c = 0; c < 2; ++c) + if (frame.metadata().channels[c].enabled && !frame.code(static_cast(c), i, raw[c])) return false; - word |= uint16_t(raw) << (c * 8); + if (averaging_ > 1) { + for (unsigned c = 0; c < 2; ++c) sums_[c] += int8_t(raw[c]); + if (++pending_ < averaging_) continue; + const int32_t n = int32_t(averaging_); + for (unsigned c = 0; c < 2; ++c) { + raw[c] = uint8_t(int8_t((sums_[c] < 0 ? sums_[c] - n / 2 : sums_[c] + n / 2) / n)); + sums_[c] = 0; + } + pending_ = 0; } - storage_[cursor_] = word; + storage_[cursor_] = uint16_t(raw[0] | raw[1] << 8); cursor_ = (cursor_ + 1) % capacity_; if (size_ < capacity_) ++size_; @@ -61,13 +76,15 @@ FrameView RollingBuffer::snapshot() const { metadata.origin = (cursor_ + capacity_ - size_) % capacity_; metadata.rollPhase = dropped_; // The oldest retained point's index in the history. metadata.clearTrigger(); - const uint64_t ticks = uint64_t(size_) * metadata.samplesPerSecond.denominator; - if (ticks > UINT64_MAX / 1000000) - return {}; - const uint64_t duration = ticks * 1000000 / metadata.samplesPerSecond.numerator; - if (duration > nextTimestampUs_) + // The stored points end where the points still summed begin; each lies at the middle of its own. + const Rational input = metadata_.samplesPerSecond; + uint64_t pending = 0, duration = 0, middle = 0; + if (!input.scaled(1, averaging_, metadata.samplesPerSecond) || !micros(input, pending_, pending) || + !micros(input, uint64_t(size_) * averaging_, duration) || !micros(input, averaging_ - 1, middle) || + pending + duration > nextTimestampUs_) return {}; - metadata.timestampUs = nextTimestampUs_ - duration; + metadata.timebaseNs *= averaging_; + metadata.timestampUs = nextTimestampUs_ - pending - duration + middle / 2; const uint16_t *banks[] = {storage_, nullptr, nullptr, nullptr}; return {metadata, banks, capacity_}; } diff --git a/src/acquisition/spectrum.cpp b/src/acquisition/spectrum.cpp index a9905d17..0ec0a83a 100644 --- a/src/acquisition/spectrum.cpp +++ b/src/acquisition/spectrum.cpp @@ -2,6 +2,7 @@ #include "openosc/acquisition/spectrum_peak.hpp" #include #include +#include #include #include "arm_math.h" @@ -26,7 +27,7 @@ class BinSine { double factor_, current_, previous_=0; }; template -__attribute__((noinline)) bool decimate(SpectrumStorage &s,const FrameView &frame,Channel channel, +__attribute__((noinline)) bool decimate(SpectrumStorage::Work &w,const FrameView &frame,Channel channel, unsigned count,unsigned step,float &sum) { // Unsigned integrator and comb wraps cancel in the final signed result. Word integrators[CicOrder]={},delays[CicOrder]={}; @@ -77,8 +78,8 @@ __attribute__((noinline)) bool decimate(SpectrumStorage &s,const FrameView &fram }; for (unsigned i=0;i(s,frame,channel,count,step,sum) - : decimate(s,frame,channel,count,step,sum))) return false; + if (!(step<=MaxStep32 ? decimate(w,frame,channel,count,step,sum) + : decimate(w,frame,channel,count,step,sum))) return false; } const auto &channel=metadata.channels[options.channel]; const float offset=options.removeDc ? sum/count : channel.calibrated ? channel.zeroCode : 0; - for (unsigned i=0;i1 ? count*3/8 : count/2)+1; r.binHz=metadata.samplesPerSecond.value()/(count*step); // Magnitudes of bins 1..: count/2-1 complex pairs at most, inside the packed output. - const float *packed=s.imaginary; + const float *packed=w.imaginary; float lobe[2]; SpectrumPeak::lobe(packed,s.windowBins,s.weightSum,lobe); s.amplitude[0]=std::abs(packed[0]); @@ -175,7 +177,7 @@ bool Spectrum::calculate(SpectrumStorage &s,const FrameView &frame,const Spectru } for (unsigned k=0;k(prefs_.mode); state_.scope.timebaseNs = prefs_.timebaseNs; state_.scope.measurements = prefs_.scope.measurements; + state_.scope.meterMeasurements = prefs_.scope.meterMeasurements; for (unsigned c = 0; c < 2; ++c) state_.scope.millivoltsPerDivision[c] = prefs_.millivolts[c]; state_.meter.function = prefs_.meterFunction; configureDecoder(); @@ -344,6 +345,14 @@ void ApplicationController::onKeys(const KeyEvents& events, uint32_t now) { navigator_.repeats(events.repeat & ~events.shortPress); navigator_.leftStep(prefs_.menuLeftStep); if (shutdown_ != Shutdown::None || recoveryPending_) return; + // A key over the remote message (DISPlay:TEXT), on any screen, only takes it away: the rest of its + // stroke is taken as a wake takes it, an AUTO/RANGE one closed. REL/Power held still powers off. + if (events.any() && !(events.longPress & Keypad::Relative) && view_.dismissMessage()) { + InputService::wake(); + autoKey_.cancel(); + data_.closeDmmRange(); + return; + } meterRangeKeys(events, now); // KEY5 in the DMM: its own press, release and hold events. scopeAutoKeys(events, now); // KEY5 on the Scope waveform screen: the same events, its own actions. if (!(events.shortPress | events.longPress | events.repeat)) return; diff --git a/src/application/data_actions.cpp b/src/application/data_actions.cpp index 7ea4f6b4..e080fb64 100644 --- a/src/application/data_actions.cpp +++ b/src/application/data_actions.cpp @@ -116,11 +116,19 @@ bool ApplicationController::setParallel(bool enabled, uint32_t now) { dataRefresh_ = true; return true; } -bool ApplicationController::applyScope(const ScopeRequest &request, uint32_t now, ScopeApply mode) { +bool ApplicationController::applyScope(const ScopeRequest &requested, uint32_t now, ScopeApply mode) { const auto previousTrigger = data_.scopeRequest().trigger; + auto request = requested; + const bool rolled = request.followTimebase(); // Normal or Single past 20 s/div: Auto (Roll only there). + // The DMM trace alone (no channel shown, plot::ChannelDisplay): Auto too, an edge no one sees would hold its line. + const auto &view = view_.waveform().options(); + const bool alone = view.meter.shown && !plot::ChannelDisplay::shown(request, view, 0) && !plot::ChannelDisplay::shown(request, view, 1) && + request.trigger.mode != scope::TriggerMode::Auto; + if (alone) request.trigger.mode = scope::TriggerMode::Auto; const bool applied = mode == ScopeApply::Resume ? data_.resumeScope(request) : mode == ScopeApply::StageIfHeld && data_.scopeHeld() ? data_.stageScope(request) : data_.configureScope(request); if (!applied) return false; + if ((rolled || alone) && uiReady_) view_.notify(Tooltip::Advisory, tr(rolled ? TextId::MsgPast20sDivRollTriggerAuto : TextId::MsgDmmAloneTriggerAuto), now); const auto &active = data_.scopeRequest(); if (uiReady_ && (active.trigger.channel != previousTrigger.channel || active.trigger.mode != previousTrigger.mode)) view_.waveform().triggerLimit(0); @@ -181,19 +189,26 @@ bool ApplicationController::applyFound(const ScopeRequest &request, uint32_t now return true; } // What a held record contains decides what can be examined; a running view follows the next capture. +// The DMM trace's hidden time axis (MeterTraceOptions::axis) is not shown. bool ApplicationController::channelShown(unsigned channel) { const auto &model=view_.waveform().model(); - return data_.scopeHeld() && model.hasFrame() ? model.metadata().channels[channel].enabled : data_.scopeRequest().frontend.enabled[channel]; + const auto &options=view_.waveform().options(); + return data_.scopeHeld() && model.hasFrame() ? plot::ChannelDisplay::shown(model.metadata(), options, channel) + : plot::ChannelDisplay::shown(data_.scopeRequest(), options, channel); } // One rule for the main scale/position selection, whatever changed the channels (panel, SCPI, -// settings at start-up, a new frame after RUN): it stays on a channel that is shown. The cards -// and context follow at once, without waiting for a new sequence (a held frame keeps its own). +// settings at start-up, a new frame after RUN): it stays on a channel that is shown, and on the DMM +// trace while it is on, which it takes when no channel is shown. The cards and context follow at +// once, without waiting for a new sequence (a held frame keeps its own). bool ApplicationController::followShownChannel() { if (mathSelected_ && (!view_.waveform().options().showsMath() || !channelShown(0) || !channelShown(1))) { mathSelected_ = false; dataRefresh_ = true; } - if (channelShown(selectedChannel_) || !channelShown(selectedChannel_ ^ 1)) return false; + const bool onMeter = view_.waveform().options().meter.shown && (meterSelected_ || (!channelShown(0) && !channelShown(1))); + const bool meter = onMeter != meterSelected_; + if (meter) { meterSelected_ = onMeter; dataRefresh_ = true; } + if (channelShown(selectedChannel_) || !channelShown(selectedChannel_ ^ 1)) return meter; selectedChannel_ ^= 1; dataRefresh_ = true; return true; diff --git a/src/application/data_display.cpp b/src/application/data_display.cpp index 56523067..2114e0ac 100644 --- a/src/application/data_display.cpp +++ b/src/application/data_display.cpp @@ -18,6 +18,24 @@ const dmm::Result &shownReading(const dmm::Session &meter, dmm::Function selecti return selecting != dmm::Function::Unknown ? none : meter.displayed(); } } // namespace +// The DMM trace, each pass (Y-T and Y-T+FFT), as a channel: its readings to the plot, its readouts over +// the visible window and its scale to the footer, and the cards while F1/F2 select it. +void ApplicationController::showMeterTrace() { + auto &widget = view_.waveform(); + const auto &options = widget.options(); + widget.meterReadings(options.meter.shown ? &data_.meterReadings() : nullptr); + plot::MeterReadouts readouts; + readouts.shown = options.meter.shown && (options.mode == plot::Mode::Time || options.mode == plot::Mode::SpectrumOverlay); + if (readouts.shown) { + using F = dmm::Function; + const auto function = F(prefs_.meterFunction); + readouts.rmsOffered = function != F::VoltageAc && function != F::MillivoltsAc && function != F::CurrentAc && function != F::MilliampsAc; + readouts.function = prefs_.meterFunction < MeterFunctionCount ? tr(MeterFunctions[prefs_.meterFunction].name) : ""; + readouts.calculate(data_.meterReadings(), widget.model()); + } + view_.scopeMeter(meterCard()); + view_.scopeMeterReadouts(readouts); +} // The function a running selection awaits, unless a HOLD keeps a reading. dmm::Function ApplicationController::meterSelecting() const { const auto &meter = data_.meter(); @@ -60,7 +78,7 @@ void ApplicationController::showTrigger(const scope::FrameMetadata *shown) { view_.waveform().trigger(trigger.channel, shown ? scope::TriggerLevel::inFrame(threshold, settings, shown->channels[source]) : double(threshold)); // Each refresh and frame: a new source, mode, invert or scale (also staged in HOLD) leaves the limit. view_.waveform().triggerLimit(triggerLimit(data_.scopeRequest())); - view_.scopeTrigger(trigger, settings); + view_.scopeTrigger(trigger, settings, channelShown(0) || channelShown(1)); } // One decision for F1-F4's captions, from what the key handlers act on: Remote locks every local // key; rows (settings, panels, gain) go Back, or Cancel the field being edited; a confirmation and a @@ -226,13 +244,22 @@ void ApplicationController::displayData(uint32_t now) { } options=view_.waveform().options(); // The next capture's settings do not change what a held record contains. - if (!channelShown(options.spectrum.channel)) { + if (!channelShown(options.spectrum.channel) && channelShown(options.spectrum.channel ^ 1)) { options.spectrum.channel ^= 1; view_.waveform().configure(options); } - if (options.cursors.voltage && !channelShown(options.cursors.channel) && channelShown(options.cursors.channel^1)) { - auto cursors=options.cursors; cursors.channel^=1; - view_.waveform().cursorLines(cursors); queuePlotSave(now); + // Level cursors on a channel or the DMM trace that is no longer shown: on the other channel + // shown, else on the DMM trace (no channel shown). + if (options.cursors.voltage) { + constexpr unsigned Meter = plot::CursorOptions::Meter; + const unsigned channel = options.cursors.channel; + const bool meter = channel == Meter; + const unsigned other = meter ? (channelShown(0) ? 0U : 1U) : channelShown(channel ^ 1) || !options.meter.shown ? channel ^ 1 : Meter; + const auto shown = [&](unsigned c) { return c == Meter ? options.meter.shown : channelShown(c); }; + if (!shown(channel) && shown(other)) { + auto cursors = options.cursors; cursors.channel = uint8_t(other); + view_.waveform().cursorLines(cursors); queuePlotSave(now); + } } followShownChannel(); if (options.mode==plot::Mode::XY && (!channelShown(0) || !channelShown(1))) { @@ -261,9 +288,11 @@ void ApplicationController::displayData(uint32_t now) { const auto estimate = options.counter.estimate && view_.waveform().model().hasFrame() ? plot::CounterEstimate::of(counters.channels[source], readouts_.shown(), source) : plot::CounterEstimate::Value{}; counterText_.update(counters, options.counter, text, sizeof text, clockMode_ | counterEpoch_ << 8, estimate); - const bool room = options.mode == plot::Mode::Time; // X-Y and FFT label that corner. + // X-Y and FFT label that corner; the DMM trace's hidden time axis shows nothing. + const bool room = options.mode == plot::Mode::Time && (!options.counter.source || options.meter.axis != source); view_.waveform().counter(room ? text : "", view_.waveform().palette().channel(source)); } + showMeterTrace(); if (!view_.traceDrawn()) { // A menu over the Scope, or Decoder only (plan §4.4). // No projection and no readouts without a trace; the decoder still takes the record. readouts_.suspend(data_); dataAt_=now; diff --git a/src/application/instruments/analyze_keys.cpp b/src/application/instruments/analyze_keys.cpp index 07be6e7c..016c5fa1 100644 --- a/src/application/instruments/analyze_keys.cpp +++ b/src/application/instruments/analyze_keys.cpp @@ -48,11 +48,11 @@ void ApplicationController::analyzeKeys(uint32_t keys, uint32_t now) { sectionDirect_ = true; // Back returns to Analyze. openPanel(Panel::Display, ui::DisplayProperties(plotControls_), plotControls_.index(plot::Controls::FftSource)); return; case Actions::Measurements: - measurementEditor_.begin(prefs_.scope.measurements, view_.channelView()); + measurementEditor_.begin(prefs_.scope.measurements, prefs_.scope.meterMeasurements, view_.channelView()); openPanel(Panel::Measurements, measurementEditor_); return; case Actions::Display: plotControls_.options = view_.waveform().options(); plotControls_.channel = selectedChannel_; - plotControls_.options.cursors.channel = selectedChannel_; + plotControls_.options.cursors.channel = uint8_t(meterSelected_ ? plot::CursorOptions::Meter : selectedChannel_); plotControls_.listing = true; sectionDirect_ = false; openPanel(Panel::Display, ui::DisplayProperties(plotControls_), unsigned(plotControls_.group)); return; case Actions::Layout: @@ -123,6 +123,7 @@ bool ApplicationController::centerChannels(uint32_t now) { void ApplicationController::measurementKeys(uint32_t keys, uint32_t now) { if (fieldKeys(keys, measurementEditor_, now) != FieldKey::Committed) return; prefs_.scope.measurements = state_.scope.measurements = measurementEditor_.selection(); + prefs_.scope.meterMeasurements = state_.scope.meterMeasurements = measurementEditor_.meter(); changed(now); dataRefresh_ = true; view_.properties(measurementEditor_, navigator_); } diff --git a/src/application/instruments/auto_setup.cpp b/src/application/instruments/auto_setup.cpp index 9807e2ee..90ce4884 100644 --- a/src/application/instruments/auto_setup.cpp +++ b/src/application/instruments/auto_setup.cpp @@ -1,17 +1,27 @@ #include "openosc/application/controller.hpp" #include "openosc/i18n/text.hpp" +#include "openosc/ui/scope/meter_readouts.hpp" +#include "openosc/ui/scope/meter_scale.hpp" namespace openosc { -void ApplicationController::startAuto(uint32_t now) { +// AUTO (the key, SCPI AUToscale): the DMM trace's units/div when it is shown (fitMeterScale), then Auto +// Setup of the channels; with no channel shown (the DMM trace alone) the DMM trace's scale only, its +// hidden time axis and the timebase as they are. +bool ApplicationController::startAuto(uint32_t now) { if (data_.scopeRecording()) { if (uiReady_) view_.notify(Tooltip::Unavailable, tr(TextId::MsgFinishWaveformSaveFirst), now); - return; + return false; + } + const bool meter = fitMeterScale(now); + if (view_.waveform().options().meter.shown && !channelShown(0) && !channelShown(1)) { + if (!meter && uiReady_) view_.notify(Tooltip::Unavailable, tr(TextId::MsgNoDmmReadingsOnScreen), now); + return meter; } autoWasHeld_ = data_.scopeHeld(); // The frame on show stays where it is (no copy) for HOLD to return to; trials use their own area. if (!data_.retainScope()) { if (uiReady_) view_.notify(Tooltip::Unavailable, tr(TextId::MsgCannotRetainHoldFrameReleaseUsbWaveform),now); - return; + return false; } autoCancelled_=false; autoStep_ = 0; data_.scopeTrials(true); @@ -20,6 +30,34 @@ void ApplicationController::startAuto(uint32_t now) { autoSetup_.begin(data_.scopeRequest(), selectedChannel_, now, plot::PlotFrame::verticalDivisions(square)); if (!data_.configureScope(autoSetup_.request())) autoSetup_.fail(); if (uiReady_) view_.notify(Tooltip::Progress, tr(TextId::MsgAutoSetup), now); + return autoBusy(); +} +// The smallest units/div at which the DMM trace's readings in the window fit the plot at its position +// (MeterScale::fit; the largest when none does). False without a reading there to fit. +bool ApplicationController::fitMeterScale(uint32_t now) { + auto options = view_.waveform().options(); + const auto &readings = data_.meterReadings(); + if (!options.meter.shown || !plot::MeterScale::scaled(readings.quantity())) return false; + plot::MeterReadouts window; + window.calculate(readings, view_.waveform().model()); + if (!window.valid) return false; + const unsigned index = plot::MeterScale::index(readings.quantity()); + int8_t step = 0; + const double zero = double(options.meter.position) / plot::MeterTraceOptions::PositionSteps; + const int divisions = plot::PlotFrame::verticalDivisions(options.usesSquareGrid()); + if (!plot::MeterScale::fit(index, window.minimum, window.maximum, zero, divisions, step) && uiReady_) { + // Their span fits the plot on its largest scale: the zero's position is what leaves no room. + const bool span = window.maximum - window.minimum <= divisions * plot::MeterScale::perDivision(plot::MeterScale::Spans[index].highest); + view_.notify(Tooltip::Advisory, tr(span ? TextId::MsgDmmZeroLeavesNoRoom : TextId::MsgDmmReadingsBeyondLargestScale), now); + } + if (step != options.meter.scales[index]) { + options.meter.scales[index] = step; + view_.waveform().configure(options); + queuePlotSave(now); + } + view_.scopeMeter(meterCard()); + dataRefresh_ = true; + return true; } bool ApplicationController::restoreAuto() { if (autoWasHeld_) { diff --git a/src/application/instruments/scope_editor_keys.cpp b/src/application/instruments/scope_editor_keys.cpp index 831c02e9..4c5eee4d 100644 --- a/src/application/instruments/scope_editor_keys.cpp +++ b/src/application/instruments/scope_editor_keys.cpp @@ -1,5 +1,7 @@ #include "openosc/application/controller.hpp" #include "openosc/i18n/text.hpp" +#include "openosc/measurement/dmm/function.hpp" +#include "openosc/measurement/meter_function.hpp" namespace openosc { void ApplicationController::scopeEditorKeys(uint32_t keys, uint32_t now) { @@ -7,30 +9,60 @@ void ApplicationController::scopeEditorKeys(uint32_t keys, uint32_t now) { if (fieldKeys(keys, editor, now) == FieldKey::Committed) commitScopeEditor(editor, now); } // A committed Channel/Acquisition field: the edited request (a channel that is not the last one -// on, X-Y's two channels, a Single that resumes: applyEdited) and the view's inversion. Nothing -// restarts when only the edited channel (a selection) changed. Refused, the editor shows the -// request in force again and the scale/position selection stays. +// on, X-Y's two channels, a Single that resumes: applyEdited), the view's rows (inversion, a channel +// shown or hidden, the DMM trace on) and the DMM's function. Nothing restarts when only the edited +// channel (a selection) changed. Refused, the editor shows the settings in force again and the +// scale/position selection stays. void ApplicationController::commitScopeEditor(ui::ScopeEditor &editor, uint32_t now) { const auto &before = view_.waveform().options(); - bool changedPlot = false; // The view's rows: Invert, Trace brightness (GitHub #86), Density and its colour (GitHub #85). + // The view's rows: Invert, Trace brightness (GitHub #86), Density and its colour (GitHub #85), the DMM + // trace on and the channel kept only as its time axis. + bool changedPlot = before.meter.shown != editor.plot().meter.shown || before.meter.axis != editor.plot().meter.axis; for (unsigned c = 0; c < 2; ++c) { const auto &a = before.channels[c], &b = editor.plot().channels[c]; changedPlot |= a.invert != b.invert || a.brightness != b.brightness || a.grade != b.grade || a.gradeColor != b.gradeColor; } + const bool channel = panel_ == Panel::Channel; + const auto again = [&] { // The editor as the settings in force are. + if (channel) channelEditor_.begin(data_.scopeRequest(), view_.waveform().options(), editor.channel(), prefs_.meterFunction); + else editor.begin(data_.scopeRequest(), view_.waveform().options(), editor.channel()); + view_.properties(editor, navigator_); + }; const bool changedRequest = !editor.request().same(data_.scopeRequest()); if (changedRequest && !applyEdited(editor.request(), now)) { view_.notify(Tooltip::Unavailable, tr(TextId::MsgFinishDataTransferFirst), now); - editor.begin(data_.scopeRequest(), view_.waveform().options(), editor.channel()); - view_.properties(editor, navigator_); + again(); return; } if (changedPlot) { view_.waveform().configure(editor.plot()); queuePlotSave(now); } - // The channel the panel edits is the scale/position channel too, as DISPLAY's Channel row: a - // selection of the UI, no capture change. A channel switched off hands it to the one left on; - // the FFT and cursor channels follow what is shown (data_display.cpp), the trigger source the editor. - selectedChannel_ = data_.scopeRequest().frontend.enabled[editor.channel()] ? editor.channel() : editor.channel() ^ 1; - editor.begin(data_.scopeRequest(), view_.waveform().options(), editor.channel()); // What was taken. + // The DMM's function from its own page only. + if (const char *refused = channel && channelEditor_.meter() ? selectMeterFunction(channelEditor_.meterFunction(), now) : nullptr) { + view_.notify(Tooltip::Unavailable, refused, now); + again(); + return; + } + // The channel the Channel panel edits is the scale/position channel too, as DISPLAY's Channel row: + // a selection of the UI, no capture change. A channel switched off hands it to the one left shown, + // none to the DMM trace (followShownChannel); the FFT and cursor channels follow what is shown + // (data_display.cpp), the trigger source the editor. + if (channel && editor.channel() < 2) { + selectedChannel_ = channelShown(editor.channel()) ? editor.channel() : editor.channel() ^ 1; + meterSelected_ = false; + } else if (channel) meterSelected_ = view_.waveform().options().meter.shown; + followShownChannel(); + again(); // What was taken. dataRefresh_ = true; - view_.properties(editor, navigator_); +} +const char *ApplicationController::selectMeterFunction(unsigned index, uint32_t now) { + if (index == prefs_.meterFunction || index >= MeterFunctionCount) return nullptr; + // The DMM screen's HOLD, kept through a visit to the Scope, locks its function here too (meterKeys). + if (data_.meter().functionLockedByHold()) return tr(TextId::MsgReleaseHoldInDmmToChangeFunction); + const auto function = dmm::Function(index); + if (function == dmm::Function::Temperature && !prefs_.meter.temperature.configured()) + return tr(TextId::MsgThermocoupleSetManualJunctionInDmmMenu); + if (data_.meterTraceRunning() && !data_.selectDmmFunction(function)) return tr(TextId::MsgMeasurementCommandBusy); + prefs_.meterFunction = state_.meter.function = index; + changed(now); + return nullptr; } } // namespace openosc diff --git a/src/application/instruments/scope_keys.cpp b/src/application/instruments/scope_keys.cpp index f2aab9db..36d08403 100644 --- a/src/application/instruments/scope_keys.cpp +++ b/src/application/instruments/scope_keys.cpp @@ -8,6 +8,7 @@ #include "openosc/ui/scope/math_scale.hpp" #include "openosc/ui/scope/trace_move.hpp" #include "openosc/ui/scope/view_zoom.hpp" +#include "openosc/measurement/dmm/function.hpp" #include #include #include @@ -54,17 +55,19 @@ void ApplicationController::setScopeFocus(plot::Focus focus) { if (focus != plot::Focus::Scale && focus != plot::Focus::Position) mathSelected_ = false; view_.waveform().cursorFocus(focus == plot::Focus::Cursor ? cursors_.line() : plot::CursorLine::None); view_.scopeContext(selectedChannel_, focus_, prefs_.panReverse != 0, mathSelected_); + view_.scopeMeter(meterCard()); } void ApplicationController::cycleScopeTrace(plot::Focus focus) { if (focus_ != focus) { focus_ = focus; return; } const auto &channelView = view_.channelView(); if (mathSelected_) { mathSelected_ = false; - selectedChannel_ = channelView.input(0); - } else if (view_.waveform().options().showsMath() && channelShown(0) && channelShown(1) && + if (view_.waveform().options().meter.shown) meterSelected_ = true; // After MATH, the DMM trace. + else selectedChannel_ = channelView.input(0); + } else if (!meterSelected_ && view_.waveform().options().showsMath() && channelShown(0) && channelShown(1) && channelView.slot(selectedChannel_) == 1) { mathSelected_ = true; - } else if (channelShown(selectedChannel_ ^ 1)) selectedChannel_ ^= 1; + } else selectNext(); } void ApplicationController::openMath() { for (unsigned c = 0; c < 2; ++c) plotControls_.enabled[c] = channelShown(c); @@ -76,6 +79,48 @@ void ApplicationController::openMath() { sectionDirect_ = true; openPanel(Panel::Display, ui::DisplayProperties(plotControls_), plotControls_.index(plot::Controls::MathCoupling)); } +void ApplicationController::selectNext() { + // In screen order (Swap CH1/CH2): the input on the left slot, the one on the right, then the DMM. + const unsigned left = view_.channelView().input(0), right = view_.channelView().input(1); + if (meterSelected_) { // Kept while no channel is shown. + if (channelShown(left)) { selectedChannel_ = left; meterSelected_ = false; } + else if (channelShown(right)) { selectedChannel_ = right; meterSelected_ = false; } + } else if (selectedChannel_ == left && channelShown(right)) selectedChannel_ = right; + else if (view_.waveform().options().meter.shown) meterSelected_ = true; + else if (channelShown(selectedChannel_ ^ 1)) selectedChannel_ ^= 1; +} +Quantity ApplicationController::meterQuantity() const { + return dmm::Functions::reading(dmm::Function(prefs_.meterFunction)); +} +ui::ScopeScreen::Meter ApplicationController::meterCard() const { + ui::ScopeScreen::Meter card; + const auto &options = view_.waveform().options(); + const auto quantity = meterQuantity(); + if (!meterSelected_ || !options.meter.shown || !plot::MeterScale::scaled(quantity)) return card; + const unsigned index = plot::MeterScale::index(quantity); + card.selected = true; + card.perDivision = plot::MeterScale::perDivision(options.meter.scales[index]); + card.unit = plot::MeterScale::Spans[index].unit; + card.function = prefs_.meterFunction < MeterFunctionCount ? tr(MeterFunctions[prefs_.meterFunction].name) : ""; + return card; +} +// One 1-2-5 step of the units/div within the quantity's span: a view setting, saved with the plot +// (HOLD's view keeps it, as it is no part of what RUN restores). +void ApplicationController::stepMeterScale(int direction, uint32_t now) { + const auto quantity = meterQuantity(); + if (!direction || !plot::MeterScale::scaled(quantity)) return; + auto options = view_.waveform().options(); + const unsigned index = plot::MeterScale::index(quantity); + const int next = options.meter.scales[index] + direction; + if (!plot::MeterScale::valid(index, next)) { + view_.notify(Tooltip::Unavailable, tr(direction > 0 ? TextId::MsgLargestDmmScale : TextId::MsgSmallestDmmScale), now); + return; + } + options.meter.scales[index] = int8_t(next); + view_.waveform().configure(options); + queuePlotSave(now); + view_.scopeMeter(meterCard()); +} // The active line has to be one that is drawn: follow every change of the cursor mode or view. void ApplicationController::syncCursorFocus() { if (focus_ != plot::Focus::Cursor) return; @@ -90,7 +135,8 @@ void ApplicationController::openAnalyze(unsigned row) { void ApplicationController::enterCursors(uint32_t now) { auto cursors = view_.waveform().options().cursors; if (!cursors.time && !cursors.voltage) cursors.time = cursors.voltage = true; - cursors.channel = channelShown(selectedChannel_) ? selectedChannel_ : selectedChannel_ ^ 1; + // The level cursors on the selection: the DMM trace (F1/F2), else the channel or the other one shown. + cursors.channel = uint8_t(meterSelected_ ? plot::CursorOptions::Meter : channelShown(selectedChannel_) ? selectedChannel_ : selectedChannel_ ^ 1); view_.waveform().cursorLines(cursors); cursors_.enter(cursors); setScopeFocus(plot::Focus::Cursor); @@ -215,15 +261,26 @@ void ApplicationController::moveTrace(uint32_t keys, uint32_t now, bool fine) { if (fine) view_.notify(Tooltip::Unavailable, tr(TextId::MsgNoRecordToMove), now); // Once per press: a held key repeats silently. horizontal = 0; } - const auto change = focus_ == plot::Focus::Zoom // Pan only: no channel moves. + // The DMM trace selected: Up/Down move its zero (a view setting, saved also in HOLD: RUN keeps it). + const bool meter = meterSelected_ && focus_ == plot::Focus::Position; + bool meterMoved = false; + if (meter) { + auto &position = options.meter.position; + const int limit = plot::PlotFrame::verticalDivisions(options.usesSquareGrid()) * plot::MeterTraceOptions::PositionSteps / 2; + const auto next = int8_t(std::clamp(position + axis(keys, Keypad::Down, Keypad::Up) * (fine ? 1 : 4), -limit, limit)); + meterMoved = next != position; + position = next; + } + auto change = focus_ == plot::Focus::Zoom || meter // Pan only: no channel moves. ? plot::TraceMove::Change{false, plot::TraceMove::pan(options, horizontal, &model, false)} : plot::TraceMove::apply(request, options, mathSelected_ ? plot::MathView::TraceIndex : selectedChannel_, held, horizontal, axis(keys, Keypad::Up, Keypad::Down), fine, &model); + change.view |= meterMoved; if (change.request && !applyEdited(request, now)) view_.notify(Tooltip::Unavailable, tr(TextId::MsgFinishDataTransferFirst), now); if (change.view) { view_.waveform().configure(options); - if (!held) queuePlotSave(now); + if (!held || meterMoved) queuePlotSave(now); } } // Issue #123: the Trigger card's Left/Right set the pretrigger, the share of the next records before their @@ -293,7 +350,8 @@ void ApplicationController::scopeKeys(uint32_t keys, uint32_t now, bool fine) { if (card == plot::Focus::Trigger) { openTrigger(); return; } if (card == plot::Focus::Cursor) { openAnalyze(ui::ScopeActions::Cursors); return; } if (mathSelected_) { openMath(); return; } - openChannel(); + // The selected channel's menu: the DMM trace's when F1/F2 selected it. + openChannel(meterSelected_ ? ui::ChannelEditor::Meter : selectedChannel_); return; } if (keys & Keypad::F4) { @@ -341,10 +399,10 @@ void ApplicationController::scopeKeys(uint32_t keys, uint32_t now, bool fine) { if (focus_ == plot::Focus::Position) { moveTrace(arrows, now, fine); return; } scaleKeys(arrows, now); } -// F1: Up/Down the selected channel's V/div, Left/Right the time/div, one standard step each, in RUN -// and HOLD alike. A held record cannot be re-acquired: they stage the next capture (no relay -// switches, no new arm; RUN applies them) and the record is shown at them (followNextCapture, -// issues #7, #93). A held FFT's Left/Right zoom its bins instead. +// F1: Up/Down the selected channel's V/div (the DMM trace's units/div), Left/Right the time/div, one +// standard step each, in RUN and HOLD alike. A held record cannot be re-acquired: they stage the next +// capture (no relay switches, no new arm; RUN applies them) and the record is shown at them +// (followNextCapture, issues #7, #93). A held FFT's Left/Right zoom its bins instead. void ApplicationController::scaleKeys(uint32_t keys, uint32_t now) { const bool held = data_.scopeHeld(); uint32_t steps = keys; @@ -360,6 +418,11 @@ void ApplicationController::scaleKeys(uint32_t keys, uint32_t now) { steps &= ~uint32_t(Keypad::Up | Keypad::Down); if (!steps) return; } + if (meterSelected_ && (steps & (Keypad::Up | Keypad::Down))) { + stepMeterScale(axis(steps, Keypad::Down, Keypad::Up), now); + steps &= ~uint32_t(Keypad::Up | Keypad::Down); + if (!steps) return; + } if (held && view_.waveform().options().mode == plot::Mode::Spectrum && (keys & (Keypad::Left | Keypad::Right))) { beginHeldView(); auto view = view_.waveform().options(); @@ -435,13 +498,13 @@ bool ApplicationController::scopeHoldKeys(uint32_t holds, uint32_t now) { dataRefresh_ = true; return true; } -void ApplicationController::openChannel(unsigned row) { - channelEditor_.begin(data_.scopeRequest(), view_.waveform().options(), selectedChannel_); +void ApplicationController::openChannel(unsigned channel, unsigned row) { + channelEditor_.begin(data_.scopeRequest(), view_.waveform().options(), channel, prefs_.meterFunction); channelEditor_.channelView(view_.channelView()); openPanel(Panel::Channel, channelEditor_, row); } void ApplicationController::openProbe(uint32_t now) { - openChannel(ui::ChannelEditor::Probe); + openChannel(selectedChannel_, ui::ChannelEditor::Probe); fieldKeys(Keypad::Menu, channelEditor_, now); // Its choices open: Up/Down, MENU takes one, F4 keeps the ratio. } // The editor of the saved destination, opened for review: nothing is applied until a field is @@ -451,7 +514,7 @@ void ApplicationController::openShortcut(uint32_t) { analyzeRow_ = ~0U; switch (const auto destination = prefs_.scope.keys.destination()) { case Shortcut::Measurements: - measurementEditor_.begin(prefs_.scope.measurements, view_.channelView()); + measurementEditor_.begin(prefs_.scope.measurements, prefs_.scope.meterMeasurements, view_.channelView()); openPanel(Panel::Measurements, measurementEditor_); return; case Shortcut::Acquisition: case Shortcut::RecordMemory: @@ -470,7 +533,7 @@ void ApplicationController::openShortcut(uint32_t) { for (unsigned c = 0; c < 2; ++c) plotControls_.enabled[c] = channelShown(c); plotControls_.view = view_.channelView(); plotControls_.options = view_.waveform().options(); plotControls_.channel = selectedChannel_; - plotControls_.options.cursors.channel = selectedChannel_; + plotControls_.options.cursors.channel = uint8_t(meterSelected_ ? plot::CursorOptions::Meter : selectedChannel_); plotControls_.group = plot::Controls::Group::Cursors; plotControls_.listing = false; sectionDirect_ = true; // Back closes the section (analyzeRow_ none). openPanel(Panel::Display, ui::DisplayProperties(plotControls_)); diff --git a/src/application/instruments/service.cpp b/src/application/instruments/service.cpp index 83826348..20d1564d 100644 --- a/src/application/instruments/service.cpp +++ b/src/application/instruments/service.cpp @@ -16,11 +16,22 @@ void ApplicationController::serviceInstruments(uint32_t now) { } } const bool visible = uiReady_; + // The Scope's DMM trace runs while its plot option is on (DataAccess::meterTrace); each start + // powers the chip in its default function, so the saved one is selected, as on a DMM entry. + data_.meterTrace(view_.waveform().options().meter.shown); + if (data_.meterTraceStarts() != meterTraceStarts_) { + meterTraceStarts_ = data_.meterTraceStarts(); + if (!data_.selectDmmFunction(dmm::Function(prefs_.meterFunction)) && visible) + view_.notify(Tooltip::Critical, tr(TextId::MsgDmmFunctionSelectionFailed), now); + } if (data_.dmmRestarts() != dmmRestarts_) { // The chip restarted in its default function. dmmRestarts_ = data_.dmmRestarts(); if (data_.meterEnabled()) { meterRestore_.arm(data_.selectDmmFunction(dmm::Function(prefs_.meterFunction))); if (visible) view_.notify(Tooltip::Critical, tr(TextId::MsgDmmStoppedRespondingRestarted), now); + } else if (data_.meterTraceRunning()) { // The trace's chip: its function again, no range to restore. + data_.selectDmmFunction(dmm::Function(prefs_.meterFunction)); + if (visible) view_.notify(Tooltip::Critical, tr(TextId::MsgDmmStoppedRespondingRestarted), now); } } if (data_.dmmReselects() != dmmReselects_) { diff --git a/src/application/plot_actions.cpp b/src/application/plot_actions.cpp index 9e412760..b3fb3877 100644 --- a/src/application/plot_actions.cpp +++ b/src/application/plot_actions.cpp @@ -63,7 +63,7 @@ bool ApplicationController::applyDisplay(unsigned row, uint32_t now) { const unsigned channel = plotControls_.channel; const char *VisibleTrace = tr(TextId::MsgReferenceNeedsAVisibleYTChannel); if ((options.mode != plot::Mode::Time && options.mode != plot::Mode::SpectrumOverlay) || - !options.channels[channel].visible) return refuse(VisibleTrace); + !options.drawn(channel)) return refuse(VisibleTrace); // Never the DMM trace's hidden time axis. scope::FrameLease frame; if (!data_.acquireScopeWait(frame)) return refuse(tr(TextId::MsgReferenceNeedsACompletedFrame)); widget.setFrame(frame.view()); @@ -79,10 +79,13 @@ bool ApplicationController::applyDisplay(unsigned row, uint32_t now) { (!ch1 || !ch2 || !plotControls_.options.channels[0].visible || !plotControls_.options.channels[1].visible)) { return refuse(tr(TextId::MsgXyNeedsCh1Ch2EnabledAndVisible)); } - if (!plotControls_.enabled[plotControls_.options.spectrum.channel]) + // Onto the other channel only when that one is shown (as data_display.cpp): with the DMM trace alone + // the source stays, drawing nothing. + if (!plotControls_.enabled[plotControls_.options.spectrum.channel] && plotControls_.enabled[plotControls_.options.spectrum.channel ^ 1]) plotControls_.options.spectrum.channel ^= 1; if (!changePlotMode(plotControls_.options,view_.waveform().options().mode,now)) return refuse(tr(TextId::MsgFinishDataTransferFirst)); widget.configure(plotControls_.options); + if (plotControls_.channel != selectedChannel_) meterSelected_ = false; // A channel chosen here. selectedChannel_ = plotControls_.channel; plotControls_.options = widget.options(); // As the view took it (X-Y adds its own). queuePlotSave(now); diff --git a/src/application/remote/backend.cpp b/src/application/remote/backend.cpp index 86291e60..2da81cc9 100644 --- a/src/application/remote/backend.cpp +++ b/src/application/remote/backend.cpp @@ -1,6 +1,7 @@ #include "openosc/board/current.hpp" #include "openosc/application/boot_timing.hpp" #include "openosc/application/scpi_backend.hpp" +#include "openosc/ui/scope/trace_move.hpp" #include "openosc/screenshot/reader.hpp" #include #include @@ -40,6 +41,23 @@ bool InstrumentBackend::configure(const ScopeRequest &r, bool level) { } bool InstrumentBackend::configureScope(const ScopeRequest &r) { return configure(r, false); } bool InstrumentBackend::setTrigger(const ScopeRequest &r) { return configure(r, true); } +bool InstrumentBackend::channelShown(unsigned channel) const { + return plot::ChannelDisplay::shown(application_.data_.scopeRequest(), application_.view_.waveform().options(), channel); +} +// The channel menu's Enabled row: the capture's channels and the view's hidden one, both or neither. +int16_t InstrumentBackend::showChannel(unsigned channel, bool on) { + auto &a = application_; + auto request = a.data_.scopeRequest(); + auto options = a.view_.waveform().options(); + if (!plot::ChannelDisplay::show(request, options, channel, on)) return -221; + if (!request.same(a.data_.scopeRequest()) && !configure(request, false)) return -222; + if (options.meter.axis != a.view_.waveform().options().meter.axis) { + a.view_.waveform().configure(options); + a.queuePlotSave(Board::milliseconds()); + a.dataRefresh_ = true; + } + return 0; +} void InstrumentBackend::demand() const { application_.data_.frameHosts().demand(host_, Board::milliseconds()); } bool InstrumentBackend::run(bool single) { if (application_.data_.zeroBusy() || application_.bodeOwns()) return false; @@ -58,8 +76,7 @@ bool InstrumentBackend::autoScale() { auto &a=application_; if (!a.data_.scopeEnabled() || a.data_.zeroBusy() || a.data_.scopeRecording() || a.autoBusy() || a.bodeOwns()) return false; - a.startAuto(Board::milliseconds()); - return a.autoBusy(); + return a.startAuto(Board::milliseconds()); // The DMM trace alone: its scale fitted. } // TFORce: the acquisition's forced record; AutoSetup trials are its own refusal, zero/HOLD/Single // done are DataAccess's. @@ -403,6 +420,14 @@ size_t InstrumentBackend::screenRead(uint32_t ticket, uint32_t offset, uint8_t * if (!application_.screenLease_.read(ticket, Board::milliseconds())) return 0; // Gone: the engine pads (-230). return BmpImage(screenshot::previewMemory()).read(offset, out, size); } +bool InstrumentBackend::message(const char *text) { + if (!application_.uiReady_) return false; + application_.view_.message(text); + // A dimmed or dark screen wakes as a key wakes it (servicePower: the idle timer restarts). + if (*text) application_.idle_.activity(Board::milliseconds()); + return true; +} +const char *InstrumentBackend::message() const { return application_.uiReady_ ? application_.view_.message() : ""; } bool InstrumentBackend::factoryCalibration(FactoryCalibration &f) const { const auto &record = application_.data_.scopeCalibration().factory(); f = FactoryCalibration{}; diff --git a/src/data/csv.cpp b/src/data/csv.cpp index 41a06ae2..516758ab 100644 --- a/src/data/csv.cpp +++ b/src/data/csv.cpp @@ -1,5 +1,6 @@ #include "openosc/data/csv.hpp" #include "openosc/data/decimal.hpp" +#include #include #include @@ -43,6 +44,19 @@ const char *Csv::quantity(Quantity value) { return "unknown"; } } +namespace { +const char *unit(Quantity value) { // The SI unit of a value_si, as MeterFunctions names them. + switch (value) { + case Quantity::Voltage: return "V"; + case Quantity::Current: return "A"; + case Quantity::Resistance: return "Ohm"; + case Quantity::Capacitance: return "F"; + case Quantity::Frequency: return "Hz"; + case Quantity::Temperature: return "degC"; + default: return ""; + } +} +} // namespace size_t Csv::dmm(const dmm::Result &result, bool hold, char *out, size_t capacity) { if (!out || !capacity) return 0; @@ -61,7 +75,7 @@ size_t Csv::dmm(const dmm::Result &result, bool hold, char *out, size_t capacity unsigned(result.packetHold), unsigned(hold), unsigned(result.peerRelative)); return n > 0 && size_t(n) < capacity ? size_t(n) : 0; } -size_t Csv::scope(const scope::FrameView &frame, size_t index, char *out, size_t capacity) { +size_t Csv::scope(const scope::FrameView &frame, size_t index, char *out, size_t capacity, const float *meter) { if (!out || !capacity || !frame.valid() || index >= frame.metadata().samples) return 0; char raw[2][8]{}, volts[2][40]{}; @@ -78,11 +92,22 @@ size_t Csv::scope(const scope::FrameView &frame, size_t index, char *out, size_t if (!Decimal::fraction(uint64_t(index) * frame.metadata().samplesPerSecond.denominator, frame.metadata().samplesPerSecond.numerator, time, sizeof time)) return 0; - const int n = std::snprintf(out, capacity, "%lu,%s,%s,%s,%s,%s\r\n", static_cast(index), - time, raw[0], raw[1], volts[0], volts[1]); + char reading[40] = ""; + // A float's seven digits: more would print its binary rounding. + if (meter && std::isfinite(*meter) && !Decimal::number(*meter, reading, sizeof reading, 7)) + return 0; + const int n = std::snprintf(out, capacity, "%lu,%s,%s,%s,%s,%s%s%s\r\n", static_cast(index), + time, raw[0], raw[1], volts[0], volts[1], meter ? "," : "", reading); + return n > 0 && size_t(n) < capacity ? size_t(n) : 0; +} +size_t Csv::scopeMeter(const char *function, Quantity value, char *out, size_t capacity) { + if (!out || !capacity || !function) + return 0; + const int n = std::snprintf(out, capacity, "# dmm: function=%s,quantity=%s,unit=%s\r\n", function, quantity(value), + unit(value)); return n > 0 && size_t(n) < capacity ? size_t(n) : 0; } -size_t Csv::scopeRowLimit(const scope::FrameMetadata &m) { +size_t Csv::scopeRowLimit(const scope::FrameMetadata &m, bool meter) { if (!m.valid()) // Also samples and the rate. return 0; char text[48]; @@ -116,6 +141,7 @@ size_t Csv::scopeRowLimit(const scope::FrameMetadata &m) { } bytes += 4 + volts; // A signed 8-bit code: "-128" at most. } + if (meter) bytes += 1 + 13; // Its comma and a float at scope()'s seven digits: "-1.234567e-45". return bytes + 5 + 2; // Five commas, CRLF. } size_t Csv::scopeMetadata(const scope::FrameMetadata &m, char *output, size_t capacity) { diff --git a/src/data/recorders.cpp b/src/data/recorders.cpp index 007360b8..aa2e87d0 100644 --- a/src/data/recorders.cpp +++ b/src/data/recorders.cpp @@ -2,12 +2,13 @@ #include "openosc/storage/layout.hpp" #include "openosc/data/csv.hpp" #include "openosc/platform/board.hpp" +#include #include #include #include namespace openosc { -bool ScopeRecorder::begin(scope::FrameLease &&lease, Format format, scope::AcquisitionArena *arena) { +bool ScopeRecorder::begin(scope::FrameLease &&lease, Format format, scope::AcquisitionArena *arena, const Meter *meter) { if (!supported(format)) { status_ = DataStatus::InvalidArgument; return false; @@ -20,19 +21,25 @@ bool ScopeRecorder::begin(scope::FrameLease &&lease, Format format, scope::Acqui status_ = DataStatus::InvalidArgument; return false; } + meter_ = !raw(format) && meter ? meter->points : nullptr; + meterCount_ = meter_ ? meter->count : 0; + meterFunction_ = meter_ ? meter->function : ""; + meterQuantity_ = meter_ ? meter->quantity : Quantity::Unknown; + meterNext_ = 0; + meterValue_ = NAN; if (compressed(format)) return beginGzip(std::move(lease), arena); // Start immediately when even the largest representation fits. If the bound does not fit, // measure the actual record in slices before opening a temporary file. size_t header = 0; if (format == Format::Csv) { const auto &metadata = lease.view().metadata(); - const size_t row = Csv::scopeRowLimit(metadata); - header = Csv::scopeMetadata(metadata, reinterpret_cast(buffer_), sizeof buffer_); + const size_t row = Csv::scopeRowLimit(metadata, meter_ != nullptr); + header = csvHeader(metadata); if (!row || !header) { status_ = DataStatus::InvalidArgument; return false; } - required_ = header + std::strlen(Csv::ScopeHeader) + uint64_t(metadata.samples) * row; + required_ = header + std::strlen(columns()) + uint64_t(metadata.samples) * row; } else required_ = stream_.size(); const bool opened = file_.begin(storage::Layout::Captures, "CAP", format == Format::Raw ? "RAW" : "CSV", required_); @@ -41,7 +48,7 @@ bool ScopeRecorder::begin(scope::FrameLease &&lease, Format format, scope::Acqui status_ = file_.status(); return false; } - if (measuring_) required_ = header + std::strlen(Csv::ScopeHeader); + if (measuring_) required_ = header + std::strlen(columns()); else if (format == Format::Csv && !writeCsvHeader(header)) return false; lease_ = std::move(lease); offset_ = 0; @@ -52,12 +59,12 @@ bool ScopeRecorder::begin(scope::FrameLease &&lease, Format format, scope::Acqui } bool ScopeRecorder::beginGzip(scope::FrameLease &&lease, scope::AcquisitionArena *arena) { const bool csv = format_ == Format::CsvGz; - size_t header = 0, columns = 0; + size_t header = 0, names = 0; if (csv) { const auto &metadata = lease.view().metadata(); - header = Csv::scopeMetadata(metadata, reinterpret_cast(buffer_), sizeof buffer_); - columns = std::strlen(Csv::ScopeHeader); - if (!header || header + columns > GzipStream::InputBytes || !Csv::scopeRowLimit(metadata)) { + header = csvHeader(metadata); + names = std::strlen(columns()); + if (!header || header + names > GzipStream::InputBytes || !Csv::scopeRowLimit(metadata, meter_ != nullptr)) { status_ = DataStatus::InvalidArgument; return false; } @@ -65,7 +72,7 @@ bool ScopeRecorder::beginGzip(scope::FrameLease &&lease, scope::AcquisitionArena if (!arena || !gzip_.begin(*arena)) { status_ = DataStatus::Busy; return false; } // A screenshot, a trial frame. if (csv) { std::memcpy(gzip_.input(), buffer_, header); - std::memcpy(gzip_.input() + header, Csv::ScopeHeader, columns); + std::memcpy(gzip_.input() + header, columns(), names); } // No upper bound is reserved: the free space is checked as each chunk is written. if (!file_.begin(storage::Layout::Captures, "CAP", csv ? "CSV.GZ" : "RAW.GZ", GzipStream::HeaderBytes)) { @@ -75,7 +82,7 @@ bool ScopeRecorder::beginGzip(scope::FrameLease &&lease, scope::AcquisitionArena } GzipStream::header(buffer_); out_ = GzipStream::HeaderBytes; - pending_ = header + columns; consumed_ = 0; + pending_ = header + names; consumed_ = 0; lease_ = std::move(lease); offset_ = 0; finishing_ = measuring_ = false; @@ -83,23 +90,39 @@ bool ScopeRecorder::beginGzip(scope::FrameLease &&lease, scope::AcquisitionArena status_ = DataStatus::Busy; return true; } +size_t ScopeRecorder::csvHeader(const scope::FrameMetadata &metadata) { + const size_t bytes = Csv::scopeMetadata(metadata, reinterpret_cast(buffer_), sizeof buffer_); + if (!bytes || !meter_) return bytes; + const size_t line = Csv::scopeMeter(meterFunction_, meterQuantity_, reinterpret_cast(buffer_ + bytes), sizeof buffer_ - bytes); + return line ? bytes + line : 0; +} +const char *ScopeRecorder::columns() const { return meter_ ? Csv::ScopeMeterHeader : Csv::ScopeHeader; } bool ScopeRecorder::writeCsvHeader(size_t bytes) { - if (file_.write(buffer_, bytes) && file_.write(Csv::ScopeHeader, std::strlen(Csv::ScopeHeader))) return true; + if (file_.write(buffer_, bytes) && file_.write(columns(), std::strlen(columns()))) return true; status_ = file_.status(); if (status_ == DataStatus::NoSpace) file_.discard(); return false; } +const float *ScopeRecorder::meterField(size_t row) { + if (!meter_) return nullptr; + for (; meterNext_ < meterCount_; ++meterNext_) { // The reading this row holds. + const MeterPoint &point = meter_[meterNext_]; + if (point.row > row) break; + meterValue_ = point.value; + } + return &meterValue_; +} void ScopeRecorder::measureCsv() { constexpr unsigned RowsPerService = 96; const auto &frame = lease_.view(); const auto &metadata = frame.metadata(); for (unsigned i = 0; i < RowsPerService && offset_ < metadata.samples; ++i, ++offset_) { - const size_t bytes = Csv::scope(frame, offset_, reinterpret_cast(buffer_), sizeof buffer_); + const size_t bytes = Csv::scope(frame, offset_, reinterpret_cast(buffer_), sizeof buffer_, meterField(offset_)); if (!bytes) { status_ = DataStatus::InvalidArgument; cancel(); return; } required_ += bytes; } if (offset_ < metadata.samples) return; - const size_t header = Csv::scopeMetadata(metadata, reinterpret_cast(buffer_), sizeof buffer_); + const size_t header = csvHeader(metadata); if (!header) { status_ = DataStatus::InvalidArgument; cancel(); return; } if (!file_.begin(storage::Layout::Captures, "CAP", "CSV", required_)) { status_ = file_.status(); @@ -108,12 +131,15 @@ void ScopeRecorder::measureCsv() { } if (!writeCsvHeader(header)) { cancel(); return; } offset_ = 0; + meterNext_ = 0; // The write goes over the readings again from row 0. + meterValue_ = NAN; measuring_ = false; } size_t ScopeRecorder::csvRows(uint8_t *out, size_t capacity) { size_t bytes = 0; while (offset_ < lease_.view().metadata().samples && capacity - bytes >= 180) { - const size_t length = Csv::scope(lease_.view(), offset_, reinterpret_cast(out + bytes), capacity - bytes); + const size_t length = Csv::scope(lease_.view(), offset_, reinterpret_cast(out + bytes), capacity - bytes, + meterField(offset_)); if (!length) return 0; bytes += length; ++offset_; diff --git a/src/i18n/catalog.cpp b/src/i18n/catalog.cpp index 974e09b9..94806eb2 100644 --- a/src/i18n/catalog.cpp +++ b/src/i18n/catalog.cpp @@ -3,7 +3,7 @@ namespace openosc::i18n { namespace { -// English: 26703 bytes of text. +// English: 27066 bytes of text. constexpr char Text_en[] = "\000ACQUISITION\000{0} codes\000Always on\000Amplitude\000Amplitude clamped to shape limit\000" "{0} V (max {1}) nom.\000ANALOG LAYOUT\000Analog zero\000Bode (FRA)\000Center channels\000" @@ -48,35 +48,36 @@ constexpr char Text_en[] = "Invalid interleave offset\000Invalid zero correction\000Zero loaded; file restore failed\000" "Calibration JSON archived (*.bad):{0}\000Calibration\000Cancel\000Captured\000Analyze\000" "Cursor\000Output\000Params\000Position\000Rise/Fall\000AWG\000Invalid\000Pos sine\000Trigger\000" - "Zoom {0}\000CH1 is the last channel on\000CH2 is the last channel on\000Channel\000CH{0} Off\000" - "Off, CH{0} {1} pts\000On, {0} pts\000CH{0} readout {1}\000CH2 (input 1)\000CH1 (input 2)\000" - "CHANNEL\000Codes 0-4095 as 8-bit\000Color\000Amber\000Black\000Blue\000Green\000Red\000Cyan\000" - "Graphite\000Gray\000Navy\000Orange\000Paper\000Silver\000Sky\000Violet\000White\000Yellow\000" - "COLORS\000Access point\000Add character\000IPv4 address\000AP password\000BLE PIN\000" - "Bluetooth LE\000Character\000{0} chars\000Connect\000Connecting\000Delete last\000" - "Development Mode\000Find Wi-Fi networks\000Network\000{0} {1} dBm\000Never\000No reply\000" - "Offline\000Open\000Power\000Secured\000Sleep when idle\000Starting\000Station\000Stopping\000" - "SWD\000Sync time\000Wi-Fi TX power\000Unsynced\000Update ESP\000UTC\000Waiting for capture\000" - "Wi-Fi mode\000Wi-Fi SCPI\000Wireless SWD\000Power off\000POWER OFF?\000Open Recovery\000" - "OPEN RECOVERY?\000Save and restart\000RESTART DEVICE?\000High contrast\000Theme\000" - "Auto (HD/Peak)\000Average\000CH{0} below 5 kHz\000Capture CH{0} reference\000" - "Clear history and reference\000Clock correction\000Frequency counter\000Readings averaged\000" - "Decimals\000Counter\000Cursor A freq\000Cursor a level\000Cursor A time\000Cursor B freq\000" - "Cursor b level\000Cursor B time\000dBFS\000CH{0} digital gain\000CH{0} digital offset\000" - "Envelope\000FFT\000FFT full rate\000FFT remove DC\000FFT scale\000FFT source\000FFT window\000" - "Frequency cursors\000Gate\000Glow\000Grid\000Axes\000Grid brightness\000Full\000Major\000" - "None\000HD mean\000History\000Infinite\000Interpolation\000CH{0} invert\000Level cursors\000" - "Linear\000MATH coupling\000No edges counted\000No signal\000Off (density {0} s)\000" - "Horizontal position\000Peak hold\000Persistence\000Points\000Remove DC\000Capture rendering\000" - "Samples\000Section\000Sinc\000Spline\000Square grid\000Time cursors\000Timed edges\000Trace\000" - "Trace f (~)\000Vectors\000View\000CH{0} visible\000Voltage cursors\000Zoom\000FPS\000" - "no signal\000Sample rate\000Coupling\000CANNOT CHECK DECODE FILE NAME\000" - "CANNOT CHECK FRA FILE NAME\000CANNOT CREATE DECODE DIRECTORY\000CANNOT CREATE DECODE FILE\000" - "CANNOT CREATE FRA DIRECTORY\000CANNOT CREATE FRA FILE\000DECODE CSV BUSY\000" - "DECODE CSV CANCELLED\000DECODE CSV DISK FULL\000DECODE CSV FINALIZE FAILED\000" - "DECODE CSV SYNC FAILED\000DECODE CSV WRITE FAILED\000DECODE FILE NAME LIMIT REACHED\000" - "FRA CSV CANCELLED\000FRA CSV DISK FULL\000FRA CSV FINALIZE FAILED\000FRA CSV: INVALID RUN\000" - "FRA CSV LINE TOO LONG\000FRA CSV: NO POINTS\000FRA CSV SYNC FAILED\000FRA CSV WRITE FAILED\000" + "Zoom {0}\000CH1 is the last channel on\000CH2 is the last channel on\000Channel\000Function\000" + "CH{0} Off\000Off, hidden\000Off, CH{0} {1} pts\000On, {0} pts\000CH{0} readout {1}\000" + "CH2 (input 1)\000CH1 (input 2)\000CHANNEL\000Codes 0-4095 as 8-bit\000Color\000Amber\000" + "Black\000Blue\000Green\000Red\000Cyan\000Graphite\000Gray\000Navy\000Orange\000Paper\000" + "Silver\000Sky\000Violet\000White\000Yellow\000COLORS\000Access point\000Add character\000" + "IPv4 address\000AP password\000BLE PIN\000Bluetooth LE\000Character\000{0} chars\000Connect\000" + "Connecting\000Delete last\000Development Mode\000Find Wi-Fi networks\000Network\000" + "{0} {1} dBm\000Never\000No reply\000Offline\000Open\000Power\000Secured\000Sleep when idle\000" + "Starting\000Station\000Stopping\000SWD\000Sync time\000Wi-Fi TX power\000Unsynced\000" + "Update ESP\000UTC\000Waiting for capture\000Wi-Fi mode\000Wi-Fi SCPI\000Wireless SWD\000" + "Power off\000POWER OFF?\000Open Recovery\000OPEN RECOVERY?\000Save and restart\000" + "RESTART DEVICE?\000High contrast\000Theme\000Auto (HD/Peak)\000Average\000CH{0} below 5 kHz\000" + "Capture CH{0} reference\000Clear history and reference\000Clock correction\000" + "Frequency counter\000Readings averaged\000Decimals\000Counter\000Cursor A freq\000" + "Cursor a level\000Cursor A time\000Cursor B freq\000Cursor b level\000Cursor B time\000dBFS\000" + "CH{0} digital gain\000CH{0} digital offset\000Envelope\000FFT\000FFT full rate\000" + "FFT remove DC\000FFT scale\000FFT source\000FFT window\000Frequency cursors\000Gate\000Glow\000" + "Grid\000Axes\000Grid brightness\000Full\000Major\000None\000HD mean\000History\000Infinite\000" + "Interpolation\000CH{0} invert\000Level cursors\000Linear\000MATH coupling\000" + "No edges counted\000No signal\000Off (density {0} s)\000Horizontal position\000Peak hold\000" + "Persistence\000Points\000Remove DC\000Capture rendering\000Samples\000Section\000Sinc\000" + "Spline\000Square grid\000Time cursors\000Timed edges\000Trace\000Trace f (~)\000Vectors\000" + "View\000CH{0} visible\000Voltage cursors\000Zoom\000FPS\000no signal\000Sample rate\000" + "Coupling\000CANNOT CHECK DECODE FILE NAME\000CANNOT CHECK FRA FILE NAME\000" + "CANNOT CREATE DECODE DIRECTORY\000CANNOT CREATE DECODE FILE\000CANNOT CREATE FRA DIRECTORY\000" + "CANNOT CREATE FRA FILE\000DECODE CSV BUSY\000DECODE CSV CANCELLED\000DECODE CSV DISK FULL\000" + "DECODE CSV FINALIZE FAILED\000DECODE CSV SYNC FAILED\000DECODE CSV WRITE FAILED\000" + "DECODE FILE NAME LIMIT REACHED\000FRA CSV CANCELLED\000FRA CSV DISK FULL\000" + "FRA CSV FINALIZE FAILED\000FRA CSV: INVALID RUN\000FRA CSV LINE TOO LONG\000" + "FRA CSV: NO POINTS\000FRA CSV SYNC FAILED\000FRA CSV WRITE FAILED\000" "FRA FILE NAME LIMIT REACHED\000NOT ENOUGH FREE SPACE\000STORAGE NOT AVAILABLE\000Freq A\000" "Freq B\000Frequency+Level\000Level\000Level a\000Level b\000Time\000Time A\000Time B\000" "Time+Level\000Custom RGB\000DAC codes 0-4095\000DAC max\000DAC min\000" @@ -107,22 +108,22 @@ constexpr char Text_en[] = "Wave + annotations\000Decoder only\000Word bits\000Word start\000Higher sample rate\000" "Longer record\000Deep memory\000Density\000Density color\000Mono\000x1000 counts\000" "DIGITAL LAYOUT\000Disabled\000function\000group key\000key\000range\000" - "Multimeter {0} command was not confirmed\000Factory: DAC <1kHz\000{0}, now {1}\000PWM always\000" - "Duty\000Enabled\000IBM\000Segment\000Factory\000Field\000Frequency clamped to shape maximum\000" - "Draft\000{0} (max {1})\000FREQUENCY\000From the counter\000Capacitance\000Continuity\000" - "AC current\000DC current\000Diode\000Diode + Beep\000AC milliamps\000DC milliamps\000" - "AC millivolts\000DC millivolts\000Resistance\000Thermocouple\000AC voltage\000DC voltage\000" - "Apply the reference to the tip\000Apply {0} to the CH{1} tip\000At ADC limit\000" - "Gain calibration\000GAIN CALIBRATION\000Cell\000CONNECT CH{0} TIP TO GND\000Correction\000" - "failed: tip level outside zero range\000failed: correction outside 0.8..1.25\000" - "failed: reference span not 40..110 codes\000failed: input at the ADC limit\000" - "failed: reference of the wrong sign\000failed: span under 40 codes\000" - "failed: input not stable\000Ground\000Input\000Keep the probe tip on GND\000" - "Keep the reference on the tip\000MATCH CHANNEL GAIN\000Measured span\000No factory scale\000" - "none\000{0} (now {1})\000Outside zero range\000{0} {1}%\000{0}:{1} (input CH{2})\000" - "Reference applied\000Disconnect signal and touch tip to GND\000Retry ground\000" - "Save or cancel the result\000{0} codes (over 110)\000{0} codes (under 40)\000Step\000" - "CH{0} ground\000CH{0} reference\000CH{0} retry ground\000CH{0} review\000" + "Multimeter {0} command was not confirmed\000DMM readout {0}\000Factory: DAC <1kHz\000" + "{0}, now {1}\000PWM always\000Duty\000Enabled\000IBM\000Segment\000Factory\000Field\000" + "Frequency clamped to shape maximum\000Draft\000{0} (max {1})\000FREQUENCY\000" + "From the counter\000Capacitance\000Continuity\000AC current\000DC current\000Diode\000" + "Diode + Beep\000AC milliamps\000DC milliamps\000AC millivolts\000DC millivolts\000Resistance\000" + "Thermocouple\000AC voltage\000DC voltage\000Apply the reference to the tip\000" + "Apply {0} to the CH{1} tip\000At ADC limit\000Gain calibration\000GAIN CALIBRATION\000Cell\000" + "CONNECT CH{0} TIP TO GND\000Correction\000failed: tip level outside zero range\000" + "failed: correction outside 0.8..1.25\000failed: reference span not 40..110 codes\000" + "failed: input at the ADC limit\000failed: reference of the wrong sign\000" + "failed: span under 40 codes\000failed: input not stable\000Ground\000Input\000" + "Keep the probe tip on GND\000Keep the reference on the tip\000MATCH CHANNEL GAIN\000" + "Measured span\000No factory scale\000none\000{0} (now {1})\000Outside zero range\000{0} {1}%\000" + "{0}:{1} (input CH{2})\000Reference applied\000Disconnect signal and touch tip to GND\000" + "Retry ground\000Save or cancel the result\000{0} codes (over 110)\000{0} codes (under 40)\000" + "Step\000CH{0} ground\000CH{0} reference\000CH{0} retry ground\000CH{0} review\000" "CH{0} wait reference\000Unstable\000Applied {0}\000Applied {0}, {1} pts at {2}\000" "Generator off: frequency above this clock's DAC limit\000" "Generator stopped: DMA transfer error\000Generator stopped: DAC underrun\000Fixed\000" @@ -162,31 +163,31 @@ constexpr char Text_en[] = "Swap probes\000Swap needs equal probe ratios\000Swap the probes, both on the source\000" "CH{0} to CH{1}\000AC RMS\000Amplitude (Top - Bottom)\000Bottom (robust low)\000" "Hardware frequency / FCNT\000Maximum\000Mean\000Minimum\000Measure over\000Peak to peak\000" - "Period\000Pulses (rising edges)\000RMS\000Top (robust high)\000MEASUREMENT\000MEASUREMENTS\000" - "Measuring...\000Analog\000Bar graph\000Bar scale unit\000Base colors\000Base digits\000" - "CSV logging\000INVALID\000Junction source\000LIVE\000Manual junction\000Measurement\000" - "NO VALUE\000OVERLOAD\000Primary\000Range {0}\000Range\000Range unavailable\000Relative\000" - "REL ref: controller\000REL ref {0}\000Reset statistics\000Serial 115200\000Session log\000" - "STALE\000Statistics\000Temp units\000Thermocouple type\000Trend\000Waiting\000" - "Trigger level and pretrigger 50%\00050% needs a completed channel capture\000" - "Pretrigger 50%; level needs a capture\000{0} min (old)\000Mode\000More \342\206\223\000" - "360 MHz not started: boot guard unavailable\000A file is open over USB\000All\000" - "All four profile slots are used\000Any DC on an input is taken as offset\000" - "Apply the requested sine to CH1\000Auto cancelled\000Auto: cannot apply acquisition\000" - "Auto needs factory calibration\000Auto: no signal\000Auto: no stable capture / timeout\000" - "Auto setup...\000Auto setup complete\000Auto: signal outside range\000" - "AWG memory in use over USB\000Bad settings archived; backup copy restored\000" - "Bad settings archived; defaults written\000Bad theme archived; defaults restored\000" - "Bad theme archived; previous copy restored\000Bode\000Bode: a CSV is being saved\000" - "Bode: cannot start\000Bode closed: restoring GEN\000Bode closed, Scope restored\000" - "BODE (FRA)\000Bode: GEN amplitude is 0 V\000Bode: GEN did not confirm its restore: check GEN\000" - "Bode: instrument busy, restoring\000Enable CH1 and CH2 for Bode\000" - "Turn Interleave CH1 off for Bode\000Press RUN first: Bode needs a running capture\000" - "Bode needs the Scope (not Remote)\000Bode: no CSV while shutting down\000" - "Bode: nothing finished to save\000Bode: restore refused: check GEN and the Scope\000" - "Bode: saving CSV...\000Bode: saving the CSV, the next sweep after it\000" - "Bode: Stop must be above Start\000Bode stopped: capture refused\000" - "Bode stopped: generator did not confirm the frequency\000" + "Period\000Pulses (rising edges)\000RMS\000RMS (not in AC functions)\000RMS (not AC)\000" + "Top (robust high)\000MEASUREMENT\000MEASUREMENTS\000Measuring...\000Analog\000Bar graph\000" + "Bar scale unit\000Base colors\000Base digits\000CSV logging\000INVALID\000Junction source\000" + "LIVE\000Manual junction\000Measurement\000NO VALUE\000OVERLOAD\000Primary\000Range {0}\000" + "Range\000Range unavailable\000Relative\000REL ref: controller\000REL ref {0}\000" + "Reset statistics\000Serial 115200\000Session log\000STALE\000Statistics\000Temp units\000" + "Thermocouple type\000Trend\000Waiting\000Trigger level and pretrigger 50%\000" + "50% needs a completed channel capture\000Pretrigger 50%; level needs a capture\000" + "{0} min (old)\000Mode\000More \342\206\223\000360 MHz not started: boot guard unavailable\000" + "A file is open over USB\000All\000All four profile slots are used\000" + "Any DC on an input is taken as offset\000Apply the requested sine to CH1\000Auto cancelled\000" + "Auto: cannot apply acquisition\000Auto needs factory calibration\000Auto: no signal\000" + "Auto: no stable capture / timeout\000Auto setup...\000Auto setup complete\000" + "Auto: signal outside range\000AWG memory in use over USB\000" + "Bad settings archived; backup copy restored\000Bad settings archived; defaults written\000" + "Bad theme archived; defaults restored\000Bad theme archived; previous copy restored\000Bode\000" + "Bode: a CSV is being saved\000Bode: cannot start\000Bode closed: restoring GEN\000" + "Bode closed, Scope restored\000BODE (FRA)\000Bode: GEN amplitude is 0 V\000" + "Bode: GEN did not confirm its restore: check GEN\000Bode: instrument busy, restoring\000" + "Enable CH1 and CH2 for Bode\000Turn Interleave CH1 off for Bode\000" + "Press RUN first: Bode needs a running capture\000Bode needs the Scope (not Remote)\000" + "Bode: no CSV while shutting down\000Bode: nothing finished to save\000" + "Bode: restore refused: check GEN and the Scope\000Bode: saving CSV...\000" + "Bode: saving the CSV, the next sweep after it\000Bode: Stop must be above Start\000" + "Bode stopped: capture refused\000Bode stopped: generator did not confirm the frequency\000" "Bode stopped: generator refused the frequency\000Bode stopped: USB Remote\000" "Bode stopped: repeated DAC underrun\000Bode stopped: the capture was taken over\000" "Bode: the drive's codes are not valid\000Bode: the last sweep's restore is pending\000" @@ -222,10 +223,12 @@ constexpr char Text_en[] = "Detect baud needs HOLD (the record to measure)\000Development Mode keeps power on\000" "Disable hardware + software\000Disable user gain\000DISCONNECT SCOPE INPUTS?\000" "Disconnect SWD debugger before enabling\000Disconnect the tip from the signal\000" - "DMM function selection failed\000DMM stopped responding: restarted\000Drawing...\000" - "Enable RUN and finish other operations\000Enable RUN and stop GEN / other operations\000" - "Enable USB controller first\000Exit\000Expected span must be 40..110 codes\000" - "Factory calibration required\000Factory calibration unavailable\000" + "DMM alone: trigger Auto\000DMM function selection failed\000" + "DMM readings beyond its largest scale\000DMM stopped responding: restarted\000" + "DMM zero leaves no room: move it\000Drawing...\000Enable RUN and finish other operations\000" + "Enable RUN and stop GEN / other operations\000Enable USB controller first\000Exit\000" + "Expected span must be 40..110 codes\000Factory calibration required\000" + "Factory calibration unavailable\000" "Factory calibration unavailable\012Scope readings use approximate defaults\000" "Factory gain applies to new captures\000Factory gain selected: saved cells would return\000" "Factory interleave offset saved\000Factory zero applies to new captures\000" @@ -248,29 +251,30 @@ constexpr char Text_en[] = "In\000Input overflow; press again\000Interleave auto\000Interleave calibration cancelled\000" "Interleave JSON not saved; unchanged\000Interleave off\000Interleave offset saved\000" "Interleave on: CH1 alone\000INVALID DISPLAY OPTIONS\000Invalid or damaged PNG\000Jump\000" - "Language fonts not found; install the firmware .OSC in Recovery\000List\000Load\000" - "Loading image...\000LOGS directory read failed\000Low battery: power off in 20 seconds\000" - "Main\000Maximum zoom\000Measure interleave offset\000Measure tone\000" - "Measurement command busy\000Measuring interleave offset...\000" + "Language fonts not found; install the firmware .OSC in Recovery\000Largest DMM scale\000List\000" + "Load\000Loading image...\000LOGS directory read failed\000" + "Low battery: power off in 20 seconds\000Main\000Maximum zoom\000Measure interleave offset\000" + "Measure tone\000Measurement command busy\000Measuring interleave offset...\000" "Meter did not report a manual range\000Minimum zoom\000Need a clean sine. Check signal.\000" "Needs CH1 alone at 10/25 ns, no Roll/GEN\000Needs Interleave active and trigger Auto\000" - "No AWG on this generator\000No AWG waveform loaded\000No CSV files\000No DMM sessions\000" - "No file open\000No file selected\000No fresh capture. Retry.\000No image selected\000" - "No interleave offset on this model\000No interleaved capture on this model\000" - "No markers in this sweep yet\000No record to move\000No record to zoom\000No records\000" - "No storage: settings will not save\000No waveform selected\000No waveforms\000" - "Not a session file\000Not applied\000Not applied: unsupported output frequency\000" - "Not applied: unsupported sample rate\000Not applied: unsupported waveform/frequency/duty\000" - "Not enough free space for this session\000Not enough memory for the file list\000" - "Not enough memory for the session list\000Not enough memory for the waveform list\000" - "Not loaded: waveform memory or rate unavailable\000" + "No AWG on this generator\000No AWG waveform loaded\000No CSV files\000" + "No DMM readings on screen\000No DMM sessions\000No file open\000No file selected\000" + "No fresh capture. Retry.\000No image selected\000No interleave offset on this model\000" + "No interleaved capture on this model\000No markers in this sweep yet\000No record to move\000" + "No record to zoom\000No records\000No storage: settings will not save\000" + "No waveform selected\000No waveforms\000Not a session file\000Not applied\000" + "Not applied: unsupported output frequency\000Not applied: unsupported sample rate\000" + "Not applied: unsupported waveform/frequency/duty\000Not enough free space for this session\000" + "Not enough memory for the file list\000Not enough memory for the session list\000" + "Not enough memory for the waveform list\000Not loaded: waveform memory or rate unavailable\000" "Offset in force for new records (not saved)\000Offset outside +-16 codes\000" - "Other files in CAPTURES are kept\000Out\000PNG ENCODING FAILED\000Pretrigger: not in Roll\000" - "Profile failed the tone checks.\000Profile file invalid\000Profile saved. Restart to apply.\000" - "Protocol\000Range command busy\000RAW UNAVAILABLE: Jump needs the decoded record held\000" - "Recording cancelled; opening Recovery\000Recording cancelled; powering off\000" - "Reduce sine level or change CH1 scale\000Reference needs a completed frame\000" - "Reference needs a visible Y-T channel\000REL needs a valid current reading\000" + "Other files in CAPTURES are kept\000Out\000Past 20 s/div: Roll, trigger Auto\000" + "PNG ENCODING FAILED\000Pretrigger: not in Roll\000Profile failed the tone checks.\000" + "Profile file invalid\000Profile saved. Restart to apply.\000Protocol\000Range command busy\000" + "RAW UNAVAILABLE: Jump needs the decoded record held\000Recording cancelled; opening Recovery\000" + "Recording cancelled; powering off\000Reduce sine level or change CH1 scale\000" + "Reference needs a completed frame\000Reference needs a visible Y-T channel\000" + "REL needs a valid current reading\000Release HOLD in the DMM to change function\000" "Release HOLD to change function\000Release USB waveform to restore\000" "Restart after saving to apply\000Restart refused; 360 MHz guard unavailable: 200 MHz active\000" "Restart refused; clock failure: running on HSI, restart\000" @@ -291,7 +295,7 @@ constexpr char Text_en[] = "Session file seek failed\000Session needs a DMM reading first\000" "SETTINGS DISK IS NOT AVAILABLE\000Settings not saved; opening Recovery\000" "Settings not saved; powering off\000Settings restored from a backup copy\000Setup\000" - "Software zero off; hardware zero kept\000Steady input; this clock only\000" + "Smallest DMM scale\000Software zero off; hardware zero kept\000Steady input; this clock only\000" "Stop GEN / calibrate\000Stop GEN / measure\000Stop GEN / set offset PWM\000" "Storage error: settings may not save\000Storage full: settings will not save\000" "Storage not available\000Storage not finished; opening Recovery\000" @@ -299,6 +303,7 @@ constexpr char Text_en[] = "SWD handoff timed out\000Sweep\000Table\000The last session is still being saved\000" "Theme loaded\000Theme loaded; plot changes discarded\000" "THEME RESTORED; CANNOT WRITE THEME JSON\000Theme restored from previous copy\000" + "Thermocouple: set Manual junction in the DMM's MENU\000" "Thermocouple: set Manual junction in MENU\000" "Too many rows: longer interval or shorter duration\000Longest trend window\000" "Shortest trend window\000Trigger centered\000Turn Interleave CH1 on first (Performance)\000" @@ -326,7 +331,7 @@ constexpr char Text_en[] = "END OF RECORD\000END\000OUTSIDE RECORD\000OUTSIDE\000START OF RECORD\000START\000refused\000" "Remote\000Home view\000Reset zoom & pan\000Restore last\000Restore last ({0})\000FAIL\000N/A\000" "OK\000pending\000AVG value\000Background\000Bar / trend\000Card frame\000Card sign lit\000" - "Card signs\000Card text\000CH1\000CH2\000Dial arc\000Dial ticks\000Function sign\000" + "Card signs\000Card text\000CH1\000CH2\000Dial arc\000Dial ticks\000DMM\000Function sign\000" "Info line\000Math\000MAX value\000MIN value\000Needle\000Panels\000Range / REL\000" "AUTO / MANUAL\000Readouts\000Scale numbers\000Secondary\000Secondary text\000Selection\000" "Stat names\000Tag text\000Text\000Rolling\000{0} MHz applied (exceeds spec)\000{0}: {1} MHz\000" @@ -367,7 +372,7 @@ constexpr char Text_en[] = "Video\000Any field\000Any line\000Sync on\000Field 1\000Field 2\000Line\000NTSC\000PAL/SECAM\000" "Standard\000Unknown\000Unsaved changes discarded. {0}\000Up {0}\000{0}\000" "Auto ({0} MHz only)\000Enabled ({0} MHz only)\000{0}, off at {1}\000{0}, off on HSI\000Both\000" - "DMM\000Scope\000Wave\000Waveform {0} needs {1} KiB, {2} KiB free\012Try CSV.gz or RAW.gz.\000" + "Scope\000Wave\000Waveform {0} needs {1} KiB, {2} KiB free\012Try CSV.gz or RAW.gz.\000" "Waveform {0} needs {1} KiB, {2} KiB free\012Try a shorter record.\000" "Not enough free space for this waveform\000" "Not enough free space for {0}\012Try RAW.gz or a shorter record.\000" @@ -403,169 +408,170 @@ constexpr uint16_t Offsets_en[TextCount * VariantCount] = { 2627, 2627, 2627, 2658, 2658, 2658, 2686, 2686, 2686, 2714, 2714, 2714, 2747, 2747, 2747, 2789, 2789, 2789, 2828, 2828, 2828, 2852, 2852, 2852, 2874, 2874, 2874, 2900, 2900, 2900, 2924, 2924, 2924, 2957, 2957, 2957, 2995, 2995, 2995, 1116, 1116, 1116, 3007, 3007, 3007, 3014, 3014, 3014, 3023, 3023, 3023, 3031, 3031, 3031, 3038, 3038, 3038, 3045, 3045, 3045, 3052, 3052, 3052, 3061, 3061, 3061, 3071, 3071, 3071, 3075, 3075, 3075, - 3083, 3083, 3083, 3092, 3092, 3092, 3100, 3100, 3100, 3109, 3109, 3109, 3136, 3136, 3136, 3163, 3163, 3163, 3171, 3171, 3171, 3181, 3181, 3181, - 3200, 3200, 3200, 3212, 3212, 3212, 3230, 3230, 3230, 3244, 3244, 3244, 3258, 3258, 3258, 3266, 3266, 3266, 3288, 3288, 3288, 3294, 3294, 3294, - 3300, 3300, 3300, 3306, 3306, 3306, 3306, 3306, 3306, 3311, 3311, 3311, 3317, 3317, 3317, 3321, 3321, 3321, 3326, 3326, 3326, 3335, 3335, 3335, - 3311, 3311, 3311, 3340, 3340, 3340, 3345, 3345, 3345, 3352, 3352, 3352, 3317, 3317, 3317, 3358, 3358, 3358, 3365, 3365, 3365, 3369, 3369, 3369, - 3376, 3376, 3376, 3382, 3382, 3382, 3389, 3389, 3389, 3396, 3396, 3396, 3409, 3409, 3409, 3423, 3423, 3423, 3436, 3436, 3436, 3448, 3448, 3448, - 3456, 3456, 3456, 3469, 3469, 3469, 3479, 3479, 3479, 3489, 3489, 3489, 3497, 3497, 3497, 3508, 3508, 3508, 3520, 3520, 3520, 3537, 3537, 3537, - 3557, 3557, 3557, 3565, 3565, 3565, 3577, 3577, 3577, 3583, 3583, 3583, 3592, 3592, 3592, 3600, 3600, 3600, 3605, 3605, 3605, 3611, 3611, 3611, - 3619, 3619, 3619, 3635, 3635, 3635, 3644, 3644, 3644, 3652, 3652, 3652, 3661, 3661, 3661, 3665, 3665, 3665, 3675, 3675, 3675, 3690, 3690, 3690, - 3699, 3699, 3699, 3710, 3710, 3710, 3714, 3714, 3714, 3734, 3734, 3734, 3745, 3745, 3745, 3756, 3756, 3756, 3769, 3769, 3769, 3779, 3779, 3779, - 3790, 3790, 3790, 3804, 3804, 3804, 3819, 3819, 3819, 3836, 3836, 3836, 3852, 3852, 3852, 3866, 3866, 3866, 3872, 3872, 3872, 3887, 3887, 3887, - 3895, 3895, 3895, 3913, 3913, 3913, 3937, 3937, 3937, 3965, 3965, 3965, 3982, 3982, 3982, 4000, 4000, 4000, 4018, 4018, 4018, 4027, 4027, 4027, - 4035, 4035, 4035, 4049, 4049, 4049, 4064, 4064, 4064, 4078, 4078, 4078, 4092, 4092, 4092, 4107, 4107, 4107, 4121, 4121, 4121, 4126, 4126, 4126, - 4145, 4145, 4145, 4166, 4166, 4166, 4175, 4175, 4175, 4179, 4179, 4179, 4193, 4193, 4193, 4207, 4207, 4207, 4217, 4217, 4217, 4228, 4228, 4228, - 4239, 4239, 4239, 4257, 4257, 4257, 4262, 4262, 4262, 4267, 4267, 4267, 4272, 4272, 4272, 4277, 4277, 4277, 4293, 4293, 4293, 4298, 4298, 4298, - 4304, 4304, 4304, 4309, 4309, 4309, 4317, 4317, 4317, 4325, 4325, 4325, 4334, 4334, 4334, 4348, 4348, 4348, 4361, 4361, 4361, 4375, 4375, 4375, - 4382, 4382, 4382, 4396, 4396, 4396, 4413, 4413, 4413, 4423, 4423, 4423, 4443, 4443, 4443, 1774, 1774, 1774, 4463, 4463, 4463, 4473, 4473, 4473, - 4485, 4485, 4485, 4492, 4492, 4492, 4502, 4502, 4502, 4520, 4520, 4520, 4528, 4528, 4528, 4536, 4536, 4536, 4541, 4541, 4541, 4548, 4548, 4548, - 4560, 4560, 4560, 4573, 4573, 4573, 4585, 4585, 4585, 4591, 4591, 4591, 4603, 4603, 4603, 4611, 4611, 4611, 4616, 4616, 4616, 4630, 4630, 4630, - 4646, 4646, 4646, 4651, 4651, 4651, 4655, 4655, 4655, 4665, 4665, 4665, 4677, 4677, 4677, 4686, 4686, 4686, 4716, 4716, 4716, 4743, 4743, 4743, - 4774, 4774, 4774, 4800, 4800, 4800, 4828, 4828, 4828, 4851, 4851, 4851, 4867, 4867, 4867, 4888, 4888, 4888, 4909, 4909, 4909, 4936, 4936, 4936, - 4959, 4959, 4959, 4983, 4983, 4983, 5014, 5014, 5014, 5032, 5032, 5032, 5050, 5050, 5050, 5074, 5074, 5074, 5095, 5095, 5095, 5117, 5117, 5117, - 5136, 5136, 5136, 5156, 5156, 5156, 5177, 5177, 5177, 5205, 5205, 5205, 5227, 5227, 5227, 1001, 1001, 1001, 5249, 5249, 5249, 5256, 5256, 5256, - 5263, 5263, 5263, 5279, 5279, 5279, 5285, 5285, 5285, 5293, 5293, 5293, 5301, 5301, 5301, 5306, 5306, 5306, 5313, 5313, 5313, 5320, 5320, 5320, - 5331, 5331, 5331, 5342, 5342, 5342, 5359, 5359, 5359, 5367, 5367, 5367, 5375, 5375, 5375, 5412, 5412, 5412, 5445, 5445, 5445, 5455, 5455, 5455, - 5495, 5495, 5495, 5536, 5536, 5536, 5569, 5569, 5569, 5600, 5600, 5600, 5609, 5609, 5609, 5632, 5632, 5632, 5669, 5669, 5669, 5681, 5681, 5681, - 5692, 5692, 5692, 5707, 5707, 5707, 5721, 5721, 5721, 5746, 5746, 5746, 5756, 5756, 5756, 5792, 5792, 5792, 5805, 5805, 5805, 5815, 5815, 5815, - 5846, 5846, 5846, 5877, 5877, 5877, 5914, 5914, 5914, 5949, 5949, 5949, 5986, 5986, 5986, 6015, 6015, 6015, 6021, 6021, 6021, 6030, 6030, 6030, - 6051, 6051, 6051, 6065, 6065, 6065, 6089, 6089, 6089, 6111, 6111, 6111, 6116, 6116, 6116, 6126, 6126, 6126, 6135, 6135, 6135, 6144, 6144, 6144, - 6152, 6152, 6152, 6161, 6161, 6161, 6171, 6171, 6171, 6176, 6176, 6176, 6188, 6188, 6188, 6210, 6210, 6210, 6219, 6219, 6219, 6232, 6232, 6232, - 6243, 6243, 6243, 6254, 6254, 6254, 6268, 6268, 6268, 6281, 6281, 6281, 6294, 6294, 6294, 6309, 6309, 6309, 6320, 6320, 6320, 6340, 6340, 6340, - 6349, 6349, 6349, 6354, 6354, 6354, 6390, 6390, 6390, 6409, 6409, 6409, 6419, 6419, 6419, 6431, 6431, 6431, 6444, 6444, 6444, 6454, 6454, 6454, - 6464, 6464, 6464, 6483, 6483, 6483, 6536, 6536, 6536, 6579, 6579, 6579, 6611, 6611, 6611, 6658, 6658, 6658, 6704, 6704, 6704, 6756, 6756, 6756, - 6802, 6802, 6802, 6836, 6836, 6836, 6843, 6843, 6843, 6848, 6848, 6848, 4304, 4304, 4304, 6853, 6853, 6853, 6857, 6857, 6857, 6863, 6863, 6863, - 6869, 6869, 6869, 6879, 6879, 6879, 6902, 6902, 6902, 6913, 6913, 6913, 6926, 6926, 6926, 6938, 6938, 6938, 6961, 6961, 6961, 6971, 6971, 6971, - 6992, 6992, 6992, 7001, 7001, 7001, 7013, 7013, 7013, 7023, 7023, 7023, 7031, 7031, 7031, 7043, 7043, 7043, 7051, 7051, 7051, 7058, 7058, 7058, - 7077, 7077, 7077, 7090, 7090, 7090, 7100, 7100, 7100, 7111, 7111, 7111, 7130, 7130, 7130, 7144, 7144, 7144, 7156, 7156, 7156, 7164, 7164, 7164, - 150, 150, 150, 7178, 7178, 7178, 7183, 7183, 7183, 7196, 7196, 7196, 7211, 7211, 7211, 7220, 7220, 7220, 7229, 7229, 7229, 7239, 7239, 7239, - 7243, 7243, 7243, 7249, 7249, 7249, 7290, 7290, 7290, 7309, 7309, 7309, 526, 526, 526, 7322, 7322, 7322, 7333, 7333, 7333, 7338, 7338, 7338, - 7346, 7346, 7346, 7178, 7178, 7178, 7350, 7350, 7350, 7358, 7358, 7358, 7366, 7366, 7366, 1001, 1001, 1001, 7372, 7372, 7372, 7407, 7407, 7407, - 7413, 7413, 7413, 7427, 7427, 7427, 7437, 7437, 7437, 7454, 7454, 7454, 7466, 7466, 7466, 7477, 7477, 7477, 7488, 7488, 7488, 7499, 7499, 7499, - 7505, 7505, 7505, 7518, 7518, 7518, 7531, 7531, 7531, 7544, 7544, 7544, 7558, 7558, 7558, 7572, 7572, 7572, 7583, 7583, 7583, 7596, 7596, 7596, - 7607, 7607, 7607, 7618, 7618, 7618, 7649, 7649, 7649, 7676, 7676, 7676, 7689, 7689, 7689, 7706, 7706, 7706, 7723, 7723, 7723, 7728, 7728, 7728, - 7753, 7753, 7753, 7764, 7764, 7764, 7801, 7801, 7801, 7838, 7838, 7838, 7879, 7879, 7879, 7910, 7910, 7910, 7946, 7946, 7946, 7974, 7974, 7974, - 7999, 7999, 7999, 8006, 8006, 8006, 8012, 8012, 8012, 8038, 8038, 8038, 8068, 8068, 8068, 8087, 8087, 8087, 8101, 8101, 8101, 8118, 8118, 8118, - 8123, 8123, 8123, 8137, 8137, 8137, 8156, 8156, 8156, 8165, 8165, 8165, 8187, 8187, 8187, 8205, 8205, 8205, 8244, 8244, 8244, 8257, 8257, 8257, - 8283, 8283, 8283, 8304, 8304, 8304, 8325, 8325, 8325, 8330, 8330, 8330, 8343, 8343, 8343, 8359, 8359, 8359, 8378, 8378, 8378, 8391, 8391, 8391, - 8412, 8412, 8412, 8421, 8421, 8421, 8433, 8433, 8433, 8461, 8461, 8461, 8515, 8515, 8515, 8553, 8553, 8553, 8585, 8585, 8585, 8591, 8591, 8591, - 8608, 8608, 8608, 8615, 8615, 8615, 8623, 8623, 8623, 8647, 8647, 8647, 8659, 8659, 8659, 8666, 8666, 8666, 8679, 8679, 8679, 8687, 8687, 8687, - 8695, 8695, 8695, 8711, 8711, 8711, 8719, 8719, 8719, 8733, 8733, 8733, 8747, 8747, 8747, 8779, 8779, 8779, 8793, 8793, 8793, 8833, 8833, 8833, - 8868, 8868, 8868, 8901, 8901, 8901, 8938, 8938, 8938, 8975, 8975, 8975, 9016, 9016, 9016, 9022, 9022, 9022, 9030, 9030, 9030, 9041, 9041, 9041, - 9054, 9054, 9054, 9086, 9086, 9086, 9120, 9120, 9120, 9149, 9149, 9149, 9184, 9184, 9184, 9200, 9200, 9200, 9205, 9205, 9205, 9212, 9212, 9212, - 9224, 9224, 9224, 9236, 9236, 9236, 9241, 9241, 9241, 9256, 9256, 9256, 9262, 9262, 9262, 9274, 9274, 9274, 9293, 9293, 9293, 9313, 9313, 9313, - 9333, 9333, 9333, 9361, 9361, 9361, 9391, 9391, 9391, 9437, 9437, 9437, 9478, 9478, 9478, 9518, 9518, 9518, 9558, 9558, 9558, 9596, 9596, 9596, - 9610, 9610, 9610, 9652, 9652, 9652, 9659, 9659, 9659, 9667, 9667, 9667, 9672, 9672, 9672, 9681, 9681, 9681, 9687, 9687, 9687, 9703, 9703, 9703, - 6349, 6349, 6349, 9710, 9710, 9710, 9719, 9719, 9719, 9734, 9734, 9734, 9742, 9742, 9742, 9750, 9750, 9750, 9757, 9757, 9757, 9769, 9769, 9769, - 9782, 9782, 9782, 8325, 8325, 8325, 5279, 5279, 5279, 9789, 9789, 9789, 9796, 9796, 9796, 9815, 9815, 9815, 9847, 9847, 9847, 9857, 9857, 9857, - 9862, 9862, 9862, 9866, 9866, 9866, 9898, 9898, 9898, 9934, 9934, 9934, 9941, 9941, 9941, 9949, 9949, 9949, 9958, 9958, 9958, 9967, 9967, 9967, - 9973, 9973, 9973, 9980, 9980, 9980, 9992, 9992, 9992, 9998, 9998, 9998, 10007, 10007, 10007, 10020, 10020, 10020, 10029, 10029, 10029, 10035, 10035, 10035, - 10046, 10046, 10046, 10046, 10046, 10046, 10055, 10055, 10055, 10102, 10102, 10102, 10137, 10137, 10137, 10182, 10182, 10182, 10190, 10190, 10190, 10198, 10198, 10198, - 10215, 10215, 10215, 10230, 10230, 10230, 10245, 10245, 10245, 10256, 10256, 10256, 10270, 10270, 10270, 10283, 10283, 10283, 10301, 10301, 10301, 10324, 10324, 10324, - 10335, 10335, 10335, 10348, 10348, 10348, 10355, 10355, 10355, 10386, 10386, 10386, 10400, 10400, 10400, 10412, 10412, 10412, 10420, 10420, 10420, 10439, 10439, 10439, - 10450, 10450, 10450, 10462, 10462, 10462, 10503, 10503, 10503, 10546, 10546, 10546, 10575, 10575, 10575, 10583, 10583, 10583, 10597, 10597, 10597, 10616, 10616, 10616, - 10659, 10659, 10659, 10681, 10681, 10681, 10695, 10695, 10695, 10706, 10706, 10706, 10721, 10721, 10721, 10735, 10735, 10735, 10750, 10750, 10750, 10772, 10772, 10772, - 10782, 10782, 10782, 10793, 10793, 10793, 10829, 10829, 10829, 10865, 10865, 10865, 10897, 10897, 10897, 10925, 10925, 10925, 10938, 10938, 10938, 10950, 10950, 10950, - 10980, 10980, 10980, 11016, 11016, 11016, 11031, 11031, 11031, 11038, 11038, 11038, 11063, 11063, 11063, 11083, 11083, 11083, 7333, 7333, 7333, 1001, 1001, 1001, - 11109, 11109, 11109, 11117, 11117, 11117, 11122, 11122, 11122, 11130, 11130, 11130, 11143, 11143, 11143, 11156, 11156, 11156, 11163, 11163, 11163, 11185, 11185, 11185, - 11189, 11189, 11189, 11207, 11207, 11207, 11219, 11219, 11219, 11232, 11232, 11232, 11245, 11245, 11245, 11252, 11252, 11252, 11262, 11262, 11262, 11277, 11277, 11277, - 11289, 11289, 11289, 11301, 11301, 11301, 11313, 11313, 11313, 11321, 11321, 11321, 11337, 11337, 11337, 11342, 11342, 11342, 11358, 11358, 11358, 11370, 11370, 11370, - 11379, 11379, 11379, 11388, 11388, 11388, 11396, 11396, 11396, 11406, 11406, 11406, 11412, 11412, 11412, 11430, 11430, 11430, 11439, 11439, 11439, 11459, 11459, 11459, - 11471, 11471, 11471, 11488, 11488, 11488, 11502, 11502, 11502, 11514, 11514, 11514, 11520, 11520, 11520, 11531, 11531, 11531, 11542, 11542, 11542, 11560, 11560, 11560, - 11566, 11566, 11566, 11574, 11574, 11574, 11607, 11607, 11607, 11645, 11645, 11645, 11683, 11683, 11683, 11697, 11697, 11697, 11702, 11702, 11702, 11711, 11711, 11711, - 11755, 11755, 11755, 11779, 11779, 11779, 11783, 11783, 11783, 11815, 11815, 11815, 11853, 11853, 11853, 11885, 11885, 11885, 11900, 11900, 11900, 11931, 11931, 11931, - 11962, 11962, 11962, 11978, 11978, 11978, 12012, 12012, 12012, 12026, 12026, 12026, 12046, 12046, 12046, 12073, 12073, 12073, 12100, 12100, 12100, 12144, 12144, 12144, - 12184, 12184, 12184, 12222, 12222, 12222, 12265, 12265, 12265, 12270, 12270, 12270, 12297, 12297, 12297, 12316, 12316, 12316, 12343, 12343, 12343, 12371, 12371, 12371, - 12382, 12382, 12382, 12409, 12409, 12409, 12458, 12458, 12458, 12491, 12491, 12491, 12519, 12519, 12519, 12552, 12552, 12552, 12598, 12598, 12598, 12632, 12632, 12632, - 12665, 12665, 12665, 12696, 12696, 12696, 12743, 12743, 12743, 12763, 12763, 12763, 12809, 12809, 12809, 12840, 12840, 12840, 12870, 12870, 12870, 12924, 12924, 12924, - 12970, 12970, 12970, 12995, 12995, 12995, 13031, 13031, 13031, 13072, 13072, 13072, 13110, 13110, 13110, 13152, 13152, 13152, 13185, 13185, 13185, 2316, 2316, 2316, - 13219, 13219, 13219, 13238, 13238, 13238, 13264, 13264, 13264, 13300, 13300, 13300, 13326, 13326, 13326, 13355, 13355, 13355, 13384, 13384, 13384, 13403, 13403, 13403, - 13436, 13436, 13436, 13463, 13463, 13463, 13493, 13493, 13493, 13529, 13529, 13529, 13551, 13551, 13551, 13572, 13572, 13572, 13601, 13601, 13601, 13618, 13618, 13618, - 13636, 13636, 13636, 13656, 13656, 13656, 13681, 13681, 13681, 13714, 13714, 13714, 13744, 13744, 13744, 13769, 13769, 13769, 13795, 13795, 13795, 13826, 13826, 13826, - 13849, 13849, 13849, 13877, 13877, 13877, 13924, 13924, 13924, 13957, 13957, 13957, 13982, 13982, 13982, 14010, 14010, 14010, 14036, 14036, 14036, 14074, 14074, 14074, - 14099, 14099, 14099, 14124, 14124, 14124, 14151, 14151, 14151, 14173, 14173, 14173, 14208, 14208, 14208, 14221, 14221, 14221, 14260, 14260, 14260, 14285, 14285, 14285, - 14317, 14317, 14317, 14340, 14340, 14340, 14363, 14363, 14363, 14390, 14390, 14390, 14422, 14422, 14422, 14455, 14455, 14455, 14485, 14485, 14485, 14504, 14504, 14504, - 14521, 14521, 14521, 14558, 14558, 14558, 14601, 14601, 14601, 14640, 14640, 14640, 14657, 14657, 14657, 14691, 14691, 14691, 14736, 14736, 14736, 14766, 14766, 14766, - 14786, 14786, 14786, 14821, 14821, 14821, 14846, 14846, 14846, 14860, 14860, 14860, 14896, 14896, 14896, 14932, 14932, 14932, 14970, 14970, 14970, 14989, 14989, 14989, - 15020, 15020, 15020, 15027, 15027, 15027, 15050, 15050, 15050, 15071, 15071, 15071, 15093, 15093, 15093, 15117, 15117, 15117, 15142, 15142, 15142, 15161, 15161, 15161, - 15182, 15182, 15182, 15204, 15204, 15204, 15244, 15244, 15244, 15270, 15270, 15270, 15317, 15317, 15317, 15349, 15349, 15349, 15377, 15377, 15377, 15395, 15395, 15395, - 15420, 15420, 15420, 15460, 15460, 15460, 15495, 15495, 15495, 15525, 15525, 15525, 15559, 15559, 15559, 15570, 15570, 15570, 15609, 15609, 15609, 15652, 15652, 15652, - 15680, 15680, 15680, 15685, 15685, 15685, 15721, 15721, 15721, 15750, 15750, 15750, 15782, 15782, 15782, 15854, 15854, 15854, 15891, 15891, 15891, 15939, 15939, 15939, - 15971, 15971, 15971, 16008, 16008, 16008, 16032, 16032, 16032, 16049, 16049, 16049, 16080, 16080, 16080, 16107, 16107, 16107, 16151, 16151, 16151, 16186, 16186, 16186, - 16210, 16210, 16210, 16239, 16239, 16239, 16266, 16266, 16266, 16285, 16285, 16285, 16289, 16289, 16289, 4293, 4293, 4293, 16321, 16321, 16321, 16357, 16357, 16357, - 16388, 16388, 16388, 16425, 16425, 16425, 16466, 16466, 16466, 16487, 16487, 16487, 16523, 16523, 16523, 16574, 16574, 16574, 16616, 16616, 16616, 16663, 16663, 16663, - 16701, 16701, 16701, 16718, 16718, 16718, 16765, 16765, 16765, 16791, 16791, 16791, 16803, 16803, 16803, 16829, 16829, 16829, 16868, 16868, 16868, 16915, 16915, 16915, - 16947, 16947, 16947, 16977, 16977, 16977, 16997, 16997, 16997, 17017, 17017, 17017, 17044, 17044, 17044, 17063, 17063, 17063, 17073, 17073, 17073, 17091, 17091, 17091, - 17120, 17120, 17120, 17138, 17138, 17138, 17177, 17177, 17177, 17180, 17180, 17180, 17208, 17208, 17208, 17224, 17224, 17224, 17257, 17257, 17257, 17294, 17294, 17294, - 17309, 17309, 17309, 17333, 17333, 17333, 17358, 17358, 17358, 17382, 17382, 17382, 17405, 17405, 17405, 17410, 17410, 17410, 17474, 17474, 17474, 17479, 17479, 17479, - 17484, 17484, 17484, 17501, 17501, 17501, 17528, 17528, 17528, 17565, 17565, 17565, 17570, 17570, 17570, 17583, 17583, 17583, 17609, 17609, 17609, 17622, 17622, 17622, - 17647, 17647, 17647, 17678, 17678, 17678, 17714, 17714, 17714, 17727, 17727, 17727, 17760, 17760, 17760, 17801, 17801, 17801, 17842, 17842, 17842, 17867, 17867, 17867, - 17890, 17890, 17890, 17903, 17903, 17903, 17919, 17919, 17919, 17932, 17932, 17932, 17949, 17949, 17949, 17974, 17974, 17974, 17992, 17992, 17992, 18027, 18027, 18027, - 18064, 18064, 18064, 18093, 18093, 18093, 18111, 18111, 18111, 18129, 18129, 18129, 18140, 18140, 18140, 18175, 18175, 18175, 18196, 18196, 18196, 18209, 18209, 18209, - 18228, 18228, 18228, 18240, 18240, 18240, 18282, 18282, 18282, 18319, 18319, 18319, 18368, 18368, 18368, 18407, 18407, 18407, 18443, 18443, 18443, 18482, 18482, 18482, - 18522, 18522, 18522, 18570, 18570, 18570, 18614, 18614, 18614, 3600, 3600, 3600, 18640, 18640, 18640, 18673, 18673, 18673, 18677, 18677, 18677, 18697, 18697, 18697, - 18721, 18721, 18721, 18753, 18753, 18753, 18774, 18774, 18774, 18807, 18807, 18807, 18816, 18816, 18816, 18835, 18835, 18835, 18887, 18887, 18887, 18925, 18925, 18925, - 18959, 18959, 18959, 18997, 18997, 18997, 19031, 19031, 19031, 19069, 19069, 19069, 19103, 19103, 19103, 19135, 19135, 19135, 19167, 19167, 19167, 19197, 19197, 19197, - 19256, 19256, 19256, 19312, 19312, 19312, 19371, 19371, 19371, 19432, 19432, 19432, 19452, 19452, 19452, 19470, 19470, 19470, 19474, 19474, 19474, 19498, 19498, 19498, - 19515, 19515, 19515, 19553, 19553, 19553, 19597, 19597, 19597, 19639, 19639, 19639, 19652, 19652, 19652, 19671, 19671, 19671, 19708, 19708, 19708, 19735, 19735, 19735, - 19768, 19768, 19768, 19795, 19795, 19795, 19813, 19813, 19813, 19832, 19832, 19832, 19843, 19843, 19843, 19855, 19855, 19855, 19884, 19884, 19884, 19905, 19905, 19905, - 19932, 19932, 19932, 19962, 19962, 19962, 20004, 20004, 20004, 20042, 20042, 20042, 20065, 20065, 20065, 20109, 20109, 20109, 20135, 20135, 20135, 20161, 20161, 20161, - 20185, 20185, 20185, 20202, 20202, 20202, 20234, 20234, 20234, 20253, 20253, 20253, 20286, 20286, 20286, 20307, 20307, 20307, 20332, 20332, 20332, 20357, 20357, 20357, - 20391, 20391, 20391, 20422, 20422, 20422, 20459, 20459, 20459, 20492, 20492, 20492, 20529, 20529, 20529, 20535, 20535, 20535, 20573, 20573, 20573, 2102, 2102, 2102, - 20603, 20603, 20603, 20624, 20624, 20624, 20643, 20643, 20643, 20669, 20669, 20669, 20706, 20706, 20706, 20743, 20743, 20743, 20765, 20765, 20765, 20804, 20804, 20804, - 20839, 20839, 20839, 20871, 20871, 20871, 20893, 20893, 20893, 20899, 20899, 20899, 20905, 20905, 20905, 20943, 20943, 20943, 20956, 20956, 20956, 20993, 20993, 20993, - 21033, 21033, 21033, 21067, 21067, 21067, 21109, 21109, 21109, 21160, 21160, 21160, 21181, 21181, 21181, 21203, 21203, 21203, 21220, 21220, 21220, 21263, 21263, 21263, - 21303, 21303, 21303, 21335, 21335, 21335, 21340, 21340, 21340, 21367, 21367, 21367, 21394, 21394, 21394, 21423, 21423, 21423, 21451, 21451, 21451, 21475, 21475, 21475, - 21511, 21511, 21511, 21539, 21539, 21539, 21559, 21559, 21559, 21582, 21582, 21582, 21601, 21601, 21601, 21631, 21631, 21631, 21646, 21646, 21646, 21672, 21672, 21672, - 21710, 21710, 21710, 21728, 21728, 21728, 21746, 21746, 21746, 4611, 4611, 4611, 21763, 21763, 21763, 21799, 21799, 21799, 1040, 1040, 1040, 21820, 21820, 21820, - 21837, 21837, 21837, 21852, 21852, 21852, 21867, 21867, 21867, 21883, 21883, 21883, 21922, 21922, 21922, 21953, 21953, 21953, 21989, 21989, 21989, 22030, 22030, 22030, - 4646, 4646, 4646, 22064, 22064, 22064, 22094, 22094, 22094, 22118, 22118, 22118, 22137, 22137, 22137, 22146, 22146, 22146, 22167, 22167, 22167, 22175, 22175, 22175, - 22183, 22183, 22183, 4304, 4304, 4304, 22198, 22198, 22198, 22212, 22212, 22212, 22225, 22225, 22225, 22229, 22229, 22229, 5445, 5445, 5445, 22232, 22232, 22232, - 22239, 22239, 22239, 22266, 22266, 22266, 22272, 22272, 22272, 22282, 22282, 22282, 22286, 22286, 22286, 22289, 22289, 22289, 22295, 22295, 22295, 22306, 22306, 22306, - 22313, 22313, 22313, 22321, 22321, 22321, 22333, 22333, 22333, 22338, 22338, 22338, 22356, 22356, 22356, 22368, 22368, 22368, 22374, 22374, 22374, 22392, 22392, 22392, - 22408, 22408, 22408, 22417, 22417, 22417, 22425, 22425, 22425, 3294, 3294, 3294, 22434, 22434, 22434, 3352, 3352, 3352, 22439, 22439, 22439, 22449, 22449, 22449, - 22463, 22463, 22463, 22474, 22497, 22497, 22513, 22513, 22513, 22522, 22522, 22522, 22541, 22541, 22541, 22579, 22579, 22579, 22586, 22586, 22586, 22593, 22593, 22593, - 22608, 22608, 22608, 22627, 22627, 22627, 22644, 22644, 22644, 22667, 22667, 22667, 22682, 22682, 22682, 22688, 22688, 22688, 22693, 22693, 22693, 22700, 22700, 22700, - 22708, 22708, 22708, 22714, 22714, 22714, 22721, 22721, 22721, 22727, 22741, 22741, 22745, 22760, 22760, 22768, 22784, 22784, 22790, 22790, 22790, 22798, 22798, 22798, - 22805, 22805, 22805, 22815, 22815, 22815, 22832, 22832, 22832, 22845, 22845, 22845, 22864, 22864, 22864, 22869, 22869, 22869, 22873, 22873, 22873, 22876, 22876, 22876, - 22884, 22884, 22884, 22894, 22894, 22894, 22905, 22905, 22905, 22917, 22917, 22917, 22928, 22928, 22928, 22942, 22942, 22942, 22953, 22953, 22953, 22963, 22963, 22963, - 22967, 22967, 22967, 22971, 22971, 22971, 22980, 22980, 22980, 22991, 22991, 22991, 23005, 23005, 23005, 23015, 23015, 23015, 23020, 23020, 23020, 23030, 23030, 23030, - 23040, 23040, 23040, 23047, 23047, 23047, 23054, 23054, 23054, 23066, 23066, 23066, 23080, 23080, 23080, 23089, 23089, 23089, 23103, 23103, 23103, 23113, 23113, 23113, - 23128, 23128, 23128, 23138, 23138, 23138, 23149, 23149, 23149, 23158, 23158, 23158, 21335, 21335, 21335, 23163, 23163, 23163, 23171, 23171, 23171, 23202, 23202, 23202, - 23215, 23215, 23215, 23231, 23231, 23231, 23252, 23252, 23252, 23272, 23272, 23272, 23284, 23284, 23284, 23294, 23294, 23294, 23306, 23306, 23306, 23314, 23314, 23314, - 23323, 23323, 23323, 23336, 23336, 23336, 23355, 23355, 23355, 23379, 23379, 23379, 23408, 23408, 23408, 23433, 23433, 23433, 23445, 23445, 23445, 23451, 23451, 23451, - 23475, 23475, 23475, 23499, 23499, 23499, 1116, 1116, 1116, 23511, 23511, 23511, 23525, 23525, 23525, 23538, 23538, 23538, 23552, 23552, 23552, 23571, 23571, 23571, - 10007, 10007, 10007, 23585, 23585, 23585, 23600, 23600, 23600, 23613, 23613, 23613, 23619, 23619, 23619, 23638, 23638, 23638, 23656, 23656, 23656, 23667, 23667, 23667, - 23676, 23676, 23676, 23691, 23691, 23691, 23709, 23709, 23709, 23717, 23717, 23717, 23730, 23730, 23730, 23745, 23745, 23745, 3163, 3163, 3163, 23756, 23756, 23756, - 23774, 23774, 23774, 23790, 23790, 23790, 23806, 23806, 23806, 23818, 23818, 23818, 23834, 23834, 23834, 173, 173, 173, 23841, 23841, 23841, 23864, 23864, 23864, - 23878, 23878, 23878, 23886, 23886, 23886, 23894, 23894, 23894, 23907, 23907, 23907, 1539, 1539, 1539, 23919, 23919, 23919, 23933, 23933, 23933, 23954, 23954, 23954, - 23971, 23971, 23971, 23991, 23991, 23991, 24006, 24006, 24006, 24015, 24015, 24015, 24030, 24030, 24030, 24055, 24055, 24055, 24073, 24073, 24073, 24083, 24083, 24083, - 24092, 24092, 24092, 24110, 24110, 24110, 24133, 24133, 24133, 24147, 24147, 24147, 24154, 24154, 24154, 24168, 24168, 24168, 24177, 24177, 24177, 3605, 3605, 3605, - 24189, 24189, 24189, 22682, 22682, 22682, 24204, 24204, 24204, 24213, 24213, 24213, 24233, 24233, 24233, 24247, 24247, 24247, 24268, 24268, 24268, 24285, 24285, 24285, - 24300, 24300, 24300, 24324, 24324, 24324, 24345, 24345, 24345, 24363, 24363, 24363, 24380, 24380, 24380, 24395, 24395, 24395, 24412, 24412, 24412, 24421, 24421, 24421, - 24426, 24426, 24426, 24432, 24432, 24432, 24443, 24443, 24443, 24461, 24461, 24461, 24477, 24477, 24477, 24489, 24489, 24489, 24503, 24503, 24503, 24521, 24521, 24521, - 24529, 24529, 24529, 24542, 24542, 24542, 24551, 24551, 24551, 24567, 24567, 24567, 24578, 24578, 24578, 24593, 24593, 24593, 24604, 24604, 24604, 24623, 24623, 24623, - 24640, 24640, 24640, 24657, 24657, 24657, 24663, 24663, 24663, 24683, 24683, 24683, 24693, 24693, 24693, 24709, 24709, 24709, 24719, 24719, 24719, 24729, 24729, 24729, - 24743, 24743, 24743, 24752, 24752, 24752, 24757, 24757, 24757, 24764, 24764, 24764, 24773, 24773, 24773, 24790, 24790, 24790, 24802, 24802, 24802, 1011, 1011, 1011, - 24818, 24818, 24818, 24854, 24854, 24854, 24868, 24868, 24868, 24879, 24879, 24879, 24883, 24883, 24883, 24887, 24887, 24887, 24891, 24891, 24891, 24902, 24902, 24902, - 24914, 24914, 24914, 24932, 24932, 24932, 24946, 24946, 24946, 24963, 24963, 24963, 24979, 24979, 24979, 25000, 25000, 25000, 25011, 25011, 25011, 25028, 25028, 25028, - 25041, 25041, 25041, 25058, 25058, 25058, 25072, 25072, 25072, 25094, 25094, 25094, 25099, 25099, 25099, 25104, 25104, 25104, 25116, 25116, 25116, 25132, 25132, 25132, - 25151, 25151, 25151, 25162, 25162, 25162, 25179, 25179, 25179, 25196, 25196, 25196, 25220, 25220, 25220, 25233, 25233, 25233, 25250, 25250, 25250, 25267, 25267, 25267, - 25275, 25275, 25275, 25296, 25296, 25296, 25305, 25305, 25305, 25309, 25309, 25309, 25336, 25336, 25336, 25362, 25362, 25362, 25380, 25380, 25380, 25410, 25410, 25410, - 25414, 25414, 25414, 25424, 25424, 25424, 25434, 25434, 25434, 25442, 25442, 25442, 25457, 25457, 25457, 25465, 25465, 25465, 25470, 25470, 25470, 25475, 25475, 25475, - 25483, 25483, 25483, 25494, 25494, 25494, 25504, 25504, 25504, 25514, 25514, 25514, 25526, 25526, 25526, 25536, 25536, 25536, 25545, 25545, 25545, 22714, 22714, 22714, - 25558, 25558, 25558, 25566, 25566, 25566, 25575, 25575, 25575, 25584, 25584, 25584, 25595, 25595, 25595, 25607, 25607, 25607, 25617, 25617, 25617, 25622, 25622, 25622, - 25629, 25629, 25629, 25634, 25634, 25634, 25641, 25641, 25641, 25647, 25647, 25647, 5301, 5301, 5301, 25654, 25654, 25654, 25662, 25662, 25662, 25677, 25677, 25677, - 25682, 25682, 25682, 25694, 25694, 25694, 25700, 25700, 25700, 25710, 25710, 25710, 25719, 25719, 25719, 25727, 25727, 25727, 25735, 25735, 25735, 25743, 25743, 25743, - 25748, 25748, 25748, 25753, 25753, 25753, 25763, 25763, 25763, 25772, 25772, 25772, 25780, 25780, 25780, 25811, 25811, 25818, 25822, 25822, 25822, 25842, 25842, 25842, - 25865, 25865, 25865, 25881, 25881, 25881, 25897, 25897, 25897, 25902, 25902, 25902, 25906, 25906, 25906, 25912, 25912, 25912, 25917, 25917, 25917, 25980, 25980, 25980, - 26043, 26043, 26043, 26083, 26083, 26083, 26145, 26145, 26145, 26197, 26197, 26197, 26241, 26241, 26241, 26277, 26277, 26277, 26286, 26286, 26286, 26314, 26314, 26314, - 26356, 26356, 26356, 26383, 26383, 26383, 26411, 26411, 26411, 26421, 26421, 26421, 26446, 26446, 26446, 26455, 26455, 26455, 26495, 26495, 26495, 26539, 26539, 26539, - 26551, 26551, 26551, 26596, 26596, 26596, 26606, 26606, 26606, 26617, 26617, 26617, 26626, 26626, 26626, 26635, 26635, 26635, 26641, 26641, 26641, 26645, 26645, 26645, - 26659, 26659, 26659, 26673, 26673, 26673, + 3083, 3083, 3083, 3092, 3092, 3092, 3100, 3100, 3100, 3109, 3109, 3109, 3136, 3136, 3136, 3163, 3163, 3163, 3171, 3171, 3171, 3180, 3180, 3180, + 3190, 3190, 3190, 3202, 3202, 3202, 3221, 3221, 3221, 3233, 3233, 3233, 3251, 3251, 3251, 3265, 3265, 3265, 3279, 3279, 3279, 3287, 3287, 3287, + 3309, 3309, 3309, 3315, 3315, 3315, 3321, 3321, 3321, 3327, 3327, 3327, 3327, 3327, 3327, 3332, 3332, 3332, 3338, 3338, 3338, 3342, 3342, 3342, + 3347, 3347, 3347, 3356, 3356, 3356, 3332, 3332, 3332, 3361, 3361, 3361, 3366, 3366, 3366, 3373, 3373, 3373, 3338, 3338, 3338, 3379, 3379, 3379, + 3386, 3386, 3386, 3390, 3390, 3390, 3397, 3397, 3397, 3403, 3403, 3403, 3410, 3410, 3410, 3417, 3417, 3417, 3430, 3430, 3430, 3444, 3444, 3444, + 3457, 3457, 3457, 3469, 3469, 3469, 3477, 3477, 3477, 3490, 3490, 3490, 3500, 3500, 3500, 3510, 3510, 3510, 3518, 3518, 3518, 3529, 3529, 3529, + 3541, 3541, 3541, 3558, 3558, 3558, 3578, 3578, 3578, 3586, 3586, 3586, 3598, 3598, 3598, 3604, 3604, 3604, 3613, 3613, 3613, 3621, 3621, 3621, + 3626, 3626, 3626, 3632, 3632, 3632, 3640, 3640, 3640, 3656, 3656, 3656, 3665, 3665, 3665, 3673, 3673, 3673, 3682, 3682, 3682, 3686, 3686, 3686, + 3696, 3696, 3696, 3711, 3711, 3711, 3720, 3720, 3720, 3731, 3731, 3731, 3735, 3735, 3735, 3755, 3755, 3755, 3766, 3766, 3766, 3777, 3777, 3777, + 3790, 3790, 3790, 3800, 3800, 3800, 3811, 3811, 3811, 3825, 3825, 3825, 3840, 3840, 3840, 3857, 3857, 3857, 3873, 3873, 3873, 3887, 3887, 3887, + 3893, 3893, 3893, 3908, 3908, 3908, 3916, 3916, 3916, 3934, 3934, 3934, 3958, 3958, 3958, 3986, 3986, 3986, 4003, 4003, 4003, 4021, 4021, 4021, + 4039, 4039, 4039, 4048, 4048, 4048, 4056, 4056, 4056, 4070, 4070, 4070, 4085, 4085, 4085, 4099, 4099, 4099, 4113, 4113, 4113, 4128, 4128, 4128, + 4142, 4142, 4142, 4147, 4147, 4147, 4166, 4166, 4166, 4187, 4187, 4187, 4196, 4196, 4196, 4200, 4200, 4200, 4214, 4214, 4214, 4228, 4228, 4228, + 4238, 4238, 4238, 4249, 4249, 4249, 4260, 4260, 4260, 4278, 4278, 4278, 4283, 4283, 4283, 4288, 4288, 4288, 4293, 4293, 4293, 4298, 4298, 4298, + 4314, 4314, 4314, 4319, 4319, 4319, 4325, 4325, 4325, 4330, 4330, 4330, 4338, 4338, 4338, 4346, 4346, 4346, 4355, 4355, 4355, 4369, 4369, 4369, + 4382, 4382, 4382, 4396, 4396, 4396, 4403, 4403, 4403, 4417, 4417, 4417, 4434, 4434, 4434, 4444, 4444, 4444, 4464, 4464, 4464, 1774, 1774, 1774, + 4484, 4484, 4484, 4494, 4494, 4494, 4506, 4506, 4506, 4513, 4513, 4513, 4523, 4523, 4523, 4541, 4541, 4541, 4549, 4549, 4549, 4557, 4557, 4557, + 4562, 4562, 4562, 4569, 4569, 4569, 4581, 4581, 4581, 4594, 4594, 4594, 4606, 4606, 4606, 4612, 4612, 4612, 4624, 4624, 4624, 4632, 4632, 4632, + 4637, 4637, 4637, 4651, 4651, 4651, 4667, 4667, 4667, 4672, 4672, 4672, 4676, 4676, 4676, 4686, 4686, 4686, 4698, 4698, 4698, 4707, 4707, 4707, + 4737, 4737, 4737, 4764, 4764, 4764, 4795, 4795, 4795, 4821, 4821, 4821, 4849, 4849, 4849, 4872, 4872, 4872, 4888, 4888, 4888, 4909, 4909, 4909, + 4930, 4930, 4930, 4957, 4957, 4957, 4980, 4980, 4980, 5004, 5004, 5004, 5035, 5035, 5035, 5053, 5053, 5053, 5071, 5071, 5071, 5095, 5095, 5095, + 5116, 5116, 5116, 5138, 5138, 5138, 5157, 5157, 5157, 5177, 5177, 5177, 5198, 5198, 5198, 5226, 5226, 5226, 5248, 5248, 5248, 1001, 1001, 1001, + 5270, 5270, 5270, 5277, 5277, 5277, 5284, 5284, 5284, 5300, 5300, 5300, 5306, 5306, 5306, 5314, 5314, 5314, 5322, 5322, 5322, 5327, 5327, 5327, + 5334, 5334, 5334, 5341, 5341, 5341, 5352, 5352, 5352, 5363, 5363, 5363, 5380, 5380, 5380, 5388, 5388, 5388, 5396, 5396, 5396, 5433, 5433, 5433, + 5466, 5466, 5466, 5476, 5476, 5476, 5516, 5516, 5516, 5557, 5557, 5557, 5590, 5590, 5590, 5621, 5621, 5621, 5630, 5630, 5630, 5653, 5653, 5653, + 5690, 5690, 5690, 5702, 5702, 5702, 5713, 5713, 5713, 5728, 5728, 5728, 5742, 5742, 5742, 5767, 5767, 5767, 5777, 5777, 5777, 5813, 5813, 5813, + 5826, 5826, 5826, 5836, 5836, 5836, 5867, 5867, 5867, 5898, 5898, 5898, 5935, 5935, 5935, 5970, 5970, 5970, 6007, 6007, 6007, 6036, 6036, 6036, + 6042, 6042, 6042, 6051, 6051, 6051, 6072, 6072, 6072, 6086, 6086, 6086, 6110, 6110, 6110, 6132, 6132, 6132, 6137, 6137, 6137, 6147, 6147, 6147, + 6156, 6156, 6156, 6165, 6165, 6165, 6173, 6173, 6173, 6182, 6182, 6182, 6192, 6192, 6192, 6197, 6197, 6197, 6209, 6209, 6209, 6231, 6231, 6231, + 6240, 6240, 6240, 6253, 6253, 6253, 6264, 6264, 6264, 6275, 6275, 6275, 6289, 6289, 6289, 6302, 6302, 6302, 6315, 6315, 6315, 6330, 6330, 6330, + 6341, 6341, 6341, 6361, 6361, 6361, 6370, 6370, 6370, 6375, 6375, 6375, 6411, 6411, 6411, 6430, 6430, 6430, 6440, 6440, 6440, 6452, 6452, 6452, + 6465, 6465, 6465, 6475, 6475, 6475, 6485, 6485, 6485, 6504, 6504, 6504, 6557, 6557, 6557, 6600, 6600, 6600, 6632, 6632, 6632, 6679, 6679, 6679, + 6725, 6725, 6725, 6777, 6777, 6777, 6823, 6823, 6823, 6857, 6857, 6857, 6864, 6864, 6864, 6869, 6869, 6869, 4325, 4325, 4325, 6874, 6874, 6874, + 6878, 6878, 6878, 6884, 6884, 6884, 6890, 6890, 6890, 6900, 6900, 6900, 6923, 6923, 6923, 6934, 6934, 6934, 6947, 6947, 6947, 6959, 6959, 6959, + 6982, 6982, 6982, 6992, 6992, 6992, 7013, 7013, 7013, 7022, 7022, 7022, 7034, 7034, 7034, 7044, 7044, 7044, 7052, 7052, 7052, 7064, 7064, 7064, + 7072, 7072, 7072, 7079, 7079, 7079, 7098, 7098, 7098, 7111, 7111, 7111, 7121, 7121, 7121, 7132, 7132, 7132, 7151, 7151, 7151, 7165, 7165, 7165, + 7177, 7177, 7177, 7185, 7185, 7185, 150, 150, 150, 7199, 7199, 7199, 7204, 7204, 7204, 7217, 7217, 7217, 7232, 7232, 7232, 7241, 7241, 7241, + 7250, 7250, 7250, 7260, 7260, 7260, 7264, 7264, 7264, 7270, 7270, 7270, 7311, 7311, 7311, 7327, 7327, 7327, 7346, 7346, 7346, 526, 526, 526, + 7359, 7359, 7359, 7370, 7370, 7370, 7375, 7375, 7375, 7383, 7383, 7383, 7199, 7199, 7199, 7387, 7387, 7387, 7395, 7395, 7395, 7403, 7403, 7403, + 1001, 1001, 1001, 7409, 7409, 7409, 7444, 7444, 7444, 7450, 7450, 7450, 7464, 7464, 7464, 7474, 7474, 7474, 7491, 7491, 7491, 7503, 7503, 7503, + 7514, 7514, 7514, 7525, 7525, 7525, 7536, 7536, 7536, 7542, 7542, 7542, 7555, 7555, 7555, 7568, 7568, 7568, 7581, 7581, 7581, 7595, 7595, 7595, + 7609, 7609, 7609, 7620, 7620, 7620, 7633, 7633, 7633, 7644, 7644, 7644, 7655, 7655, 7655, 7686, 7686, 7686, 7713, 7713, 7713, 7726, 7726, 7726, + 7743, 7743, 7743, 7760, 7760, 7760, 7765, 7765, 7765, 7790, 7790, 7790, 7801, 7801, 7801, 7838, 7838, 7838, 7875, 7875, 7875, 7916, 7916, 7916, + 7947, 7947, 7947, 7983, 7983, 7983, 8011, 8011, 8011, 8036, 8036, 8036, 8043, 8043, 8043, 8049, 8049, 8049, 8075, 8075, 8075, 8105, 8105, 8105, + 8124, 8124, 8124, 8138, 8138, 8138, 8155, 8155, 8155, 8160, 8160, 8160, 8174, 8174, 8174, 8193, 8193, 8193, 8202, 8202, 8202, 8224, 8224, 8224, + 8242, 8242, 8242, 8281, 8281, 8281, 8294, 8294, 8294, 8320, 8320, 8320, 8341, 8341, 8341, 8362, 8362, 8362, 8367, 8367, 8367, 8380, 8380, 8380, + 8396, 8396, 8396, 8415, 8415, 8415, 8428, 8428, 8428, 8449, 8449, 8449, 8458, 8458, 8458, 8470, 8470, 8470, 8498, 8498, 8498, 8552, 8552, 8552, + 8590, 8590, 8590, 8622, 8622, 8622, 8628, 8628, 8628, 8645, 8645, 8645, 8652, 8652, 8652, 8660, 8660, 8660, 8684, 8684, 8684, 8696, 8696, 8696, + 8703, 8703, 8703, 8716, 8716, 8716, 8724, 8724, 8724, 8732, 8732, 8732, 8748, 8748, 8748, 8756, 8756, 8756, 8770, 8770, 8770, 8784, 8784, 8784, + 8816, 8816, 8816, 8830, 8830, 8830, 8870, 8870, 8870, 8905, 8905, 8905, 8938, 8938, 8938, 8975, 8975, 8975, 9012, 9012, 9012, 9053, 9053, 9053, + 9059, 9059, 9059, 9067, 9067, 9067, 9078, 9078, 9078, 9091, 9091, 9091, 9123, 9123, 9123, 9157, 9157, 9157, 9186, 9186, 9186, 9221, 9221, 9221, + 9237, 9237, 9237, 9242, 9242, 9242, 9249, 9249, 9249, 9261, 9261, 9261, 9273, 9273, 9273, 9278, 9278, 9278, 9293, 9293, 9293, 9299, 9299, 9299, + 9311, 9311, 9311, 9330, 9330, 9330, 9350, 9350, 9350, 9370, 9370, 9370, 9398, 9398, 9398, 9428, 9428, 9428, 9474, 9474, 9474, 9515, 9515, 9515, + 9555, 9555, 9555, 9595, 9595, 9595, 9633, 9633, 9633, 9647, 9647, 9647, 9689, 9689, 9689, 9696, 9696, 9696, 9704, 9704, 9704, 9709, 9709, 9709, + 9718, 9718, 9718, 9724, 9724, 9724, 9740, 9740, 9740, 6370, 6370, 6370, 9747, 9747, 9747, 9756, 9756, 9756, 9771, 9771, 9771, 9779, 9779, 9779, + 9787, 9787, 9787, 9794, 9794, 9794, 9806, 9806, 9806, 9819, 9819, 9819, 8362, 8362, 8362, 5300, 5300, 5300, 9826, 9826, 9826, 9833, 9833, 9833, + 9852, 9852, 9852, 9884, 9884, 9884, 9894, 9894, 9894, 9899, 9899, 9899, 9903, 9903, 9903, 9935, 9935, 9935, 9971, 9971, 9971, 9978, 9978, 9978, + 9986, 9986, 9986, 9995, 9995, 9995, 10004, 10004, 10004, 10010, 10010, 10010, 10017, 10017, 10017, 10029, 10029, 10029, 10035, 10035, 10035, 10044, 10044, 10044, + 10057, 10057, 10057, 10066, 10066, 10066, 10072, 10072, 10072, 10083, 10083, 10083, 10083, 10083, 10083, 10092, 10092, 10092, 10139, 10139, 10139, 10174, 10174, 10174, + 10219, 10219, 10219, 10227, 10227, 10227, 10235, 10235, 10235, 10252, 10252, 10252, 10267, 10267, 10267, 10282, 10282, 10282, 10293, 10293, 10293, 10307, 10307, 10307, + 10320, 10320, 10320, 10338, 10338, 10338, 10361, 10361, 10361, 10372, 10372, 10372, 10385, 10385, 10385, 10392, 10392, 10392, 10423, 10423, 10423, 10437, 10437, 10437, + 10449, 10449, 10449, 10457, 10457, 10457, 10476, 10476, 10476, 10487, 10487, 10487, 10499, 10499, 10499, 10540, 10540, 10540, 10583, 10583, 10583, 10612, 10612, 10612, + 10620, 10620, 10620, 10634, 10634, 10634, 10653, 10653, 10653, 10696, 10696, 10696, 10718, 10718, 10718, 10732, 10732, 10732, 10743, 10743, 10743, 10758, 10758, 10758, + 10772, 10772, 10772, 10787, 10787, 10787, 10809, 10809, 10809, 10819, 10819, 10819, 10830, 10830, 10830, 10866, 10866, 10866, 10902, 10902, 10902, 10934, 10934, 10934, + 10962, 10962, 10962, 10975, 10975, 10975, 10987, 10987, 10987, 11017, 11017, 11017, 11053, 11053, 11053, 11068, 11068, 11068, 11075, 11075, 11075, 11100, 11100, 11100, + 11120, 11120, 11120, 7370, 7370, 7370, 1001, 1001, 1001, 11146, 11146, 11146, 11154, 11154, 11154, 11159, 11159, 11159, 11167, 11167, 11167, 11180, 11180, 11180, + 11193, 11193, 11193, 11200, 11200, 11200, 11222, 11222, 11222, 11226, 11252, 11252, 11265, 11265, 11265, 11283, 11283, 11283, 11295, 11295, 11295, 11308, 11308, 11308, + 11321, 11321, 11321, 11328, 11328, 11328, 11338, 11338, 11338, 11353, 11353, 11353, 11365, 11365, 11365, 11377, 11377, 11377, 11389, 11389, 11389, 11397, 11397, 11397, + 11413, 11413, 11413, 11418, 11418, 11418, 11434, 11434, 11434, 11446, 11446, 11446, 11455, 11455, 11455, 11464, 11464, 11464, 11472, 11472, 11472, 11482, 11482, 11482, + 11488, 11488, 11488, 11506, 11506, 11506, 11515, 11515, 11515, 11535, 11535, 11535, 11547, 11547, 11547, 11564, 11564, 11564, 11578, 11578, 11578, 11590, 11590, 11590, + 11596, 11596, 11596, 11607, 11607, 11607, 11618, 11618, 11618, 11636, 11636, 11636, 11642, 11642, 11642, 11650, 11650, 11650, 11683, 11683, 11683, 11721, 11721, 11721, + 11759, 11759, 11759, 11773, 11773, 11773, 11778, 11778, 11778, 11787, 11787, 11787, 11831, 11831, 11831, 11855, 11855, 11855, 11859, 11859, 11859, 11891, 11891, 11891, + 11929, 11929, 11929, 11961, 11961, 11961, 11976, 11976, 11976, 12007, 12007, 12007, 12038, 12038, 12038, 12054, 12054, 12054, 12088, 12088, 12088, 12102, 12102, 12102, + 12122, 12122, 12122, 12149, 12149, 12149, 12176, 12176, 12176, 12220, 12220, 12220, 12260, 12260, 12260, 12298, 12298, 12298, 12341, 12341, 12341, 12346, 12346, 12346, + 12373, 12373, 12373, 12392, 12392, 12392, 12419, 12419, 12419, 12447, 12447, 12447, 12458, 12458, 12458, 12485, 12485, 12485, 12534, 12534, 12534, 12567, 12567, 12567, + 12595, 12595, 12595, 12628, 12628, 12628, 12674, 12674, 12674, 12708, 12708, 12708, 12741, 12741, 12741, 12772, 12772, 12772, 12819, 12819, 12819, 12839, 12839, 12839, + 12885, 12885, 12885, 12916, 12916, 12916, 12946, 12946, 12946, 13000, 13000, 13000, 13046, 13046, 13046, 13071, 13071, 13071, 13107, 13107, 13107, 13148, 13148, 13148, + 13186, 13186, 13186, 13228, 13228, 13228, 13261, 13261, 13261, 2316, 2316, 2316, 13295, 13295, 13295, 13314, 13314, 13314, 13340, 13340, 13340, 13376, 13376, 13376, + 13402, 13402, 13402, 13431, 13431, 13431, 13460, 13460, 13460, 13479, 13479, 13479, 13512, 13512, 13512, 13539, 13539, 13539, 13569, 13569, 13569, 13605, 13605, 13605, + 13627, 13627, 13627, 13648, 13648, 13648, 13677, 13677, 13677, 13694, 13694, 13694, 13712, 13712, 13712, 13732, 13732, 13732, 13757, 13757, 13757, 13790, 13790, 13790, + 13820, 13820, 13820, 13845, 13845, 13845, 13871, 13871, 13871, 13902, 13902, 13902, 13925, 13925, 13925, 13953, 13953, 13953, 14000, 14000, 14000, 14033, 14033, 14033, + 14058, 14058, 14058, 14086, 14086, 14086, 14112, 14112, 14112, 14150, 14150, 14150, 14175, 14175, 14175, 14200, 14200, 14200, 14227, 14227, 14227, 14249, 14249, 14249, + 14284, 14284, 14284, 14297, 14297, 14297, 14336, 14336, 14336, 14361, 14361, 14361, 14393, 14393, 14393, 14416, 14416, 14416, 14439, 14439, 14439, 14466, 14466, 14466, + 14498, 14498, 14498, 14531, 14531, 14531, 14561, 14561, 14561, 14580, 14580, 14580, 14597, 14597, 14597, 14634, 14634, 14634, 14677, 14677, 14677, 14716, 14716, 14716, + 14733, 14733, 14733, 14767, 14767, 14767, 14812, 14812, 14812, 14842, 14842, 14842, 14862, 14862, 14862, 14897, 14897, 14897, 14922, 14922, 14922, 14936, 14936, 14936, + 14972, 14972, 14972, 15008, 15008, 15008, 15046, 15046, 15046, 15065, 15065, 15065, 15096, 15096, 15096, 15103, 15103, 15103, 15126, 15126, 15126, 15147, 15147, 15147, + 15169, 15169, 15169, 15193, 15193, 15193, 15218, 15218, 15218, 15237, 15237, 15237, 15258, 15258, 15258, 15280, 15280, 15280, 15320, 15320, 15320, 15346, 15346, 15346, + 15393, 15393, 15393, 15425, 15425, 15425, 15453, 15453, 15453, 15471, 15471, 15471, 15496, 15496, 15496, 15536, 15536, 15536, 15571, 15571, 15571, 15595, 15595, 15595, + 15625, 15625, 15625, 15663, 15663, 15663, 15697, 15697, 15697, 15730, 15730, 15730, 15741, 15741, 15741, 15780, 15780, 15780, 15823, 15823, 15823, 15851, 15851, 15851, + 15856, 15856, 15856, 15892, 15892, 15892, 15921, 15921, 15921, 15953, 15953, 15953, 16025, 16025, 16025, 16062, 16062, 16062, 16110, 16110, 16110, 16142, 16142, 16142, + 16179, 16179, 16179, 16203, 16203, 16203, 16220, 16220, 16220, 16251, 16251, 16251, 16278, 16278, 16278, 16322, 16322, 16322, 16357, 16357, 16357, 16381, 16381, 16381, + 16410, 16410, 16410, 16437, 16437, 16437, 16456, 16456, 16456, 16460, 16460, 16460, 4314, 4314, 4314, 16492, 16492, 16492, 16528, 16528, 16528, 16559, 16559, 16559, + 16596, 16596, 16596, 16637, 16637, 16637, 16658, 16658, 16658, 16694, 16694, 16694, 16745, 16745, 16745, 16787, 16787, 16787, 16834, 16834, 16834, 16872, 16872, 16872, + 16889, 16889, 16889, 16936, 16936, 16936, 16962, 16962, 16962, 16974, 16974, 16974, 17000, 17000, 17000, 17039, 17039, 17039, 17086, 17086, 17086, 17118, 17118, 17118, + 17148, 17148, 17148, 17168, 17168, 17168, 17188, 17188, 17188, 17215, 17215, 17215, 17234, 17234, 17234, 17244, 17244, 17244, 17262, 17262, 17262, 17291, 17291, 17291, + 17309, 17309, 17309, 17348, 17348, 17348, 17351, 17351, 17351, 17379, 17379, 17379, 17395, 17395, 17395, 17428, 17428, 17428, 17465, 17465, 17465, 17480, 17480, 17480, + 17504, 17504, 17504, 17529, 17529, 17529, 17553, 17553, 17553, 17576, 17576, 17576, 17581, 17581, 17581, 17645, 17645, 17645, 17663, 17663, 17663, 17668, 17668, 17668, + 17673, 17673, 17673, 17690, 17690, 17690, 17717, 17717, 17717, 17754, 17754, 17754, 17759, 17759, 17759, 17772, 17772, 17772, 17798, 17798, 17798, 17811, 17811, 17811, + 17836, 17836, 17836, 17867, 17867, 17867, 17903, 17903, 17903, 17916, 17916, 17916, 17949, 17949, 17949, 17990, 17990, 17990, 18031, 18031, 18031, 18056, 18056, 18056, + 18079, 18079, 18079, 18092, 18092, 18092, 18118, 18118, 18118, 18134, 18134, 18134, 18147, 18147, 18147, 18164, 18164, 18164, 18189, 18189, 18189, 18207, 18207, 18207, + 18242, 18242, 18242, 18279, 18279, 18279, 18308, 18308, 18308, 18326, 18326, 18326, 18344, 18344, 18344, 18355, 18355, 18355, 18390, 18390, 18390, 18411, 18411, 18411, + 18424, 18424, 18424, 18443, 18443, 18443, 18455, 18455, 18455, 18497, 18497, 18497, 18534, 18534, 18534, 18583, 18583, 18583, 18622, 18622, 18622, 18658, 18658, 18658, + 18697, 18697, 18697, 18737, 18737, 18737, 18785, 18785, 18785, 18829, 18829, 18829, 3621, 3621, 3621, 18855, 18855, 18855, 18888, 18888, 18888, 18892, 18892, 18892, + 18926, 18926, 18926, 18946, 18946, 18946, 18970, 18970, 18970, 19002, 19002, 19002, 19023, 19023, 19023, 19056, 19056, 19056, 19065, 19065, 19065, 19084, 19084, 19084, + 19136, 19136, 19136, 19174, 19174, 19174, 19208, 19208, 19208, 19246, 19246, 19246, 19280, 19280, 19280, 19318, 19318, 19318, 19352, 19352, 19352, 19395, 19395, 19395, + 19427, 19427, 19427, 19459, 19459, 19459, 19489, 19489, 19489, 19548, 19548, 19548, 19604, 19604, 19604, 19663, 19663, 19663, 19724, 19724, 19724, 19744, 19744, 19744, + 19762, 19762, 19762, 19766, 19766, 19766, 19790, 19790, 19790, 19807, 19807, 19807, 19845, 19845, 19845, 19889, 19889, 19889, 19931, 19931, 19931, 19944, 19944, 19944, + 19963, 19963, 19963, 20000, 20000, 20000, 20027, 20027, 20027, 20060, 20060, 20060, 20087, 20087, 20087, 20105, 20105, 20105, 20124, 20124, 20124, 20135, 20135, 20135, + 20147, 20147, 20147, 20176, 20176, 20176, 20197, 20197, 20197, 20224, 20224, 20224, 20254, 20254, 20254, 20296, 20296, 20296, 20334, 20334, 20334, 20357, 20357, 20357, + 20401, 20401, 20401, 20427, 20427, 20427, 20453, 20453, 20453, 20477, 20477, 20477, 20494, 20494, 20494, 20526, 20526, 20526, 20545, 20545, 20545, 20578, 20578, 20578, + 20599, 20599, 20599, 20624, 20624, 20624, 20649, 20649, 20649, 20683, 20683, 20683, 20714, 20714, 20714, 20751, 20751, 20751, 20784, 20784, 20784, 20821, 20821, 20821, + 20827, 20827, 20827, 20846, 20846, 20846, 20884, 20884, 20884, 2102, 2102, 2102, 20914, 20914, 20914, 20935, 20935, 20935, 20954, 20954, 20954, 20980, 20980, 20980, + 21017, 21017, 21017, 21054, 21054, 21054, 21076, 21076, 21076, 21115, 21115, 21115, 21150, 21150, 21150, 21182, 21182, 21182, 21204, 21204, 21204, 21210, 21210, 21210, + 21216, 21216, 21216, 21254, 21254, 21254, 21267, 21267, 21267, 21304, 21304, 21304, 21344, 21344, 21344, 21378, 21378, 21378, 21430, 21430, 21430, 21472, 21472, 21472, + 21523, 21523, 21523, 21544, 21544, 21544, 21566, 21566, 21566, 21583, 21583, 21583, 21626, 21626, 21626, 21666, 21666, 21666, 21698, 21698, 21698, 21703, 21703, 21703, + 21730, 21730, 21730, 21757, 21757, 21757, 21786, 21786, 21786, 21814, 21814, 21814, 21838, 21838, 21838, 21874, 21874, 21874, 21902, 21902, 21902, 21922, 21922, 21922, + 21945, 21945, 21945, 21964, 21964, 21964, 21994, 21994, 21994, 22009, 22009, 22009, 22035, 22035, 22035, 22073, 22073, 22073, 22091, 22091, 22091, 22109, 22109, 22109, + 4632, 4632, 4632, 22126, 22126, 22126, 22162, 22162, 22162, 1040, 1040, 1040, 22183, 22183, 22183, 22200, 22200, 22200, 22215, 22215, 22215, 22230, 22230, 22230, + 22246, 22246, 22246, 22285, 22285, 22285, 22316, 22316, 22316, 22352, 22352, 22352, 22393, 22393, 22393, 4667, 4667, 4667, 22427, 22427, 22427, 22457, 22457, 22457, + 22481, 22481, 22481, 22500, 22500, 22500, 22509, 22509, 22509, 22530, 22530, 22530, 22538, 22538, 22538, 22546, 22546, 22546, 4325, 4325, 4325, 22561, 22561, 22561, + 22575, 22575, 22575, 22588, 22588, 22588, 22592, 22592, 22592, 5466, 5466, 5466, 22595, 22595, 22595, 22602, 22602, 22602, 22629, 22629, 22629, 22635, 22635, 22635, + 22645, 22645, 22645, 22649, 22649, 22649, 22652, 22652, 22652, 22658, 22658, 22658, 22669, 22669, 22669, 22676, 22676, 22676, 22684, 22684, 22684, 22696, 22696, 22696, + 22701, 22701, 22701, 22719, 22719, 22719, 22731, 22731, 22731, 22737, 22737, 22737, 22755, 22755, 22755, 22771, 22771, 22771, 22780, 22780, 22780, 22788, 22788, 22788, + 3315, 3315, 3315, 22797, 22797, 22797, 3373, 3373, 3373, 22802, 22802, 22802, 22812, 22812, 22812, 22826, 22826, 22826, 22837, 22860, 22860, 22876, 22876, 22876, + 22885, 22885, 22885, 22904, 22904, 22904, 22942, 22942, 22942, 22949, 22949, 22949, 22956, 22956, 22956, 22971, 22971, 22971, 22990, 22990, 22990, 23007, 23007, 23007, + 23030, 23030, 23030, 23045, 23045, 23045, 23051, 23051, 23051, 23056, 23056, 23056, 23063, 23063, 23063, 23071, 23071, 23071, 23077, 23077, 23077, 23084, 23084, 23084, + 23090, 23104, 23104, 23108, 23123, 23123, 23131, 23147, 23147, 23153, 23153, 23153, 23161, 23161, 23161, 23168, 23168, 23168, 23178, 23178, 23178, 23195, 23195, 23195, + 23208, 23208, 23208, 23227, 23227, 23227, 23232, 23232, 23232, 23236, 23236, 23236, 23239, 23239, 23239, 23247, 23247, 23247, 23257, 23257, 23257, 23268, 23268, 23268, + 23280, 23280, 23280, 23291, 23291, 23291, 23305, 23305, 23305, 23316, 23316, 23316, 23326, 23326, 23326, 23330, 23330, 23330, 23334, 23334, 23334, 23343, 23343, 23343, + 23354, 23354, 23354, 23358, 23358, 23358, 23372, 23372, 23372, 23382, 23382, 23382, 23387, 23387, 23387, 23397, 23397, 23397, 23407, 23407, 23407, 23414, 23414, 23414, + 23421, 23421, 23421, 23433, 23433, 23433, 23447, 23447, 23447, 23456, 23456, 23456, 23470, 23470, 23470, 23480, 23480, 23480, 23495, 23495, 23495, 23505, 23505, 23505, + 23516, 23516, 23516, 23525, 23525, 23525, 21698, 21698, 21698, 23530, 23530, 23530, 23538, 23538, 23538, 23569, 23569, 23569, 23582, 23582, 23582, 23598, 23598, 23598, + 23619, 23619, 23619, 23639, 23639, 23639, 23651, 23651, 23651, 23661, 23661, 23661, 23673, 23673, 23673, 23681, 23681, 23681, 23690, 23690, 23690, 23703, 23703, 23703, + 23722, 23722, 23722, 23746, 23746, 23746, 23775, 23775, 23775, 23800, 23800, 23800, 23812, 23812, 23812, 23818, 23818, 23818, 23842, 23842, 23842, 23866, 23866, 23866, + 1116, 1116, 1116, 23878, 23878, 23878, 23892, 23892, 23892, 23905, 23905, 23905, 23919, 23919, 23919, 23938, 23938, 23938, 10044, 10044, 10044, 23952, 23952, 23952, + 23967, 23967, 23967, 23980, 23980, 23980, 23986, 23986, 23986, 24005, 24005, 24005, 24023, 24023, 24023, 24034, 24034, 24034, 24043, 24043, 24043, 24058, 24058, 24058, + 24076, 24076, 24076, 24084, 24084, 24084, 24097, 24097, 24097, 24112, 24112, 24112, 3163, 3163, 3163, 24123, 24123, 24123, 24141, 24141, 24141, 24157, 24157, 24157, + 24173, 24173, 24173, 24185, 24185, 24185, 24201, 24201, 24201, 173, 173, 173, 24208, 24208, 24208, 24231, 24231, 24231, 24245, 24245, 24245, 24253, 24253, 24253, + 24261, 24261, 24261, 24274, 24274, 24274, 1539, 1539, 1539, 24286, 24286, 24286, 24300, 24300, 24300, 24321, 24321, 24321, 24338, 24338, 24338, 24358, 24358, 24358, + 24373, 24373, 24373, 24382, 24382, 24382, 24397, 24397, 24397, 24422, 24422, 24422, 24440, 24440, 24440, 24450, 24450, 24450, 24459, 24459, 24459, 24477, 24477, 24477, + 24500, 24500, 24500, 24514, 24514, 24514, 24521, 24521, 24521, 24535, 24535, 24535, 24544, 24544, 24544, 3626, 3626, 3626, 24556, 24556, 24556, 23045, 23045, 23045, + 24571, 24571, 24571, 24580, 24580, 24580, 24600, 24600, 24600, 24614, 24614, 24614, 24635, 24635, 24635, 24652, 24652, 24652, 24667, 24667, 24667, 24691, 24691, 24691, + 24712, 24712, 24712, 24730, 24730, 24730, 24747, 24747, 24747, 24762, 24762, 24762, 24779, 24779, 24779, 24788, 24788, 24788, 24793, 24793, 24793, 24799, 24799, 24799, + 24810, 24810, 24810, 24828, 24828, 24828, 24844, 24844, 24844, 24856, 24856, 24856, 24870, 24870, 24870, 24888, 24888, 24888, 24896, 24896, 24896, 24909, 24909, 24909, + 24918, 24918, 24918, 24934, 24934, 24934, 24945, 24945, 24945, 24960, 24960, 24960, 24971, 24971, 24971, 24990, 24990, 24990, 25007, 25007, 25007, 25024, 25024, 25024, + 25030, 25030, 25030, 25050, 25050, 25050, 25060, 25060, 25060, 25076, 25076, 25076, 25086, 25086, 25086, 25096, 25096, 25096, 25110, 25110, 25110, 25119, 25119, 25119, + 25124, 25124, 25124, 25131, 25131, 25131, 25140, 25140, 25140, 25157, 25157, 25157, 25169, 25169, 25169, 1011, 1011, 1011, 25185, 25185, 25185, 25221, 25221, 25221, + 25235, 25235, 25235, 25246, 25246, 25246, 25250, 25250, 25250, 25254, 25254, 25254, 25258, 25258, 25258, 25269, 25269, 25269, 25281, 25281, 25281, 25299, 25299, 25299, + 25313, 25313, 25313, 25330, 25330, 25330, 25346, 25346, 25346, 25367, 25367, 25367, 25378, 25378, 25378, 25395, 25395, 25395, 25408, 25408, 25408, 25425, 25425, 25425, + 25439, 25439, 25439, 25461, 25461, 25461, 25466, 25466, 25466, 25471, 25471, 25471, 25483, 25483, 25483, 25499, 25499, 25499, 25518, 25518, 25518, 25529, 25529, 25529, + 25546, 25546, 25546, 25563, 25563, 25563, 25587, 25587, 25587, 25600, 25600, 25600, 25617, 25617, 25617, 25634, 25634, 25634, 25642, 25642, 25642, 25663, 25663, 25663, + 25672, 25672, 25672, 25676, 25676, 25676, 25703, 25703, 25703, 25729, 25729, 25729, 25747, 25747, 25747, 25777, 25777, 25777, 25781, 25781, 25781, 25791, 25791, 25791, + 25801, 25801, 25801, 25809, 25809, 25809, 25824, 25824, 25824, 25832, 25832, 25832, 25837, 25837, 25837, 25842, 25842, 25842, 25850, 25850, 25850, 25861, 25861, 25861, + 25871, 25871, 25871, 25881, 25881, 25881, 25893, 25893, 25893, 25903, 25903, 25903, 25912, 25912, 25912, 23077, 23077, 23077, 25925, 25925, 25925, 25933, 25933, 25933, + 25942, 25942, 25942, 25951, 25951, 25951, 25962, 25962, 25962, 25974, 25974, 25974, 25984, 25984, 25984, 25989, 25989, 25989, 25996, 25996, 25996, 26001, 26001, 26001, + 26008, 26008, 26008, 26014, 26014, 26014, 5322, 5322, 5322, 26021, 26021, 26021, 26029, 26029, 26029, 26044, 26044, 26044, 26049, 26049, 26049, 26061, 26061, 26061, + 26067, 26067, 26067, 26077, 26077, 26077, 26086, 26086, 26086, 26094, 26094, 26094, 26102, 26102, 26102, 26110, 26110, 26110, 26115, 26115, 26115, 26120, 26120, 26120, + 26130, 26130, 26130, 26139, 26139, 26139, 26147, 26147, 26147, 26178, 26178, 26185, 26189, 26189, 26189, 26209, 26209, 26209, 26232, 26232, 26232, 26248, 26248, 26248, + 26264, 26264, 26264, 23354, 23354, 23354, 26269, 26269, 26269, 26275, 26275, 26275, 26280, 26280, 26280, 26343, 26343, 26343, 26406, 26406, 26406, 26446, 26446, 26446, + 26508, 26508, 26508, 26560, 26560, 26560, 26604, 26604, 26604, 26640, 26640, 26640, 26649, 26649, 26649, 26677, 26677, 26677, 26719, 26719, 26719, 26746, 26746, 26746, + 26774, 26774, 26774, 26784, 26784, 26784, 26809, 26809, 26809, 26818, 26818, 26818, 26858, 26858, 26858, 26902, 26902, 26902, 26914, 26914, 26914, 26959, 26959, 26959, + 26969, 26969, 26969, 26980, 26980, 26980, 26989, 26989, 26989, 26998, 26998, 26998, 27004, 27004, 27004, 27008, 27008, 27008, 27022, 27022, 27022, 27036, 27036, 27036, }; -// Simplified Chinese: 26235 bytes of text. +// Simplified Chinese: 26611 bytes of text. constexpr char Text_zh_CN[] = "\000\351\207\207\351\233\206\000{0} \347\240\201\000" "\345\247\213\347\273\210\345\274\200\345\220\257\000\345\271\205\345\272\246\000" @@ -698,7 +704,8 @@ constexpr char Text_zh_CN[] = "\347\274\251\346\224\276 {0}\000" "CH1 \346\230\257\346\234\200\345\220\216\344\270\200\344\270\252\345\274\200\345\220\257\347\232\204\351\200\232\351\201\223\000" "CH2 \346\230\257\346\234\200\345\220\216\344\270\200\344\270\252\345\274\200\345\220\257\347\232\204\351\200\232\351\201\223\000" - "\351\200\232\351\201\223\000CH{0} \345\205\263\351\227\255\000" + "\351\200\232\351\201\223\000\345\212\237\350\203\275\000CH{0} \345\205\263\351\227\255\000" + "\345\205\263\357\274\214\344\270\215\346\230\276\347\244\272\000" "\345\205\263\357\274\214CH{0} {1} \347\202\271\000\345\274\200\357\274\214{0} \347\202\271\000" "CH{0} \350\257\273\346\225\260 {1}\000CH2\357\274\210\350\276\223\345\205\245 1\357\274\211\000" "CH1\357\274\210\350\276\223\345\205\245 2\357\274\211\000" @@ -868,12 +875,12 @@ constexpr char Text_zh_CN[] = "\345\275\251\350\211\262\000\345\215\225\350\211\262\000" "\303\2271000 \350\256\241\346\225\260\000" "\346\225\260\345\255\227\350\241\250\345\270\203\345\261\200\000\347\246\201\347\224\250\000" - "\345\212\237\350\203\275\000\347\273\204\345\220\210\351\224\256\000\351\207\217\347\250\213\000" + "\347\273\204\345\220\210\351\224\256\000\351\207\217\347\250\213\000" "\344\270\207\347\224\250\350\241\250{0}\345\221\275\344\273\244\346\234\252\347\241\256\350\256\244\000" - "\345\207\272\345\216\202\357\274\232DAC <1kHz\000{0}\357\274\214\345\275\223\345\211\215 {1}\000" - "\345\247\213\347\273\210 PWM\000\345\215\240\347\251\272\346\257\224\000" - "\345\220\257\347\224\250\000IBM\000Mono\000\346\225\260\347\240\201\347\256\241\000" - "\345\207\272\345\216\202\000\345\255\227\346\256\265\000" + "DMM \350\257\273\346\225\260 {0}\000\345\207\272\345\216\202\357\274\232DAC <1kHz\000" + "{0}\357\274\214\345\275\223\345\211\215 {1}\000\345\247\213\347\273\210 PWM\000" + "\345\215\240\347\251\272\346\257\224\000\345\220\257\347\224\250\000IBM\000Mono\000" + "\346\225\260\347\240\201\347\256\241\000\345\207\272\345\216\202\000\345\255\227\346\256\265\000" "\351\242\221\347\216\207\345\267\262\351\231\220\345\210\266\344\270\272\346\263\242\345\275\242\344\270\212\351\231\220\000" "\350\215\211\347\250\277\000{0}\357\274\210\346\234\200\345\244\247 {1}\357\274\211\000" "\346\235\245\350\207\252\350\256\241\346\225\260\345\231\250\000\347\224\265\345\256\271\000" @@ -1022,6 +1029,7 @@ constexpr char Text_zh_CN[] = "\345\263\260\345\263\260\345\200\274\000\345\221\250\346\234\237\000" "\350\204\211\345\206\262\346\225\260\357\274\210\344\270\212\345\215\207\346\262\277\357\274\211\000" "\346\234\211\346\225\210\345\200\274\000" + "\346\234\211\346\225\210\345\200\274\357\274\210\344\272\244\346\265\201\345\212\237\350\203\275\351\231\244\345\244\226\357\274\211\000" "\351\241\266\347\253\257\345\200\274\357\274\210\347\250\263\345\201\245\357\274\211\000" "\346\265\213\351\207\217\344\270\255...\000\346\214\207\351\222\210\000" "\346\235\241\345\275\242\345\233\276\000" @@ -1174,8 +1182,11 @@ constexpr char Text_zh_CN[] = "\346\226\255\345\274\200\347\244\272\346\263\242\345\231\250\350\276\223\345\205\245\357\274\237\000" "\345\220\257\347\224\250\345\211\215\350\257\267\346\226\255\345\274\200 SWD \350\260\203\350\257\225\345\231\250\000" "\345\260\206\346\216\242\345\244\264\344\270\216\344\277\241\345\217\267\346\226\255\345\274\200\000" + "\344\273\205 DMM\357\274\232\350\247\246\345\217\221 Auto\000" "\344\270\207\347\224\250\350\241\250\345\212\237\350\203\275\351\200\211\346\213\251\345\244\261\350\264\245\000" + "DMM \350\257\273\346\225\260\350\266\205\345\207\272\346\234\200\345\244\247\345\210\273\345\272\246\000" "\344\270\207\347\224\250\350\241\250\346\227\240\345\223\215\345\272\224\357\274\232\345\267\262\351\207\215\345\220\257\000" + "DMM \351\233\266\347\202\271\344\275\215\347\275\256\346\227\240\344\275\231\351\207\217\357\274\232\350\257\267\347\247\273\345\212\250\351\233\266\347\202\271\000" "\346\255\243\345\234\250\347\273\230\345\210\266...\000" "\350\257\267\345\274\200\345\220\257 RUN \345\271\266\345\256\214\346\210\220\345\205\266\344\273\226\346\223\215\344\275\234\000" "\350\257\267\345\274\200\345\220\257 RUN \345\271\266\345\201\234\346\255\242\344\277\241\345\217\267\346\272\220\345\217\212\345\205\266\344\273\226\346\223\215\344\275\234\000" @@ -1240,6 +1251,7 @@ constexpr char Text_zh_CN[] = "PNG \346\227\240\346\225\210\346\210\226\345\267\262\346\215\237\345\235\217\000" "\350\267\263\350\275\254\000" "\350\257\255\350\250\200\345\255\227\344\275\223\346\226\207\344\273\266\344\270\215\345\217\257\347\224\250\357\274\233\350\257\267\345\234\250 Recovery \344\270\255\346\233\264\346\226\260\345\233\272\344\273\266 .OSC\000" + "DMM \345\210\273\345\272\246\345\267\262\346\230\257\346\234\200\345\244\247\000" "\345\210\227\350\241\250\000\350\275\275\345\205\245\000" "\346\255\243\345\234\250\350\275\275\345\205\245\345\233\276\345\203\217...\000" "LOGS \347\233\256\345\275\225\350\257\273\345\217\226\345\244\261\350\264\245\000" @@ -1258,6 +1270,7 @@ constexpr char Text_zh_CN[] = "\346\255\244\344\277\241\345\217\267\346\272\220\346\227\240 AWG\000" "\346\234\252\350\275\275\345\205\245 AWG \346\263\242\345\275\242\000" "\346\227\240 CSV \346\226\207\344\273\266\000" + "\345\261\217\345\271\225\344\270\212\346\227\240 DMM \350\257\273\346\225\260\000" "\346\227\240\344\270\207\347\224\250\350\241\250\344\274\232\350\257\235\000" "\346\234\252\346\211\223\345\274\200\346\226\207\344\273\266\000" "\346\234\252\351\200\211\346\213\251\346\226\207\344\273\266\000" @@ -1286,7 +1299,9 @@ constexpr char Text_zh_CN[] = "\345\201\217\347\247\273\350\266\205\345\207\272 \302\26116 \347\240\201\000" "\346\211\223\345\274\200\000" "CAPTURES \344\270\255\347\232\204\345\205\266\344\273\226\346\226\207\344\273\266\344\277\235\347\225\231\000" - "\347\274\251\345\260\217\000PNG \347\274\226\347\240\201\345\244\261\350\264\245\000" + "\347\274\251\345\260\217\000" + "\350\266\205\350\277\207 20 s/\346\240\274\357\274\232\346\273\232\345\212\250\357\274\214\350\247\246\345\217\221 Auto\000" + "PNG \347\274\226\347\240\201\345\244\261\350\264\245\000" "\351\242\204\350\247\246\345\217\221\357\274\232\346\273\232\345\212\250\346\250\241\345\274\217\344\270\213\344\270\215\345\217\257\347\224\250\000" "\351\205\215\347\275\256\346\234\252\351\200\232\350\277\207\351\242\221\347\202\271\346\243\200\346\237\245\343\200\202\000" "\351\205\215\347\275\256\346\226\207\344\273\266\346\227\240\346\225\210\000" @@ -1300,6 +1315,7 @@ constexpr char Text_zh_CN[] = "\345\217\202\350\200\203\346\263\242\345\275\242\351\234\200\350\246\201\345\256\214\346\225\264\345\270\247\000" "\345\217\202\350\200\203\346\263\242\345\275\242\351\234\200\350\246\201\345\217\257\350\247\201\347\232\204 Y-T \351\200\232\351\201\223\000" "REL \351\234\200\350\246\201\346\234\211\346\225\210\347\232\204\345\275\223\345\211\215\350\257\273\346\225\260\000" + "\350\257\267\345\205\210\345\234\250\344\270\207\347\224\250\350\241\250\344\270\255\350\247\243\351\231\244 HOLD \345\206\215\345\210\207\346\215\242\345\212\237\350\203\275\000" "\350\257\267\345\205\210\350\247\243\351\231\244 HOLD \345\206\215\345\210\207\346\215\242\345\212\237\350\203\275\000" "\350\257\267\351\207\212\346\224\276 USB \346\263\242\345\275\242\344\273\245\346\201\242\345\244\215\000" "\344\277\235\345\255\230\345\220\216\351\207\215\345\220\257\347\224\237\346\225\210\000" @@ -1348,6 +1364,7 @@ constexpr char Text_zh_CN[] = "\350\256\276\347\275\256\346\234\252\344\277\235\345\255\230\357\274\233\346\255\243\345\234\250\345\205\263\346\234\272\000" "\345\267\262\344\273\216\345\244\207\344\273\275\346\201\242\345\244\215\350\256\276\347\275\256\000" "\350\256\276\347\275\256\000" + "DMM \345\210\273\345\272\246\345\267\262\346\230\257\346\234\200\345\260\217\000" "\350\275\257\344\273\266\351\233\266\347\202\271\345\205\263\351\227\255\357\274\233\344\277\235\347\225\231\347\241\254\344\273\266\351\233\266\347\202\271\000" "\350\276\223\345\205\245\344\277\235\346\214\201\347\250\263\345\256\232\357\274\233\344\273\205\351\231\220\345\275\223\345\211\215\346\227\266\351\222\237\000" "\345\201\234\346\255\242\344\277\241\345\217\267\346\272\220 / \346\240\241\345\207\206\000" @@ -1365,6 +1382,7 @@ constexpr char Text_zh_CN[] = "\344\270\273\351\242\230\345\267\262\350\275\275\345\205\245\357\274\233\345\267\262\346\224\276\345\274\203\346\263\242\345\275\242\345\233\276\346\233\264\346\224\271\000" "\344\270\273\351\242\230\345\267\262\346\201\242\345\244\215\357\274\233\346\227\240\346\263\225\345\206\231\345\205\245\344\270\273\351\242\230 JSON\000" "\345\267\262\344\273\216\344\270\212\344\270\200\344\273\275\346\201\242\345\244\215\344\270\273\351\242\230\000" + "\347\203\255\347\224\265\345\201\266\357\274\232\350\257\267\345\234\250\344\270\207\347\224\250\350\241\250\347\232\204 MENU \344\270\255\350\256\276\347\275\256\346\211\213\345\212\250\345\206\267\347\253\257\000" "\347\203\255\347\224\265\345\201\266\357\274\232\350\257\267\345\234\250 MENU \344\270\255\350\256\276\347\275\256\346\211\213\345\212\250\345\206\267\347\253\257\000" "\350\241\214\346\225\260\350\277\207\345\244\232\357\274\232\350\257\267\345\212\240\351\225\277\351\227\264\351\232\224\346\210\226\347\274\251\347\237\255\346\227\266\351\225\277\000" "\350\266\213\345\212\277\346\227\266\351\227\264\347\252\227\345\217\243\345\267\262\346\234\200\351\225\277\000" @@ -1442,7 +1460,7 @@ constexpr char Text_zh_CN[] = "\345\215\241\347\211\207\347\254\246\345\217\267\000" "\345\215\241\347\211\207\346\226\207\345\255\227\000CH1\000CH2\000" "\350\241\250\347\233\230\345\274\247\347\272\277\000" - "\350\241\250\347\233\230\345\210\273\345\272\246\000" + "\350\241\250\347\233\230\345\210\273\345\272\246\000\344\270\207\347\224\250\350\241\250\000" "\345\212\237\350\203\275\347\254\246\345\217\267\000\344\277\241\346\201\257\350\241\214\000" "\346\225\260\345\255\246\000\351\235\242\346\235\277\000\351\207\217\347\250\213 / REL\000" "\350\207\252\345\212\250 / \346\211\213\345\212\250\000" @@ -1567,7 +1585,7 @@ constexpr char Text_zh_CN[] = "\345\220\257\347\224\250\357\274\210\344\273\205 {0} MHz\357\274\211\000" "{0}\357\274\214{1} \346\227\266\345\205\263\351\227\255\000" "{0}\357\274\214HSI \346\227\266\345\205\263\351\227\255\000\344\270\244\350\200\205\000" - "\344\270\207\347\224\250\350\241\250\000\347\244\272\346\263\242\345\231\250\000" + "\347\244\272\346\263\242\345\231\250\000" "\346\263\242\345\275\242 {0} \351\234\200\350\246\201 {1} KiB\357\274\214\345\217\257\347\224\250 {2} KiB\012\350\257\267\345\260\235\350\257\225 CSV.gz \346\210\226 RAW.gz\343\200\202\000" "\346\263\242\345\275\242 {0} \351\234\200\350\246\201 {1} KiB\357\274\214\345\217\257\347\224\250 {2} KiB\012\350\257\267\345\260\235\350\257\225\346\233\264\347\237\255\347\232\204\350\256\260\345\275\225\343\200\202\000" "\345\217\257\347\224\250\347\251\272\351\227\264\344\270\215\350\266\263\344\273\245\344\277\235\345\255\230\346\255\244\346\263\242\345\275\242\000" @@ -1614,169 +1632,170 @@ constexpr uint16_t Offsets_zh_CN[TextCount * VariantCount] = { 2711, 2711, 2711, 2741, 2741, 2741, 2765, 2765, 2765, 2798, 2798, 2798, 2835, 2835, 2835, 2878, 2878, 2878, 2915, 2915, 2915, 2934, 2934, 2934, 2953, 2953, 2953, 2972, 2972, 2972, 2991, 2991, 2991, 3028, 3028, 3028, 3067, 3067, 3067, 3074, 3074, 3074, 3084, 3084, 3084, 3091, 3091, 3091, 288, 288, 288, 163, 163, 163, 3101, 3101, 3101, 3108, 3108, 3108, 3115, 3115, 3115, 3122, 3122, 3122, 3136, 3136, 3136, 3140, 3140, 3140, - 3147, 3147, 3147, 3157, 3157, 3157, 3164, 3164, 3164, 3175, 3175, 3175, 3210, 3210, 3210, 3245, 3245, 3245, 3252, 3252, 3252, 3265, 3265, 3265, - 3285, 3285, 3285, 3299, 3299, 3299, 3316, 3316, 3316, 3334, 3334, 3334, 3245, 3245, 3245, 3352, 3352, 3352, 156, 156, 156, 3373, 3373, 3373, - 3380, 3380, 3380, 3384, 3384, 3384, 3384, 3384, 3384, 3388, 3388, 3388, 3392, 3392, 3392, 3396, 3396, 3396, 3400, 3400, 3400, 3407, 3407, 3407, - 3388, 3388, 3388, 3411, 3411, 3411, 3418, 3418, 3418, 3422, 3422, 3422, 3392, 3392, 3392, 3429, 3429, 3429, 3433, 3433, 3433, 3440, 3440, 3440, - 3444, 3444, 3444, 3448, 3448, 3448, 156, 156, 156, 3452, 3452, 3452, 3459, 3459, 3459, 3472, 3472, 3472, 3484, 3484, 3484, 3497, 3497, 3497, - 3505, 3505, 3505, 3521, 3521, 3521, 3528, 3528, 3528, 3542, 3542, 3542, 3549, 3549, 3549, 3559, 3559, 3559, 3572, 3572, 3572, 3585, 3585, 3585, - 3605, 3605, 3605, 3612, 3612, 3612, 3624, 3624, 3624, 3631, 3631, 3631, 3641, 3641, 3641, 3648, 3648, 3648, 3655, 3655, 3655, 3662, 3662, 3662, - 3669, 3669, 3669, 3685, 3685, 3685, 3695, 3695, 3695, 3705, 3705, 3705, 3715, 3715, 3715, 3719, 3719, 3719, 3732, 3732, 3732, 3751, 3751, 3751, - 3761, 3761, 3761, 3775, 3775, 3775, 3779, 3779, 3779, 3792, 3792, 3792, 3805, 3805, 3805, 3816, 3816, 3816, 3827, 3827, 3827, 3834, 3834, 3834, - 3844, 3844, 3844, 3860, 3860, 3860, 3879, 3879, 3879, 3895, 3895, 3895, 3911, 3911, 3911, 3924, 3924, 3924, 3931, 3931, 3931, 3953, 3953, 3953, - 3960, 3960, 3960, 3979, 3979, 3979, 4005, 4005, 4005, 4033, 4033, 4033, 4046, 4046, 4046, 4056, 4056, 4056, 4069, 4069, 4069, 4082, 4082, 4082, - 4092, 4092, 4092, 4108, 4108, 4108, 4124, 4124, 4124, 4140, 4140, 4140, 4156, 4156, 4156, 4172, 4172, 4172, 4188, 4188, 4188, 4193, 4193, 4193, - 4212, 4212, 4212, 4231, 4231, 4231, 4238, 4238, 4238, 4242, 4242, 4242, 4256, 4256, 4256, 4270, 4270, 4270, 4281, 4281, 4281, 4292, 4292, 4292, - 4306, 4306, 4306, 4319, 4319, 4319, 4326, 4326, 4326, 4333, 4333, 4333, 4340, 4340, 4340, 4350, 4350, 4350, 4363, 4363, 4363, 4370, 4370, 4370, - 4380, 4380, 4380, 4384, 4384, 4384, 4394, 4394, 4394, 4401, 4401, 4401, 4408, 4408, 4408, 4415, 4415, 4415, 4428, 4428, 4428, 4441, 4441, 4441, - 4448, 4448, 4448, 4460, 4460, 4460, 4476, 4476, 4476, 4486, 4486, 4486, 4508, 4508, 4508, 1867, 1867, 1867, 4521, 4521, 4521, 4534, 4534, 4534, - 4541, 4541, 4541, 4545, 4545, 4545, 4555, 4555, 4555, 4568, 4568, 4568, 4578, 4578, 4578, 4585, 4585, 4585, 4590, 4590, 4590, 4597, 4597, 4597, - 4610, 4610, 4610, 4623, 4623, 4623, 1064, 1064, 1064, 4636, 4636, 4636, 4652, 4652, 4652, 4659, 4659, 4659, 4666, 4666, 4666, 4679, 4679, 4679, - 4692, 4692, 4692, 4699, 4699, 4699, 4476, 4476, 4476, 4706, 4706, 4706, 4716, 4716, 4716, 4723, 4723, 4723, 4753, 4753, 4753, 4780, 4780, 4780, - 4807, 4807, 4807, 4834, 4834, 4834, 4858, 4858, 4858, 4882, 4882, 4882, 4900, 4900, 4900, 4921, 4921, 4921, 4947, 4947, 4947, 4973, 4973, 4973, - 4999, 4999, 4999, 5025, 5025, 5025, 5051, 5051, 5051, 5072, 5072, 5072, 5098, 5098, 5098, 5124, 5124, 5124, 5150, 5150, 5150, 5173, 5173, 5173, - 5199, 5199, 5199, 5225, 5225, 5225, 5251, 5251, 5251, 5274, 5274, 5274, 5293, 5293, 5293, 1036, 1036, 1036, 5309, 5309, 5309, 5318, 5318, 5318, - 5327, 5327, 5327, 5341, 5341, 5341, 5348, 5348, 5348, 5357, 5357, 5357, 5366, 5366, 5366, 5373, 5373, 5373, 5382, 5382, 5382, 5391, 5391, 5391, - 5405, 5405, 5405, 5419, 5419, 5419, 5434, 5434, 5434, 5445, 5445, 5445, 5456, 5456, 5456, 5506, 5506, 5506, 5541, 5541, 5541, 5551, 5551, 5551, - 5582, 5582, 5582, 5633, 5633, 5633, 5666, 5666, 5666, 5696, 5696, 5696, 5706, 5706, 5706, 5728, 5728, 5728, 5767, 5767, 5767, 5783, 5783, 5783, - 5795, 5795, 5795, 5810, 5810, 5810, 5824, 5824, 5824, 5846, 5846, 5846, 5856, 5856, 5856, 5884, 5884, 5884, 5900, 5900, 5900, 5910, 5910, 5910, - 5945, 5945, 5945, 5985, 5985, 5985, 6019, 6019, 6019, 6066, 6066, 6066, 6091, 6091, 6091, 6116, 6116, 6116, 6123, 6123, 6123, 6137, 6137, 6137, - 6150, 6150, 6150, 6160, 6160, 6160, 6193, 6193, 6193, 6221, 6221, 6221, 6231, 6231, 6231, 6238, 6238, 6238, 6248, 6248, 6248, 6258, 6258, 6258, - 6268, 6268, 6268, 6281, 6281, 6281, 6291, 6291, 6291, 6298, 6298, 6298, 6314, 6314, 6314, 6336, 6336, 6336, 6346, 6346, 6346, 6362, 6362, 6362, - 6381, 6381, 6381, 6388, 6388, 6388, 6398, 6398, 6398, 6415, 6415, 6415, 6429, 6429, 6429, 6445, 6445, 6445, 6458, 6458, 6458, 6483, 6483, 6483, - 6491, 6491, 6491, 6498, 6498, 6498, 6538, 6538, 6538, 6560, 6560, 6560, 6573, 6573, 6573, 6588, 6588, 6588, 6601, 6601, 6601, 6614, 6614, 6614, - 6627, 6627, 6627, 6652, 6652, 6652, 6713, 6713, 6713, 6758, 6758, 6758, 6798, 6798, 6798, 6842, 6842, 6842, 6902, 6902, 6902, 6950, 6950, 6950, - 7000, 7000, 7000, 7034, 7034, 7034, 7041, 7041, 7041, 7045, 7045, 7045, 4380, 4380, 4380, 7050, 7050, 7050, 7054, 7054, 7054, 7060, 7060, 7060, - 7067, 7067, 7067, 7075, 7075, 7075, 7100, 7100, 7100, 4568, 4568, 4568, 7112, 7112, 7112, 7126, 7126, 7126, 7152, 7152, 7152, 7162, 7162, 7162, - 7184, 7184, 7184, 7195, 7195, 7195, 7205, 7205, 7205, 7215, 7215, 7215, 7226, 7226, 7226, 170, 170, 170, 7241, 7241, 7241, 7248, 7248, 7248, - 7264, 7264, 7264, 7277, 7277, 7277, 7284, 7284, 7284, 7294, 7294, 7294, 7310, 7310, 7310, 7323, 7323, 7323, 7333, 7333, 7333, 7340, 7340, 7340, - 7353, 7353, 7353, 7360, 7360, 7360, 7367, 7367, 7367, 7381, 7381, 7381, 7397, 7397, 7397, 7404, 7404, 7404, 7411, 7411, 7411, 1022, 1022, 1022, - 7421, 7421, 7421, 7428, 7428, 7428, 7456, 7456, 7456, 7475, 7475, 7475, 537, 537, 537, 7492, 7492, 7492, 7503, 7503, 7503, 7513, 7513, 7513, - 7520, 7520, 7520, 7524, 7524, 7524, 7529, 7529, 7529, 7539, 7539, 7539, 7546, 7546, 7546, 1036, 1036, 1036, 7553, 7553, 7553, 7584, 7584, 7584, - 7591, 7591, 7591, 1036, 1036, 1036, 7611, 7611, 7611, 7627, 7627, 7627, 7634, 7634, 7634, 7641, 7641, 7641, 7654, 7654, 7654, 7667, 7667, 7667, - 7677, 7677, 7677, 7696, 7696, 7696, 7709, 7709, 7709, 7722, 7722, 7722, 7735, 7735, 7735, 7748, 7748, 7748, 7755, 7755, 7755, 7765, 7765, 7765, - 7778, 7778, 7778, 7791, 7791, 7791, 7819, 7819, 7819, 7846, 7846, 7846, 7864, 7864, 7864, 7864, 7864, 7864, 7877, 7877, 7877, 7884, 7884, 7884, - 7908, 7908, 7908, 7915, 7915, 7915, 7955, 7955, 7955, 7987, 7987, 7987, 8027, 8027, 8027, 8060, 8060, 8060, 8088, 8088, 8088, 8117, 8117, 8117, - 8142, 8142, 8142, 8149, 8149, 8149, 8156, 8156, 8156, 8176, 8176, 8176, 8198, 8198, 8198, 8217, 8217, 8217, 8230, 8230, 8230, 4380, 4380, 4380, - 8246, 8246, 8246, 8266, 8266, 8266, 8285, 8285, 8285, 8294, 8294, 8294, 8320, 8320, 8320, 8336, 8336, 8336, 8368, 8368, 8368, 8381, 8381, 8381, - 8403, 8403, 8403, 8427, 8427, 8427, 8450, 8450, 8450, 8457, 8457, 8457, 8470, 8470, 8470, 8483, 8483, 8483, 8502, 8502, 8502, 8515, 8515, 8515, - 8534, 8534, 8534, 8544, 8544, 8544, 8555, 8555, 8555, 8582, 8582, 8582, 8642, 8642, 8642, 8680, 8680, 8680, 8712, 8712, 8712, 8719, 8719, 8719, - 3631, 3631, 3631, 8735, 8735, 8735, 8749, 8749, 8749, 8783, 8783, 8783, 8801, 8801, 8801, 8814, 8814, 8814, 8827, 8827, 8827, 1050, 1050, 1050, - 8835, 8835, 8835, 8848, 8848, 8848, 8858, 8858, 8858, 8871, 8871, 8871, 8884, 8884, 8884, 8871, 8871, 8871, 8921, 8921, 8921, 8967, 8967, 8967, - 9004, 9004, 9004, 9040, 9040, 9040, 9080, 9080, 9080, 9118, 9118, 9118, 9158, 9158, 9158, 9165, 9165, 9165, 9178, 9178, 9178, 9189, 9189, 9189, - 9202, 9202, 9202, 9239, 9239, 9239, 9274, 9274, 9274, 9300, 9300, 9300, 9332, 9332, 9332, 9351, 9351, 9351, 9358, 9358, 9358, 9365, 9365, 9365, - 2194, 2194, 2194, 9351, 9351, 9351, 9378, 9378, 9378, 9391, 9391, 9391, 9398, 9398, 9398, 9414, 9414, 9414, 9442, 9442, 9442, 9466, 9466, 9466, - 9488, 9488, 9488, 9510, 9510, 9510, 9535, 9535, 9535, 9591, 9591, 9591, 9622, 9622, 9622, 9656, 9656, 9656, 9708, 9708, 9708, 9748, 9748, 9748, - 9762, 9762, 9762, 9799, 9799, 9799, 9810, 9810, 9810, 9824, 9824, 9824, 9831, 9831, 9831, 9844, 9844, 9844, 9851, 9851, 9851, 9870, 9870, 9870, - 6491, 6491, 6491, 9877, 9877, 9877, 9888, 9888, 9888, 9902, 9902, 9902, 9913, 9913, 9913, 9920, 9920, 9920, 9927, 9927, 9927, 9939, 9939, 9939, - 187, 187, 187, 9950, 9950, 9950, 5341, 5341, 5341, 9957, 9957, 9957, 9967, 9967, 9967, 9989, 9989, 9989, 10021, 10021, 10021, 10028, 10028, 10028, - 10032, 10032, 10032, 10036, 10036, 10036, 10064, 10064, 10064, 10101, 10101, 10101, 10111, 10111, 10111, 10125, 10125, 10125, 10132, 10132, 10132, 10139, 10139, 10139, - 10146, 10146, 10146, 10153, 10153, 10153, 10166, 10166, 10166, 3827, 3827, 3827, 10176, 10176, 10176, 10189, 10189, 10189, 10196, 10196, 10196, 10203, 10203, 10203, - 10216, 10216, 10216, 10216, 10216, 10216, 10223, 10223, 10223, 10257, 10257, 10257, 10303, 10303, 10303, 10343, 10343, 10343, 10351, 10351, 10351, 10359, 10359, 10359, - 10376, 10376, 10376, 10392, 10392, 10392, 10411, 10411, 10411, 10428, 10428, 10428, 10441, 10441, 10441, 10454, 10454, 10454, 10472, 10472, 10472, 10496, 10496, 10496, - 10506, 10506, 10506, 10146, 10146, 10146, 10520, 10520, 10520, 10554, 10554, 10554, 10569, 10569, 10569, 7908, 7908, 7908, 10582, 10582, 10582, 10600, 10600, 10600, - 10610, 10610, 10610, 10625, 10625, 10625, 10656, 10656, 10656, 10697, 10697, 10697, 1043, 1043, 1043, 10731, 10731, 10731, 10744, 10744, 10744, 10757, 10757, 10757, - 10794, 10794, 10794, 10820, 10820, 10820, 10837, 10837, 10837, 10851, 10851, 10851, 10866, 10866, 10866, 10879, 10879, 10879, 10895, 10895, 10895, 10914, 10914, 10914, - 10921, 10921, 10921, 10931, 10931, 10931, 10973, 10973, 10973, 11007, 11007, 11007, 11041, 11041, 11041, 11073, 11073, 11073, 11088, 11088, 11088, 11101, 11101, 11101, - 11138, 11138, 11138, 11166, 11166, 11166, 11185, 11185, 11185, 11201, 11201, 11201, 11229, 11229, 11229, 11251, 11251, 11251, 7503, 7503, 7503, 1036, 1036, 1036, - 11271, 11271, 11271, 11281, 11281, 11281, 11291, 11291, 11291, 11301, 11301, 11301, 11314, 11314, 11314, 11324, 11324, 11324, 11331, 11331, 11331, 11356, 11356, 11356, - 11366, 11366, 11366, 1043, 1043, 1043, 1043, 1043, 1043, 11388, 11388, 11388, 11401, 11401, 11401, 11408, 11408, 11408, 11418, 11418, 11418, 11437, 11437, 11437, - 11450, 11450, 11450, 11463, 11463, 11463, 3140, 3140, 3140, 11474, 11474, 11474, 6491, 6491, 6491, 11487, 11487, 11487, 1043, 1043, 1043, 11500, 11500, 11500, - 11510, 11510, 11510, 11517, 11517, 11517, 11527, 11527, 11527, 7421, 7421, 7421, 11538, 11538, 11538, 11551, 11551, 11551, 11561, 11561, 11561, 11584, 11584, 11584, - 11599, 11599, 11599, 11612, 11612, 11612, 11626, 11626, 11626, 11639, 11639, 11639, 11646, 11646, 11646, 11653, 11653, 11653, 11666, 11666, 11666, 11682, 11682, 11682, - 11689, 11689, 11689, 11696, 11696, 11696, 11731, 11731, 11731, 11760, 11760, 11760, 11795, 11795, 11795, 11818, 11818, 11818, 11825, 11825, 11825, 11836, 11836, 11836, - 11878, 11878, 11878, 11905, 11905, 11905, 11912, 11912, 11912, 11940, 11940, 11940, 11980, 11980, 11980, 12007, 12007, 12007, 12029, 12029, 12029, 12063, 12063, 12063, - 12094, 12094, 12094, 12113, 12113, 12113, 12147, 12147, 12147, 12163, 12163, 12163, 12182, 12182, 12182, 12210, 12210, 12210, 12238, 12238, 12238, 12278, 12278, 12278, - 12321, 12321, 12321, 12361, 12361, 12361, 12404, 12404, 12404, 12414, 12414, 12414, 12443, 12443, 12443, 12468, 12468, 12468, 12511, 12511, 12511, 124, 124, 124, - 12551, 12551, 12551, 12586, 12586, 12586, 12635, 12635, 12635, 12675, 12675, 12675, 12706, 12706, 12706, 12742, 12742, 12742, 12795, 12795, 12795, 12841, 12841, 12841, - 12879, 12879, 12879, 12916, 12916, 12916, 12977, 12977, 12977, 13009, 13009, 13009, 13056, 13056, 13056, 13102, 13102, 13102, 13139, 13139, 13139, 13185, 13185, 13185, - 13231, 13231, 13231, 13263, 13263, 13263, 13301, 13301, 13301, 13338, 13338, 13338, 13366, 13366, 13366, 13412, 13412, 13412, 13448, 13448, 13448, 2419, 2419, 2419, - 13473, 13473, 13473, 13486, 13486, 13486, 13508, 13508, 13508, 13542, 13542, 13542, 13567, 13567, 13567, 13598, 13598, 13598, 13626, 13626, 13626, 13645, 13645, 13645, - 13675, 13675, 13675, 13701, 13701, 13701, 13726, 13726, 13726, 13751, 13751, 13751, 13770, 13770, 13770, 13789, 13789, 13789, 13813, 13813, 13813, 13832, 13832, 13832, - 13851, 13851, 13851, 13870, 13870, 13870, 13895, 13895, 13895, 13920, 13920, 13920, 13945, 13945, 13945, 13971, 13971, 13971, 13995, 13995, 13995, 14020, 14020, 14020, - 14044, 14044, 14044, 14069, 14069, 14069, 14114, 14114, 14114, 14148, 14148, 14148, 14172, 14172, 14172, 14206, 14206, 14206, 14230, 14230, 14230, 14270, 14270, 14270, - 14294, 14294, 14294, 14313, 14313, 14313, 14338, 14338, 14338, 14360, 14360, 14360, 14385, 14385, 14385, 14398, 14398, 14398, 14441, 14441, 14441, 14461, 14461, 14461, - 14501, 14501, 14501, 14528, 14528, 14528, 14555, 14555, 14555, 14583, 14583, 14583, 14617, 14617, 14617, 14647, 14647, 14647, 14675, 14675, 14675, 14691, 14691, 14691, - 14707, 14707, 14707, 14743, 14743, 14743, 14780, 14780, 14780, 14821, 14821, 14821, 14837, 14837, 14837, 14862, 14862, 14862, 14915, 14915, 14915, 14937, 14937, 14937, - 14955, 14955, 14955, 14983, 14983, 14983, 15002, 15002, 15002, 15018, 15018, 15018, 15049, 15049, 15049, 15077, 15077, 15077, 15105, 15105, 15105, 15122, 15122, 15122, - 15154, 15154, 15154, 15161, 15161, 15161, 15180, 15180, 15180, 15199, 15199, 15199, 15218, 15218, 15218, 15237, 15237, 15237, 15256, 15256, 15256, 15275, 15275, 15275, - 15294, 15294, 15294, 15313, 15313, 15313, 15356, 15356, 15356, 15390, 15390, 15390, 15432, 15432, 15432, 15457, 15457, 15457, 15485, 15485, 15485, 15504, 15504, 15504, - 15529, 15529, 15529, 15562, 15562, 15562, 15587, 15587, 15587, 15615, 15615, 15615, 15646, 15646, 15646, 15662, 15662, 15662, 15698, 15698, 15698, 15746, 15746, 15746, - 15773, 15773, 15773, 15780, 15780, 15780, 15811, 15811, 15811, 15830, 15830, 15830, 15852, 15852, 15852, 15911, 15911, 15911, 15939, 15939, 15939, 15982, 15982, 15982, - 16010, 16010, 16010, 672, 672, 672, 16038, 16038, 16038, 16057, 16057, 16057, 16082, 16082, 16082, 16107, 16107, 16107, 16143, 16143, 16143, 16177, 16177, 16177, - 16199, 16199, 16199, 16218, 16218, 16218, 16246, 16246, 16246, 16268, 16268, 16268, 16275, 16275, 16275, 16303, 16303, 16303, 16313, 16313, 16313, 16344, 16344, 16344, - 16381, 16381, 16381, 16421, 16421, 16421, 16470, 16470, 16470, 16492, 16492, 16492, 16526, 16526, 16526, 16591, 16591, 16591, 16631, 16631, 16631, 16680, 16680, 16680, - 16723, 16723, 16723, 16745, 16745, 16745, 16799, 16799, 16799, 16824, 16824, 16824, 16842, 16842, 16842, 16868, 16868, 16868, 16902, 16902, 16902, 16951, 16951, 16951, - 16982, 16982, 16982, 17013, 17013, 17013, 17038, 17038, 17038, 17066, 17066, 17066, 17090, 17090, 17090, 17117, 17117, 17117, 17129, 17129, 17129, 17142, 17142, 17142, - 17167, 17167, 17167, 17186, 17186, 17186, 17218, 17218, 17218, 17225, 17225, 17225, 17256, 17256, 17256, 17278, 17278, 17278, 17300, 17300, 17300, 17337, 17337, 17337, - 17353, 17353, 17353, 17375, 17375, 17375, 17401, 17401, 17401, 17420, 17420, 17420, 17443, 17443, 17443, 17450, 17450, 17450, 17517, 17517, 17517, 17524, 17524, 17524, - 17531, 17531, 17531, 17553, 17553, 17553, 17577, 17577, 17577, 17605, 17605, 17605, 17615, 17615, 17615, 17631, 17631, 17631, 17650, 17650, 17650, 17663, 17663, 17663, - 17682, 17682, 17682, 17710, 17710, 17710, 17741, 17741, 17741, 17757, 17757, 17757, 17797, 17797, 17797, 17844, 17844, 17844, 17883, 17883, 17883, 17903, 17903, 17903, - 17924, 17924, 17924, 17939, 17939, 17939, 17958, 17958, 17958, 17974, 17974, 17974, 17990, 17990, 17990, 18018, 18018, 18018, 18034, 18034, 18034, 18059, 18059, 18059, - 18090, 18090, 18090, 18115, 18115, 18115, 18137, 18137, 18137, 18159, 18159, 18159, 18169, 18169, 18169, 18200, 18200, 18200, 18216, 18216, 18216, 18226, 18226, 18226, - 18245, 18245, 18245, 18255, 18255, 18255, 18292, 18292, 18292, 18326, 18326, 18326, 18374, 18374, 18374, 18411, 18411, 18411, 18445, 18445, 18445, 18479, 18479, 18479, - 18513, 18513, 18513, 18559, 18559, 18559, 18599, 18599, 18599, 18621, 18621, 18621, 18628, 18628, 18628, 18662, 18662, 18662, 18669, 18669, 18669, 18686, 18686, 18686, - 18723, 18723, 18723, 18754, 18754, 18754, 18773, 18773, 18773, 18810, 18810, 18810, 18817, 18817, 18817, 18836, 18836, 18836, 18883, 18883, 18883, 18923, 18923, 18923, - 18954, 18954, 18954, 18996, 18996, 18996, 19024, 19024, 19024, 19063, 19063, 19063, 19095, 19095, 19095, 19129, 19129, 19129, 19159, 19159, 19159, 19181, 19181, 19181, - 19237, 19237, 19237, 19293, 19293, 19293, 19354, 19354, 19354, 19415, 19415, 19415, 19431, 19431, 19431, 19453, 19453, 19453, 19460, 19460, 19460, 19482, 19482, 19482, - 19504, 19504, 19504, 19550, 19550, 19550, 19596, 19596, 19596, 19636, 19636, 19636, 19649, 19649, 19649, 19665, 19665, 19665, 19705, 19705, 19705, 19733, 19733, 19733, - 19764, 19764, 19764, 19792, 19792, 19792, 19814, 19814, 19814, 19836, 19836, 19836, 19849, 19849, 19849, 19865, 19865, 19865, 19887, 19887, 19887, 19903, 19903, 19903, - 19922, 19922, 19922, 19947, 19947, 19947, 19987, 19987, 19987, 20018, 20018, 20018, 20037, 20037, 20037, 20069, 20069, 20069, 20069, 20069, 20069, 20091, 20091, 20091, - 20110, 20110, 20110, 20126, 20126, 20126, 20154, 20154, 20154, 20176, 20176, 20176, 20216, 20216, 20216, 20235, 20235, 20235, 20260, 20260, 20260, 20285, 20285, 20285, - 20319, 20319, 20319, 20338, 20338, 20338, 20378, 20378, 20378, 20409, 20409, 20409, 20434, 20434, 20434, 20441, 20441, 20441, 20481, 20481, 20481, 2234, 2234, 2234, - 20521, 20521, 20521, 20546, 20546, 20546, 20571, 20571, 20571, 20606, 20606, 20606, 20646, 20646, 20646, 5293, 5293, 5293, 20680, 20680, 20680, 20720, 20720, 20720, - 20751, 20751, 20751, 20780, 20780, 20780, 20797, 20797, 20797, 20804, 20804, 20804, 20811, 20811, 20811, 20836, 20836, 20836, 20852, 20852, 20852, 20895, 20895, 20895, - 20937, 20937, 20937, 20965, 20965, 20965, 21011, 21011, 21011, 21057, 21057, 21057, 21085, 21085, 21085, 21113, 21113, 21113, 21129, 21129, 21129, 21171, 21171, 21171, - 21203, 21203, 21203, 21233, 21233, 21233, 21240, 21240, 21240, 21269, 21269, 21269, 21298, 21298, 21298, 21323, 21323, 21323, 21348, 21348, 21348, 21370, 21370, 21370, - 21406, 21406, 21406, 21435, 21435, 21435, 21458, 21458, 21458, 21481, 21481, 21481, 21504, 21504, 21504, 21536, 21536, 21536, 21556, 21556, 21556, 21575, 21575, 21575, - 21610, 21610, 21610, 21632, 21632, 21632, 21654, 21654, 21654, 4659, 4659, 4659, 21668, 21668, 21668, 21699, 21699, 21699, 1064, 1064, 1064, 21718, 21718, 21718, - 21734, 21734, 21734, 21747, 21747, 21747, 21760, 21760, 21760, 21773, 21773, 21773, 21814, 21814, 21814, 21852, 21852, 21852, 21883, 21883, 21883, 21926, 21926, 21926, - 4692, 4692, 4692, 21957, 21957, 21957, 21990, 21990, 21990, 22033, 22033, 22033, 22058, 22058, 22058, 22069, 22069, 22069, 22085, 22085, 22085, 22085, 22085, 22085, - 22095, 22095, 22095, 4380, 4380, 4380, 22105, 22105, 22105, 22115, 22115, 22115, 22125, 22125, 22125, 22129, 22129, 22129, 5541, 5541, 5541, 1560, 1560, 1560, - 22133, 22133, 22133, 22161, 22161, 22161, 22171, 22171, 22171, 22125, 22125, 22125, 22129, 22129, 22129, 22178, 22178, 22178, 22185, 22185, 22185, 22192, 22192, 22192, - 180, 180, 180, 22199, 22199, 22199, 523, 523, 523, 22213, 22213, 22213, 22226, 22226, 22226, 3655, 3655, 3655, 22233, 22233, 22233, 22249, 22249, 22249, - 20434, 20434, 20434, 22268, 22268, 22268, 22275, 22275, 22275, 3373, 3373, 3373, 22282, 22282, 22282, 3422, 3422, 3422, 22289, 22289, 22289, 22302, 22302, 22302, - 3108, 3108, 3108, 22315, 22335, 22335, 22349, 22349, 22349, 22364, 22364, 22364, 22384, 22384, 22384, 22443, 22443, 22443, 22450, 22450, 22450, 22457, 22457, 22457, - 22469, 22469, 22469, 22490, 22490, 22490, 22509, 22509, 22509, 22530, 22530, 22530, 22544, 22544, 22544, 548, 548, 548, 10146, 10146, 10146, 22551, 22551, 22551, - 22558, 22558, 22558, 22562, 22562, 22562, 22569, 22569, 22569, 22576, 22589, 22589, 22596, 22609, 22609, 22616, 22629, 22629, 22636, 22636, 22636, 22646, 22646, 22646, - 22653, 22653, 22653, 22666, 22666, 22666, 22688, 22688, 22688, 22701, 22701, 22701, 1560, 1560, 1560, 22723, 22723, 22723, 22733, 22733, 22733, 22740, 22740, 22740, - 11281, 11281, 11281, 22747, 22747, 22747, 22754, 22754, 22754, 22770, 22770, 22770, 22783, 22783, 22783, 22799, 22799, 22799, 22812, 22812, 22812, 22825, 22825, 22825, - 22829, 22829, 22829, 22833, 22833, 22833, 22846, 22846, 22846, 22859, 22859, 22859, 22872, 22872, 22872, 22882, 22882, 22882, 11271, 11271, 11271, 11291, 11291, 11291, - 11401, 11401, 11401, 22889, 22889, 22889, 22896, 22896, 22896, 22909, 22909, 22909, 1057, 1057, 1057, 22925, 22925, 22925, 22938, 22938, 22938, 22951, 22951, 22951, - 22964, 22964, 22964, 22971, 22971, 22971, 22984, 22984, 22984, 22997, 22997, 22997, 21233, 21233, 21233, 9824, 9824, 9824, 23004, 23004, 23004, 23040, 23040, 23040, - 23054, 23054, 23054, 23074, 23074, 23074, 23095, 23095, 23095, 4706, 4706, 4706, 23119, 23119, 23119, 23130, 23130, 23130, 23143, 23143, 23143, 23150, 23150, 23150, - 23157, 23157, 23157, 23173, 23173, 23173, 23196, 23196, 23196, 23222, 23222, 23222, 23248, 23248, 23248, 23277, 23277, 23277, 23284, 23284, 23284, 23288, 23288, 23288, - 23313, 23313, 23313, 11626, 11626, 11626, 1148, 1148, 1148, 23342, 23342, 23342, 23358, 23358, 23358, 23370, 23370, 23370, 23387, 23387, 23387, 23409, 23409, 23409, - 10176, 10176, 10176, 23422, 23422, 23422, 23436, 23436, 23436, 22178, 22178, 22178, 23452, 23452, 23452, 23468, 23468, 23468, 22185, 22185, 22185, 23481, 23481, 23481, - 23490, 23490, 23490, 23503, 23503, 23503, 23516, 23516, 23516, 23523, 23523, 23523, 23536, 23536, 23536, 23549, 23549, 23549, 3245, 3245, 3245, 23556, 23556, 23556, - 23569, 23569, 23569, 23582, 23582, 23582, 23595, 23595, 23595, 23608, 23608, 23608, 22192, 22192, 22192, 180, 180, 180, 23621, 23621, 23621, 23646, 23646, 23646, - 23659, 23659, 23659, 23669, 23669, 23669, 23679, 23679, 23679, 22199, 22199, 22199, 523, 523, 523, 23692, 23692, 23692, 23705, 23705, 23705, 8719, 8719, 8719, - 23724, 23724, 23724, 23746, 23746, 23746, 23759, 23759, 23759, 23769, 23769, 23769, 23786, 23786, 23786, 22213, 22213, 22213, 23808, 23808, 23808, 23821, 23821, 23821, - 23839, 23839, 23839, 23855, 23855, 23855, 23874, 23874, 23874, 23890, 23890, 23890, 23897, 23897, 23897, 20434, 20434, 20434, 22226, 22226, 22226, 3655, 3655, 3655, - 23910, 23910, 23910, 22544, 22544, 22544, 23923, 23923, 23923, 23930, 23930, 23930, 23943, 23943, 23943, 23956, 23956, 23956, 23978, 23978, 23978, 23994, 23994, 23994, - 24007, 24007, 24007, 24031, 24031, 24031, 24055, 24055, 24055, 24079, 24079, 24079, 24092, 24092, 24092, 24105, 24105, 24105, 9831, 9831, 9831, 24124, 24124, 24124, - 24131, 24131, 24131, 24144, 24144, 24144, 22233, 22233, 22233, 22249, 22249, 22249, 23277, 23277, 23277, 24160, 24160, 24160, 24173, 24173, 24173, 22268, 22268, 22268, - 24186, 24186, 24186, 22275, 22275, 22275, 24201, 24201, 24201, 24217, 24217, 24217, 24230, 24230, 24230, 24244, 24244, 24244, 24255, 24255, 24255, 24274, 24274, 24274, - 24293, 24293, 24293, 24312, 24312, 24312, 24318, 24318, 24318, 1064, 1064, 1064, 21760, 21760, 21760, 24331, 24331, 24331, 24341, 24341, 24341, 24354, 24354, 24354, - 24370, 24370, 24370, 24380, 24380, 24380, 24387, 24387, 24387, 24394, 24394, 24394, 24404, 24404, 24404, 1, 1, 1, 24418, 24418, 24418, 1043, 1043, 1043, - 24431, 24431, 24431, 24160, 24160, 24160, 24468, 24468, 24468, 3953, 3953, 3953, 24481, 24481, 24481, 24488, 24488, 24488, 24495, 24495, 24495, 24508, 24508, 24508, - 24518, 24518, 24518, 24531, 24531, 24531, 24544, 24544, 24544, 24557, 24557, 24557, 24570, 24570, 24570, 24589, 24589, 24589, 24603, 24603, 24603, 24616, 24616, 24616, - 24632, 24632, 24632, 24648, 24648, 24648, 24665, 24665, 24665, 24686, 24686, 24686, 24690, 24690, 24690, 24694, 24694, 24694, 24701, 24701, 24701, 24717, 24717, 24717, - 24741, 24741, 24741, 24754, 24754, 24754, 24766, 24766, 24766, 24779, 24779, 24779, 24805, 24805, 24805, 24821, 24821, 24821, 24841, 24841, 24841, 22085, 22085, 22085, - 24864, 24864, 24864, 11500, 11500, 11500, 24883, 24883, 24883, 24890, 24890, 24890, 11561, 11561, 11561, 11584, 11584, 11584, 24917, 24917, 24917, 24946, 24946, 24946, - 24953, 24953, 24953, 24969, 24969, 24969, 24985, 24985, 24985, 24992, 24992, 24992, 8, 8, 8, 25005, 25005, 25005, 25012, 25012, 25012, 25019, 25019, 25019, - 25029, 25029, 25029, 25039, 25039, 25039, 25046, 25046, 25046, 25056, 25056, 25056, 25063, 25063, 25063, 25070, 25070, 25070, 25074, 25074, 25074, 22733, 22733, 22733, - 25087, 25087, 25087, 25094, 25094, 25094, 25101, 25101, 25101, 25105, 25105, 25105, 25115, 25115, 25115, 25122, 25122, 25122, 25138, 25138, 25138, 25145, 25145, 25145, - 25155, 25155, 25155, 25162, 25162, 25162, 25169, 25169, 25169, 25176, 25176, 25176, 5366, 5366, 5366, 3157, 3157, 3157, 25183, 25183, 25183, 25203, 25203, 25203, - 25210, 25210, 25210, 25217, 25217, 25217, 25224, 25224, 25224, 25232, 25232, 25232, 25242, 25242, 25242, 7050, 7050, 7050, 7041, 7041, 7041, 25252, 25252, 25252, - 25256, 25256, 25256, 25261, 25261, 25261, 25271, 25271, 25271, 22551, 22551, 22551, 25278, 25278, 25278, 25312, 25312, 25323, 25327, 25327, 25327, 25351, 25351, 25351, - 25375, 25375, 25375, 25395, 25395, 25395, 25415, 25415, 25415, 25422, 25422, 25422, 25432, 25432, 25432, 1064, 1064, 1064, 25442, 25442, 25442, 25516, 25516, 25516, - 25587, 25587, 25587, 25624, 25624, 25624, 25695, 25695, 25695, 25755, 25755, 25755, 25792, 25792, 25792, 1064, 1064, 1064, 25826, 25826, 25826, 25853, 25853, 25853, - 25895, 25895, 25895, 25921, 25921, 25921, 1064, 1064, 1064, 25950, 25950, 25950, 25983, 25983, 25983, 25993, 25993, 25993, 26024, 26024, 26024, 26064, 26064, 26064, - 26074, 26074, 26074, 26125, 26125, 26125, 26135, 26135, 26135, 26146, 26146, 26146, 26156, 26156, 26156, 26166, 26166, 26166, 11905, 11905, 11905, 26173, 26173, 26173, - 26187, 26187, 26187, 26201, 26201, 26201, + 3147, 3147, 3147, 3157, 3157, 3157, 3164, 3164, 3164, 3175, 3175, 3175, 3210, 3210, 3210, 3245, 3245, 3245, 3252, 3252, 3252, 3259, 3259, 3259, + 3272, 3272, 3272, 3288, 3288, 3288, 3308, 3308, 3308, 3322, 3322, 3322, 3339, 3339, 3339, 3357, 3357, 3357, 3245, 3245, 3245, 3375, 3375, 3375, + 156, 156, 156, 3396, 3396, 3396, 3403, 3403, 3403, 3407, 3407, 3407, 3407, 3407, 3407, 3411, 3411, 3411, 3415, 3415, 3415, 3419, 3419, 3419, + 3423, 3423, 3423, 3430, 3430, 3430, 3411, 3411, 3411, 3434, 3434, 3434, 3441, 3441, 3441, 3445, 3445, 3445, 3415, 3415, 3415, 3452, 3452, 3452, + 3456, 3456, 3456, 3463, 3463, 3463, 3467, 3467, 3467, 3471, 3471, 3471, 156, 156, 156, 3475, 3475, 3475, 3482, 3482, 3482, 3495, 3495, 3495, + 3507, 3507, 3507, 3520, 3520, 3520, 3528, 3528, 3528, 3544, 3544, 3544, 3551, 3551, 3551, 3565, 3565, 3565, 3572, 3572, 3572, 3582, 3582, 3582, + 3595, 3595, 3595, 3608, 3608, 3608, 3628, 3628, 3628, 3635, 3635, 3635, 3647, 3647, 3647, 3654, 3654, 3654, 3664, 3664, 3664, 3671, 3671, 3671, + 3678, 3678, 3678, 3685, 3685, 3685, 3692, 3692, 3692, 3708, 3708, 3708, 3718, 3718, 3718, 3728, 3728, 3728, 3738, 3738, 3738, 3742, 3742, 3742, + 3755, 3755, 3755, 3774, 3774, 3774, 3784, 3784, 3784, 3798, 3798, 3798, 3802, 3802, 3802, 3815, 3815, 3815, 3828, 3828, 3828, 3839, 3839, 3839, + 3850, 3850, 3850, 3857, 3857, 3857, 3867, 3867, 3867, 3883, 3883, 3883, 3902, 3902, 3902, 3918, 3918, 3918, 3934, 3934, 3934, 3947, 3947, 3947, + 3954, 3954, 3954, 3976, 3976, 3976, 3983, 3983, 3983, 4002, 4002, 4002, 4028, 4028, 4028, 4056, 4056, 4056, 4069, 4069, 4069, 4079, 4079, 4079, + 4092, 4092, 4092, 4105, 4105, 4105, 4115, 4115, 4115, 4131, 4131, 4131, 4147, 4147, 4147, 4163, 4163, 4163, 4179, 4179, 4179, 4195, 4195, 4195, + 4211, 4211, 4211, 4216, 4216, 4216, 4235, 4235, 4235, 4254, 4254, 4254, 4261, 4261, 4261, 4265, 4265, 4265, 4279, 4279, 4279, 4293, 4293, 4293, + 4304, 4304, 4304, 4315, 4315, 4315, 4329, 4329, 4329, 4342, 4342, 4342, 4349, 4349, 4349, 4356, 4356, 4356, 4363, 4363, 4363, 4373, 4373, 4373, + 4386, 4386, 4386, 4393, 4393, 4393, 4403, 4403, 4403, 4407, 4407, 4407, 4417, 4417, 4417, 4424, 4424, 4424, 4431, 4431, 4431, 4438, 4438, 4438, + 4451, 4451, 4451, 4464, 4464, 4464, 4471, 4471, 4471, 4483, 4483, 4483, 4499, 4499, 4499, 4509, 4509, 4509, 4531, 4531, 4531, 1867, 1867, 1867, + 4544, 4544, 4544, 4557, 4557, 4557, 4564, 4564, 4564, 4568, 4568, 4568, 4578, 4578, 4578, 4591, 4591, 4591, 4601, 4601, 4601, 4608, 4608, 4608, + 4613, 4613, 4613, 4620, 4620, 4620, 4633, 4633, 4633, 4646, 4646, 4646, 1064, 1064, 1064, 4659, 4659, 4659, 4675, 4675, 4675, 4682, 4682, 4682, + 4689, 4689, 4689, 4702, 4702, 4702, 4715, 4715, 4715, 4722, 4722, 4722, 4499, 4499, 4499, 4729, 4729, 4729, 4739, 4739, 4739, 4746, 4746, 4746, + 4776, 4776, 4776, 4803, 4803, 4803, 4830, 4830, 4830, 4857, 4857, 4857, 4881, 4881, 4881, 4905, 4905, 4905, 4923, 4923, 4923, 4944, 4944, 4944, + 4970, 4970, 4970, 4996, 4996, 4996, 5022, 5022, 5022, 5048, 5048, 5048, 5074, 5074, 5074, 5095, 5095, 5095, 5121, 5121, 5121, 5147, 5147, 5147, + 5173, 5173, 5173, 5196, 5196, 5196, 5222, 5222, 5222, 5248, 5248, 5248, 5274, 5274, 5274, 5297, 5297, 5297, 5316, 5316, 5316, 1036, 1036, 1036, + 5332, 5332, 5332, 5341, 5341, 5341, 5350, 5350, 5350, 5364, 5364, 5364, 5371, 5371, 5371, 5380, 5380, 5380, 5389, 5389, 5389, 5396, 5396, 5396, + 5405, 5405, 5405, 5414, 5414, 5414, 5428, 5428, 5428, 5442, 5442, 5442, 5457, 5457, 5457, 5468, 5468, 5468, 5479, 5479, 5479, 5529, 5529, 5529, + 5564, 5564, 5564, 5574, 5574, 5574, 5605, 5605, 5605, 5656, 5656, 5656, 5689, 5689, 5689, 5719, 5719, 5719, 5729, 5729, 5729, 5751, 5751, 5751, + 5790, 5790, 5790, 5806, 5806, 5806, 5818, 5818, 5818, 5833, 5833, 5833, 5847, 5847, 5847, 5869, 5869, 5869, 5879, 5879, 5879, 5907, 5907, 5907, + 5923, 5923, 5923, 5933, 5933, 5933, 5968, 5968, 5968, 6008, 6008, 6008, 6042, 6042, 6042, 6089, 6089, 6089, 6114, 6114, 6114, 6139, 6139, 6139, + 6146, 6146, 6146, 6160, 6160, 6160, 6173, 6173, 6173, 6183, 6183, 6183, 6216, 6216, 6216, 6244, 6244, 6244, 6254, 6254, 6254, 6261, 6261, 6261, + 6271, 6271, 6271, 6281, 6281, 6281, 6291, 6291, 6291, 6304, 6304, 6304, 6314, 6314, 6314, 6321, 6321, 6321, 6337, 6337, 6337, 6359, 6359, 6359, + 6369, 6369, 6369, 6385, 6385, 6385, 6404, 6404, 6404, 6411, 6411, 6411, 6421, 6421, 6421, 6438, 6438, 6438, 6452, 6452, 6452, 6468, 6468, 6468, + 6481, 6481, 6481, 6506, 6506, 6506, 6514, 6514, 6514, 6521, 6521, 6521, 6561, 6561, 6561, 6583, 6583, 6583, 6596, 6596, 6596, 6611, 6611, 6611, + 6624, 6624, 6624, 6637, 6637, 6637, 6650, 6650, 6650, 6675, 6675, 6675, 6736, 6736, 6736, 6781, 6781, 6781, 6821, 6821, 6821, 6865, 6865, 6865, + 6925, 6925, 6925, 6973, 6973, 6973, 7023, 7023, 7023, 7057, 7057, 7057, 7064, 7064, 7064, 7068, 7068, 7068, 4403, 4403, 4403, 7073, 7073, 7073, + 7077, 7077, 7077, 7083, 7083, 7083, 7090, 7090, 7090, 7098, 7098, 7098, 7123, 7123, 7123, 4591, 4591, 4591, 7135, 7135, 7135, 7149, 7149, 7149, + 7175, 7175, 7175, 7185, 7185, 7185, 7207, 7207, 7207, 7218, 7218, 7218, 7228, 7228, 7228, 7238, 7238, 7238, 7249, 7249, 7249, 170, 170, 170, + 7264, 7264, 7264, 7271, 7271, 7271, 7287, 7287, 7287, 7300, 7300, 7300, 7307, 7307, 7307, 7317, 7317, 7317, 7333, 7333, 7333, 7346, 7346, 7346, + 7356, 7356, 7356, 7363, 7363, 7363, 7376, 7376, 7376, 7383, 7383, 7383, 7390, 7390, 7390, 7404, 7404, 7404, 7420, 7420, 7420, 3252, 3252, 3252, + 7427, 7427, 7427, 1022, 1022, 1022, 7437, 7437, 7437, 7444, 7444, 7444, 7472, 7472, 7472, 7487, 7487, 7487, 7506, 7506, 7506, 537, 537, 537, + 7523, 7523, 7523, 7534, 7534, 7534, 7544, 7544, 7544, 7551, 7551, 7551, 7555, 7555, 7555, 7560, 7560, 7560, 7570, 7570, 7570, 7577, 7577, 7577, + 1036, 1036, 1036, 7584, 7584, 7584, 7615, 7615, 7615, 7622, 7622, 7622, 1036, 1036, 1036, 7642, 7642, 7642, 7658, 7658, 7658, 7665, 7665, 7665, + 7672, 7672, 7672, 7685, 7685, 7685, 7698, 7698, 7698, 7708, 7708, 7708, 7727, 7727, 7727, 7740, 7740, 7740, 7753, 7753, 7753, 7766, 7766, 7766, + 7779, 7779, 7779, 7786, 7786, 7786, 7796, 7796, 7796, 7809, 7809, 7809, 7822, 7822, 7822, 7850, 7850, 7850, 7877, 7877, 7877, 7895, 7895, 7895, + 7895, 7895, 7895, 7908, 7908, 7908, 7915, 7915, 7915, 7939, 7939, 7939, 7946, 7946, 7946, 7986, 7986, 7986, 8018, 8018, 8018, 8058, 8058, 8058, + 8091, 8091, 8091, 8119, 8119, 8119, 8148, 8148, 8148, 8173, 8173, 8173, 8180, 8180, 8180, 8187, 8187, 8187, 8207, 8207, 8207, 8229, 8229, 8229, + 8248, 8248, 8248, 8261, 8261, 8261, 4403, 4403, 4403, 8277, 8277, 8277, 8297, 8297, 8297, 8316, 8316, 8316, 8325, 8325, 8325, 8351, 8351, 8351, + 8367, 8367, 8367, 8399, 8399, 8399, 8412, 8412, 8412, 8434, 8434, 8434, 8458, 8458, 8458, 8481, 8481, 8481, 8488, 8488, 8488, 8501, 8501, 8501, + 8514, 8514, 8514, 8533, 8533, 8533, 8546, 8546, 8546, 8565, 8565, 8565, 8575, 8575, 8575, 8586, 8586, 8586, 8613, 8613, 8613, 8673, 8673, 8673, + 8711, 8711, 8711, 8743, 8743, 8743, 8750, 8750, 8750, 3654, 3654, 3654, 8766, 8766, 8766, 8780, 8780, 8780, 8814, 8814, 8814, 8832, 8832, 8832, + 8845, 8845, 8845, 8858, 8858, 8858, 1050, 1050, 1050, 8866, 8866, 8866, 8879, 8879, 8879, 8889, 8889, 8889, 8902, 8902, 8902, 8915, 8915, 8915, + 8902, 8902, 8902, 8952, 8952, 8952, 8998, 8998, 8998, 9035, 9035, 9035, 9071, 9071, 9071, 9111, 9111, 9111, 9149, 9149, 9149, 9189, 9189, 9189, + 9196, 9196, 9196, 9209, 9209, 9209, 9220, 9220, 9220, 9233, 9233, 9233, 9270, 9270, 9270, 9305, 9305, 9305, 9331, 9331, 9331, 9363, 9363, 9363, + 9382, 9382, 9382, 9389, 9389, 9389, 9396, 9396, 9396, 2194, 2194, 2194, 9382, 9382, 9382, 9409, 9409, 9409, 9422, 9422, 9422, 9429, 9429, 9429, + 9445, 9445, 9445, 9473, 9473, 9473, 9497, 9497, 9497, 9519, 9519, 9519, 9541, 9541, 9541, 9566, 9566, 9566, 9622, 9622, 9622, 9653, 9653, 9653, + 9687, 9687, 9687, 9739, 9739, 9739, 9779, 9779, 9779, 9793, 9793, 9793, 9830, 9830, 9830, 9841, 9841, 9841, 9855, 9855, 9855, 9862, 9862, 9862, + 9875, 9875, 9875, 9882, 9882, 9882, 9901, 9901, 9901, 6514, 6514, 6514, 9908, 9908, 9908, 9919, 9919, 9919, 9933, 9933, 9933, 9944, 9944, 9944, + 9951, 9951, 9951, 9958, 9958, 9958, 9970, 9970, 9970, 187, 187, 187, 9981, 9981, 9981, 5364, 5364, 5364, 9988, 9988, 9988, 9998, 9998, 9998, + 10020, 10020, 10020, 10052, 10052, 10052, 10059, 10059, 10059, 10063, 10063, 10063, 10067, 10067, 10067, 10095, 10095, 10095, 10132, 10132, 10132, 10142, 10142, 10142, + 10156, 10156, 10156, 10163, 10163, 10163, 10170, 10170, 10170, 10177, 10177, 10177, 10184, 10184, 10184, 10197, 10197, 10197, 3850, 3850, 3850, 10207, 10207, 10207, + 10220, 10220, 10220, 10227, 10227, 10227, 10234, 10234, 10234, 10247, 10247, 10247, 10247, 10247, 10247, 10254, 10254, 10254, 10288, 10288, 10288, 10334, 10334, 10334, + 10374, 10374, 10374, 10382, 10382, 10382, 10390, 10390, 10390, 10407, 10407, 10407, 10423, 10423, 10423, 10442, 10442, 10442, 10459, 10459, 10459, 10472, 10472, 10472, + 10485, 10485, 10485, 10503, 10503, 10503, 10527, 10527, 10527, 10537, 10537, 10537, 10177, 10177, 10177, 10551, 10551, 10551, 10585, 10585, 10585, 10600, 10600, 10600, + 7939, 7939, 7939, 10613, 10613, 10613, 10631, 10631, 10631, 10641, 10641, 10641, 10656, 10656, 10656, 10687, 10687, 10687, 10728, 10728, 10728, 1043, 1043, 1043, + 10762, 10762, 10762, 10775, 10775, 10775, 10788, 10788, 10788, 10825, 10825, 10825, 10851, 10851, 10851, 10868, 10868, 10868, 10882, 10882, 10882, 10897, 10897, 10897, + 10910, 10910, 10910, 10926, 10926, 10926, 10945, 10945, 10945, 10952, 10952, 10952, 10962, 10962, 10962, 11004, 11004, 11004, 11038, 11038, 11038, 11072, 11072, 11072, + 11104, 11104, 11104, 11119, 11119, 11119, 11132, 11132, 11132, 11169, 11169, 11169, 11197, 11197, 11197, 11216, 11216, 11216, 11232, 11232, 11232, 11260, 11260, 11260, + 11282, 11282, 11282, 7534, 7534, 7534, 1036, 1036, 1036, 11302, 11302, 11302, 11312, 11312, 11312, 11322, 11322, 11322, 11332, 11332, 11332, 11345, 11345, 11345, + 11355, 11355, 11355, 11362, 11362, 11362, 11387, 11387, 11387, 11397, 11397, 11397, 11431, 11431, 11431, 1043, 1043, 1043, 1043, 1043, 1043, 11453, 11453, 11453, + 11466, 11466, 11466, 11473, 11473, 11473, 11483, 11483, 11483, 11502, 11502, 11502, 11515, 11515, 11515, 11528, 11528, 11528, 3140, 3140, 3140, 11539, 11539, 11539, + 6514, 6514, 6514, 11552, 11552, 11552, 1043, 1043, 1043, 11565, 11565, 11565, 11575, 11575, 11575, 11582, 11582, 11582, 11592, 11592, 11592, 7437, 7437, 7437, + 11603, 11603, 11603, 11616, 11616, 11616, 11626, 11626, 11626, 11649, 11649, 11649, 11664, 11664, 11664, 11677, 11677, 11677, 11691, 11691, 11691, 11704, 11704, 11704, + 11711, 11711, 11711, 11718, 11718, 11718, 11731, 11731, 11731, 11747, 11747, 11747, 11754, 11754, 11754, 11761, 11761, 11761, 11796, 11796, 11796, 11825, 11825, 11825, + 11860, 11860, 11860, 11883, 11883, 11883, 11890, 11890, 11890, 11901, 11901, 11901, 11943, 11943, 11943, 11970, 11970, 11970, 11977, 11977, 11977, 12005, 12005, 12005, + 12045, 12045, 12045, 12072, 12072, 12072, 12094, 12094, 12094, 12128, 12128, 12128, 12159, 12159, 12159, 12178, 12178, 12178, 12212, 12212, 12212, 12228, 12228, 12228, + 12247, 12247, 12247, 12275, 12275, 12275, 12303, 12303, 12303, 12343, 12343, 12343, 12386, 12386, 12386, 12426, 12426, 12426, 12469, 12469, 12469, 12479, 12479, 12479, + 12508, 12508, 12508, 12533, 12533, 12533, 12576, 12576, 12576, 124, 124, 124, 12616, 12616, 12616, 12651, 12651, 12651, 12700, 12700, 12700, 12740, 12740, 12740, + 12771, 12771, 12771, 12807, 12807, 12807, 12860, 12860, 12860, 12906, 12906, 12906, 12944, 12944, 12944, 12981, 12981, 12981, 13042, 13042, 13042, 13074, 13074, 13074, + 13121, 13121, 13121, 13167, 13167, 13167, 13204, 13204, 13204, 13250, 13250, 13250, 13296, 13296, 13296, 13328, 13328, 13328, 13366, 13366, 13366, 13403, 13403, 13403, + 13431, 13431, 13431, 13477, 13477, 13477, 13513, 13513, 13513, 2419, 2419, 2419, 13538, 13538, 13538, 13551, 13551, 13551, 13573, 13573, 13573, 13607, 13607, 13607, + 13632, 13632, 13632, 13663, 13663, 13663, 13691, 13691, 13691, 13710, 13710, 13710, 13740, 13740, 13740, 13766, 13766, 13766, 13791, 13791, 13791, 13816, 13816, 13816, + 13835, 13835, 13835, 13854, 13854, 13854, 13878, 13878, 13878, 13897, 13897, 13897, 13916, 13916, 13916, 13935, 13935, 13935, 13960, 13960, 13960, 13985, 13985, 13985, + 14010, 14010, 14010, 14036, 14036, 14036, 14060, 14060, 14060, 14085, 14085, 14085, 14109, 14109, 14109, 14134, 14134, 14134, 14179, 14179, 14179, 14213, 14213, 14213, + 14237, 14237, 14237, 14271, 14271, 14271, 14295, 14295, 14295, 14335, 14335, 14335, 14359, 14359, 14359, 14378, 14378, 14378, 14403, 14403, 14403, 14425, 14425, 14425, + 14450, 14450, 14450, 14463, 14463, 14463, 14506, 14506, 14506, 14526, 14526, 14526, 14566, 14566, 14566, 14593, 14593, 14593, 14620, 14620, 14620, 14648, 14648, 14648, + 14682, 14682, 14682, 14712, 14712, 14712, 14740, 14740, 14740, 14756, 14756, 14756, 14772, 14772, 14772, 14808, 14808, 14808, 14845, 14845, 14845, 14886, 14886, 14886, + 14902, 14902, 14902, 14927, 14927, 14927, 14980, 14980, 14980, 15002, 15002, 15002, 15020, 15020, 15020, 15048, 15048, 15048, 15067, 15067, 15067, 15083, 15083, 15083, + 15114, 15114, 15114, 15142, 15142, 15142, 15170, 15170, 15170, 15187, 15187, 15187, 15219, 15219, 15219, 15226, 15226, 15226, 15245, 15245, 15245, 15264, 15264, 15264, + 15283, 15283, 15283, 15302, 15302, 15302, 15321, 15321, 15321, 15340, 15340, 15340, 15359, 15359, 15359, 15378, 15378, 15378, 15421, 15421, 15421, 15455, 15455, 15455, + 15497, 15497, 15497, 15522, 15522, 15522, 15550, 15550, 15550, 15569, 15569, 15569, 15594, 15594, 15594, 15627, 15627, 15627, 15652, 15652, 15652, 15674, 15674, 15674, + 15702, 15702, 15702, 15731, 15731, 15731, 15762, 15762, 15762, 15806, 15806, 15806, 15822, 15822, 15822, 15858, 15858, 15858, 15906, 15906, 15906, 15933, 15933, 15933, + 15940, 15940, 15940, 15971, 15971, 15971, 15990, 15990, 15990, 16012, 16012, 16012, 16071, 16071, 16071, 16099, 16099, 16099, 16142, 16142, 16142, 16170, 16170, 16170, + 672, 672, 672, 16198, 16198, 16198, 16217, 16217, 16217, 16242, 16242, 16242, 16267, 16267, 16267, 16303, 16303, 16303, 16337, 16337, 16337, 16359, 16359, 16359, + 16378, 16378, 16378, 16406, 16406, 16406, 16428, 16428, 16428, 16435, 16435, 16435, 16463, 16463, 16463, 16473, 16473, 16473, 16504, 16504, 16504, 16541, 16541, 16541, + 16581, 16581, 16581, 16630, 16630, 16630, 16652, 16652, 16652, 16686, 16686, 16686, 16751, 16751, 16751, 16791, 16791, 16791, 16840, 16840, 16840, 16883, 16883, 16883, + 16905, 16905, 16905, 16959, 16959, 16959, 16984, 16984, 16984, 17002, 17002, 17002, 17028, 17028, 17028, 17062, 17062, 17062, 17111, 17111, 17111, 17142, 17142, 17142, + 17173, 17173, 17173, 17198, 17198, 17198, 17226, 17226, 17226, 17250, 17250, 17250, 17277, 17277, 17277, 17289, 17289, 17289, 17302, 17302, 17302, 17327, 17327, 17327, + 17346, 17346, 17346, 17378, 17378, 17378, 17385, 17385, 17385, 17416, 17416, 17416, 17438, 17438, 17438, 17460, 17460, 17460, 17497, 17497, 17497, 17513, 17513, 17513, + 17535, 17535, 17535, 17561, 17561, 17561, 17580, 17580, 17580, 17603, 17603, 17603, 17610, 17610, 17610, 17677, 17677, 17677, 17700, 17700, 17700, 17707, 17707, 17707, + 17714, 17714, 17714, 17736, 17736, 17736, 17760, 17760, 17760, 17788, 17788, 17788, 17798, 17798, 17798, 17814, 17814, 17814, 17833, 17833, 17833, 17846, 17846, 17846, + 17865, 17865, 17865, 17893, 17893, 17893, 17924, 17924, 17924, 17940, 17940, 17940, 17980, 17980, 17980, 18027, 18027, 18027, 18066, 18066, 18066, 18086, 18086, 18086, + 18107, 18107, 18107, 18122, 18122, 18122, 18146, 18146, 18146, 18165, 18165, 18165, 18181, 18181, 18181, 18197, 18197, 18197, 18225, 18225, 18225, 18241, 18241, 18241, + 18266, 18266, 18266, 18297, 18297, 18297, 18322, 18322, 18322, 18344, 18344, 18344, 18366, 18366, 18366, 18376, 18376, 18376, 18407, 18407, 18407, 18423, 18423, 18423, + 18433, 18433, 18433, 18452, 18452, 18452, 18462, 18462, 18462, 18499, 18499, 18499, 18533, 18533, 18533, 18581, 18581, 18581, 18618, 18618, 18618, 18652, 18652, 18652, + 18686, 18686, 18686, 18720, 18720, 18720, 18766, 18766, 18766, 18806, 18806, 18806, 18828, 18828, 18828, 18835, 18835, 18835, 18869, 18869, 18869, 18876, 18876, 18876, + 18915, 18915, 18915, 18932, 18932, 18932, 18969, 18969, 18969, 19000, 19000, 19000, 19019, 19019, 19019, 19056, 19056, 19056, 19063, 19063, 19063, 19082, 19082, 19082, + 19129, 19129, 19129, 19169, 19169, 19169, 19200, 19200, 19200, 19242, 19242, 19242, 19270, 19270, 19270, 19309, 19309, 19309, 19341, 19341, 19341, 19390, 19390, 19390, + 19424, 19424, 19424, 19454, 19454, 19454, 19476, 19476, 19476, 19532, 19532, 19532, 19588, 19588, 19588, 19649, 19649, 19649, 19710, 19710, 19710, 19726, 19726, 19726, + 19748, 19748, 19748, 19755, 19755, 19755, 19777, 19777, 19777, 19799, 19799, 19799, 19845, 19845, 19845, 19891, 19891, 19891, 19931, 19931, 19931, 19944, 19944, 19944, + 19960, 19960, 19960, 20000, 20000, 20000, 20028, 20028, 20028, 20059, 20059, 20059, 20087, 20087, 20087, 20109, 20109, 20109, 20131, 20131, 20131, 20144, 20144, 20144, + 20160, 20160, 20160, 20182, 20182, 20182, 20198, 20198, 20198, 20217, 20217, 20217, 20242, 20242, 20242, 20282, 20282, 20282, 20313, 20313, 20313, 20332, 20332, 20332, + 20364, 20364, 20364, 20364, 20364, 20364, 20386, 20386, 20386, 20405, 20405, 20405, 20421, 20421, 20421, 20449, 20449, 20449, 20471, 20471, 20471, 20511, 20511, 20511, + 20530, 20530, 20530, 20555, 20555, 20555, 20580, 20580, 20580, 20614, 20614, 20614, 20633, 20633, 20633, 20673, 20673, 20673, 20704, 20704, 20704, 20729, 20729, 20729, + 20736, 20736, 20736, 20759, 20759, 20759, 20799, 20799, 20799, 2234, 2234, 2234, 20839, 20839, 20839, 20864, 20864, 20864, 20889, 20889, 20889, 20924, 20924, 20924, + 20964, 20964, 20964, 5316, 5316, 5316, 20998, 20998, 20998, 21038, 21038, 21038, 21069, 21069, 21069, 21098, 21098, 21098, 21115, 21115, 21115, 21122, 21122, 21122, + 21129, 21129, 21129, 21154, 21154, 21154, 21170, 21170, 21170, 21213, 21213, 21213, 21255, 21255, 21255, 21283, 21283, 21283, 21341, 21341, 21341, 21387, 21387, 21387, + 21433, 21433, 21433, 21461, 21461, 21461, 21489, 21489, 21489, 21505, 21505, 21505, 21547, 21547, 21547, 21579, 21579, 21579, 21609, 21609, 21609, 21616, 21616, 21616, + 21645, 21645, 21645, 21674, 21674, 21674, 21699, 21699, 21699, 21724, 21724, 21724, 21746, 21746, 21746, 21782, 21782, 21782, 21811, 21811, 21811, 21834, 21834, 21834, + 21857, 21857, 21857, 21880, 21880, 21880, 21912, 21912, 21912, 21932, 21932, 21932, 21951, 21951, 21951, 21986, 21986, 21986, 22008, 22008, 22008, 22030, 22030, 22030, + 4682, 4682, 4682, 22044, 22044, 22044, 22075, 22075, 22075, 1064, 1064, 1064, 22094, 22094, 22094, 22110, 22110, 22110, 22123, 22123, 22123, 22136, 22136, 22136, + 22149, 22149, 22149, 22190, 22190, 22190, 22228, 22228, 22228, 22259, 22259, 22259, 22302, 22302, 22302, 4715, 4715, 4715, 22333, 22333, 22333, 22366, 22366, 22366, + 22409, 22409, 22409, 22434, 22434, 22434, 22445, 22445, 22445, 22461, 22461, 22461, 22461, 22461, 22461, 22471, 22471, 22471, 4403, 4403, 4403, 22481, 22481, 22481, + 22491, 22491, 22491, 22501, 22501, 22501, 22505, 22505, 22505, 5564, 5564, 5564, 1560, 1560, 1560, 22509, 22509, 22509, 22537, 22537, 22537, 22547, 22547, 22547, + 22501, 22501, 22501, 22505, 22505, 22505, 22554, 22554, 22554, 22561, 22561, 22561, 22568, 22568, 22568, 180, 180, 180, 22575, 22575, 22575, 523, 523, 523, + 22589, 22589, 22589, 22602, 22602, 22602, 3678, 3678, 3678, 22609, 22609, 22609, 22625, 22625, 22625, 20729, 20729, 20729, 22644, 22644, 22644, 22651, 22651, 22651, + 3396, 3396, 3396, 22658, 22658, 22658, 3445, 3445, 3445, 22665, 22665, 22665, 22678, 22678, 22678, 3108, 3108, 3108, 22691, 22711, 22711, 22725, 22725, 22725, + 22740, 22740, 22740, 22760, 22760, 22760, 22819, 22819, 22819, 22826, 22826, 22826, 22833, 22833, 22833, 22845, 22845, 22845, 22866, 22866, 22866, 22885, 22885, 22885, + 22906, 22906, 22906, 22920, 22920, 22920, 548, 548, 548, 10177, 10177, 10177, 22927, 22927, 22927, 22934, 22934, 22934, 22938, 22938, 22938, 22945, 22945, 22945, + 22952, 22965, 22965, 22972, 22985, 22985, 22992, 23005, 23005, 23012, 23012, 23012, 23022, 23022, 23022, 23029, 23029, 23029, 23042, 23042, 23042, 23064, 23064, 23064, + 23077, 23077, 23077, 1560, 1560, 1560, 23099, 23099, 23099, 23109, 23109, 23109, 23116, 23116, 23116, 11312, 11312, 11312, 23123, 23123, 23123, 23130, 23130, 23130, + 23146, 23146, 23146, 23159, 23159, 23159, 23175, 23175, 23175, 23188, 23188, 23188, 23201, 23201, 23201, 23205, 23205, 23205, 23209, 23209, 23209, 23222, 23222, 23222, + 23235, 23235, 23235, 23245, 23245, 23245, 23258, 23258, 23258, 23268, 23268, 23268, 11302, 11302, 11302, 11322, 11322, 11322, 11466, 11466, 11466, 23275, 23275, 23275, + 23282, 23282, 23282, 23295, 23295, 23295, 1057, 1057, 1057, 23311, 23311, 23311, 23324, 23324, 23324, 23337, 23337, 23337, 23350, 23350, 23350, 23357, 23357, 23357, + 23370, 23370, 23370, 23383, 23383, 23383, 21609, 21609, 21609, 9855, 9855, 9855, 23390, 23390, 23390, 23426, 23426, 23426, 23440, 23440, 23440, 23460, 23460, 23460, + 23481, 23481, 23481, 4729, 4729, 4729, 23505, 23505, 23505, 23516, 23516, 23516, 23529, 23529, 23529, 23536, 23536, 23536, 23543, 23543, 23543, 23559, 23559, 23559, + 23582, 23582, 23582, 23608, 23608, 23608, 23634, 23634, 23634, 23663, 23663, 23663, 23670, 23670, 23670, 23674, 23674, 23674, 23699, 23699, 23699, 11691, 11691, 11691, + 1148, 1148, 1148, 23728, 23728, 23728, 23744, 23744, 23744, 23756, 23756, 23756, 23773, 23773, 23773, 23795, 23795, 23795, 10207, 10207, 10207, 23808, 23808, 23808, + 23822, 23822, 23822, 22554, 22554, 22554, 23838, 23838, 23838, 23854, 23854, 23854, 22561, 22561, 22561, 23867, 23867, 23867, 23876, 23876, 23876, 23889, 23889, 23889, + 23902, 23902, 23902, 23909, 23909, 23909, 23922, 23922, 23922, 23935, 23935, 23935, 3245, 3245, 3245, 23942, 23942, 23942, 23955, 23955, 23955, 23968, 23968, 23968, + 23981, 23981, 23981, 23994, 23994, 23994, 22568, 22568, 22568, 180, 180, 180, 24007, 24007, 24007, 24032, 24032, 24032, 24045, 24045, 24045, 24055, 24055, 24055, + 24065, 24065, 24065, 22575, 22575, 22575, 523, 523, 523, 24078, 24078, 24078, 24091, 24091, 24091, 8750, 8750, 8750, 24110, 24110, 24110, 24132, 24132, 24132, + 24145, 24145, 24145, 24155, 24155, 24155, 24172, 24172, 24172, 22589, 22589, 22589, 24194, 24194, 24194, 24207, 24207, 24207, 24225, 24225, 24225, 24241, 24241, 24241, + 24260, 24260, 24260, 24276, 24276, 24276, 24283, 24283, 24283, 20729, 20729, 20729, 22602, 22602, 22602, 3678, 3678, 3678, 24296, 24296, 24296, 22920, 22920, 22920, + 24309, 24309, 24309, 24316, 24316, 24316, 24329, 24329, 24329, 24342, 24342, 24342, 24364, 24364, 24364, 24380, 24380, 24380, 24393, 24393, 24393, 24417, 24417, 24417, + 24441, 24441, 24441, 24465, 24465, 24465, 24478, 24478, 24478, 24491, 24491, 24491, 9862, 9862, 9862, 24510, 24510, 24510, 24517, 24517, 24517, 24530, 24530, 24530, + 22609, 22609, 22609, 22625, 22625, 22625, 23663, 23663, 23663, 24546, 24546, 24546, 24559, 24559, 24559, 22644, 22644, 22644, 24572, 24572, 24572, 22651, 22651, 22651, + 24587, 24587, 24587, 24603, 24603, 24603, 24616, 24616, 24616, 24630, 24630, 24630, 24641, 24641, 24641, 24660, 24660, 24660, 24679, 24679, 24679, 24698, 24698, 24698, + 24704, 24704, 24704, 1064, 1064, 1064, 22136, 22136, 22136, 24717, 24717, 24717, 24727, 24727, 24727, 24740, 24740, 24740, 24756, 24756, 24756, 24766, 24766, 24766, + 24773, 24773, 24773, 24780, 24780, 24780, 24790, 24790, 24790, 1, 1, 1, 24804, 24804, 24804, 1043, 1043, 1043, 24817, 24817, 24817, 24546, 24546, 24546, + 24854, 24854, 24854, 3976, 3976, 3976, 24867, 24867, 24867, 24874, 24874, 24874, 24881, 24881, 24881, 24894, 24894, 24894, 24904, 24904, 24904, 24917, 24917, 24917, + 24930, 24930, 24930, 24943, 24943, 24943, 24956, 24956, 24956, 24975, 24975, 24975, 24989, 24989, 24989, 25002, 25002, 25002, 25018, 25018, 25018, 25034, 25034, 25034, + 25051, 25051, 25051, 25072, 25072, 25072, 25076, 25076, 25076, 25080, 25080, 25080, 25087, 25087, 25087, 25103, 25103, 25103, 25127, 25127, 25127, 25140, 25140, 25140, + 25152, 25152, 25152, 25165, 25165, 25165, 25191, 25191, 25191, 25207, 25207, 25207, 25227, 25227, 25227, 22461, 22461, 22461, 25250, 25250, 25250, 11565, 11565, 11565, + 25269, 25269, 25269, 25276, 25276, 25276, 11626, 11626, 11626, 11649, 11649, 11649, 25303, 25303, 25303, 25332, 25332, 25332, 25339, 25339, 25339, 25355, 25355, 25355, + 25371, 25371, 25371, 25378, 25378, 25378, 8, 8, 8, 25391, 25391, 25391, 25398, 25398, 25398, 25405, 25405, 25405, 25415, 25415, 25415, 25425, 25425, 25425, + 25432, 25432, 25432, 25442, 25442, 25442, 25449, 25449, 25449, 25456, 25456, 25456, 25460, 25460, 25460, 23109, 23109, 23109, 25473, 25473, 25473, 25480, 25480, 25480, + 25487, 25487, 25487, 25491, 25491, 25491, 25501, 25501, 25501, 25508, 25508, 25508, 25524, 25524, 25524, 25531, 25531, 25531, 25541, 25541, 25541, 25548, 25548, 25548, + 25555, 25555, 25555, 25562, 25562, 25562, 5389, 5389, 5389, 3157, 3157, 3157, 25569, 25569, 25569, 25589, 25589, 25589, 25596, 25596, 25596, 25603, 25603, 25603, + 25610, 25610, 25610, 25618, 25618, 25618, 25628, 25628, 25628, 7073, 7073, 7073, 7064, 7064, 7064, 25638, 25638, 25638, 25642, 25642, 25642, 25647, 25647, 25647, + 25657, 25657, 25657, 22927, 22927, 22927, 25664, 25664, 25664, 25698, 25698, 25709, 25713, 25713, 25713, 25737, 25737, 25737, 25761, 25761, 25761, 25781, 25781, 25781, + 25801, 25801, 25801, 23235, 23235, 23235, 25808, 25808, 25808, 1064, 1064, 1064, 25818, 25818, 25818, 25892, 25892, 25892, 25963, 25963, 25963, 26000, 26000, 26000, + 26071, 26071, 26071, 26131, 26131, 26131, 26168, 26168, 26168, 1064, 1064, 1064, 26202, 26202, 26202, 26229, 26229, 26229, 26271, 26271, 26271, 26297, 26297, 26297, + 1064, 1064, 1064, 26326, 26326, 26326, 26359, 26359, 26359, 26369, 26369, 26369, 26400, 26400, 26400, 26440, 26440, 26440, 26450, 26450, 26450, 26501, 26501, 26501, + 26511, 26511, 26511, 26522, 26522, 26522, 26532, 26532, 26532, 26542, 26542, 26542, 11970, 11970, 11970, 26549, 26549, 26549, 26563, 26563, 26563, 26577, 26577, 26577, }; -// Russian: 54599 bytes of text. +// Russian: 55257 bytes of text. constexpr char Text_ru[] = "\000\320\241\320\221\320\236\320\240 \320\224\320\220\320\235\320\235\320\253\320\245\000" "{0} \320\265\320\264. \320\220\320\246\320\237\000" @@ -1965,7 +1984,10 @@ constexpr char Text_ru[] = "\320\234\320\260\321\201\321\210\321\202\320\260\320\261 {0}\000" "CH1 \342\200\224 \320\277\320\276\321\201\320\273\320\265\320\264\320\275\320\270\320\271 \320\262\320\272\320\273\321\216\321\207\321\221\320\275\320\275\321\213\320\271 \320\272\320\260\320\275\320\260\320\273\000" "CH2 \342\200\224 \320\277\320\276\321\201\320\273\320\265\320\264\320\275\320\270\320\271 \320\262\320\272\320\273\321\216\321\207\321\221\320\275\320\275\321\213\320\271 \320\272\320\260\320\275\320\260\320\273\000" - "\320\232\320\260\320\275\320\260\320\273\000CH{0} \320\262\321\213\320\272\320\273\000" + "\320\232\320\260\320\275\320\260\320\273\000" + "\320\244\321\203\320\275\320\272\321\206\320\270\321\217\000" + "CH{0} \320\262\321\213\320\272\320\273\000" + "\320\222\321\213\320\272\320\273, \321\201\320\272\321\200\321\213\321\202\000" "\320\222\321\213\320\272\320\273, CH{0} {1} \321\202\320\276\321\207.\000" "\320\222\320\272\320\273, {0} \321\202\320\276\321\207.\000" "CH{0} \320\277\320\276\320\272\320\260\320\267\320\260\320\275\320\270\320\265 {1}\000" @@ -2232,6 +2254,7 @@ constexpr char Text_ru[] = "\320\272\320\273\320\260\320\262\320\270\321\210\320\270\000" "\320\277\321\200\320\265\320\264\320\265\320\273\320\260\000" "\320\234\321\203\320\273\321\214\321\202\320\270\320\274\320\265\321\202\321\200 \320\275\320\265 \320\277\320\276\320\264\321\202\320\262\320\265\321\200\320\264\320\270\320\273 \320\272\320\276\320\274\320\260\320\275\320\264\321\203 {0}\000" + "DMM \320\277\320\276\320\272\320\260\320\267\320\260\320\275\320\270\320\265 {0}\000" "\320\227\320\260\320\262\320\276\320\264\321\201\320\272\320\276\320\271: \320\246\320\220\320\237 <1kHz\000" "{0}, \321\201\320\265\320\271\321\207\320\260\321\201 {1}\000" "\320\222\321\201\320\265\320\263\320\264\320\260 \320\250\320\230\320\234\000" @@ -2452,6 +2475,7 @@ constexpr char Text_ru[] = "\320\237\320\265\321\200\320\270\320\276\320\264\000" "\320\230\320\274\320\277\321\203\320\273\321\214\321\201\321\213 (\321\204\321\200\320\276\320\275\321\202\321\213)\000" "\320\241\320\232\320\227\000" + "\320\241\320\232\320\227 (\320\272\321\200\320\276\320\274\320\265 \320\277\320\265\321\200\320\265\320\274.)\000" "\320\222\320\265\321\200\321\205 (\321\203\321\201\321\202\320\276\320\271\321\207\320\270\320\262\321\213\320\271)\000" "\320\230\320\227\320\234\320\225\320\240\320\225\320\235\320\230\320\225\000" "\320\230\320\227\320\234\320\225\320\240\320\225\320\235\320\230\320\257\000" @@ -2624,8 +2648,11 @@ constexpr char Text_ru[] = "\320\236\320\242\320\232\320\233\320\256\320\247\320\230\320\242\320\254 \320\222\320\245\320\236\320\224\320\253?\000" "\320\237\320\265\321\200\320\265\320\264 \320\262\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265\320\274 \320\276\321\202\320\272\320\273\321\216\321\207\320\270\321\202\320\265 \320\276\321\202\320\273\320\260\320\264\321\207\320\270\320\272 SWD\000" "\320\236\321\202\320\272\320\273\321\216\321\207\320\270\321\202\320\265 \321\211\321\203\320\277 \320\276\321\202 \321\201\320\270\320\263\320\275\320\260\320\273\320\260\000" + "\320\242\320\276\320\273\321\214\320\272\320\276 DMM: \320\267\320\260\320\277\321\203\321\201\320\272 Auto\000" "\320\235\320\265 \321\203\320\264\320\260\320\273\320\276\321\201\321\214 \320\262\321\213\320\261\321\200\320\260\321\202\321\214 \321\204\321\203\320\275\320\272\321\206\320\270\321\216 \320\274\321\203\320\273\321\214\321\202\320\270\320\274\320\265\321\202\321\200\320\260\000" + "\320\237\320\276\320\272\320\260\320\267\320\260\320\275\320\270\321\217 DMM \320\261\320\276\320\273\321\214\321\210\320\265 \320\275\320\260\320\270\320\261\320\276\320\273\321\214\321\210\320\265\320\263\320\276 \320\274\320\260\321\201\321\210\321\202\320\260\320\261\320\260\000" "\320\234\321\203\320\273\321\214\321\202\320\270\320\274\320\265\321\202\321\200 \320\275\320\265 \320\276\321\202\320\262\320\265\321\207\320\260\320\273: \320\277\320\265\321\200\320\265\320\267\320\260\320\277\321\203\321\211\320\265\320\275\000" + "\320\235\320\276\320\273\321\214 DMM \320\275\320\265 \320\276\321\201\321\202\320\260\320\262\320\273\321\217\320\265\321\202 \320\274\320\265\321\201\321\202\320\260: \321\201\320\264\320\262\320\270\320\275\321\214\321\202\320\265 \320\265\320\263\320\276\000" "\320\236\321\202\321\200\320\270\321\201\320\276\320\262\320\272\320\260...\000" "\320\222\320\272\320\273\321\216\321\207\320\270\321\202\320\265 RUN \320\270 \320\267\320\260\320\262\320\265\321\200\321\210\320\270\321\202\320\265 \320\264\321\200\321\203\320\263\320\270\320\265 \320\276\320\277\320\265\321\200\320\260\321\206\320\270\320\270\000" "\320\222\320\272\320\273\321\216\321\207\320\270\321\202\320\265 RUN \320\270 \320\276\321\201\321\202\320\260\320\275\320\276\320\262\320\270\321\202\320\265 \320\263\320\265\320\275\320\265\321\200\320\260\321\202\320\276\321\200 \320\270 \320\264\321\200\321\203\320\263\320\270\320\265 \320\276\320\277\320\265\321\200\320\260\321\206\320\270\320\270\000" @@ -2691,6 +2718,7 @@ constexpr char Text_ru[] = "PNG \320\275\320\265\320\262\320\265\321\200\320\265\320\275 \320\270\320\273\320\270 \320\277\320\276\320\262\321\200\320\265\320\266\320\264\321\221\320\275\000" "\320\237\320\265\321\200\320\265\321\205\320\276\320\264\000" "\320\250\321\200\320\270\321\204\321\202\321\213 \321\217\320\267\321\213\320\272\320\260 \320\275\320\265 \320\275\320\260\320\271\320\264\320\265\320\275\321\213; \321\203\321\201\321\202\320\260\320\275\320\276\320\262\320\270\321\202\320\265 \320\277\321\200\320\276\321\210\320\270\320\262\320\272\321\203 .OSC \320\262 Recovery\000" + "\320\235\320\260\320\270\320\261\320\276\320\273\321\214\321\210\320\270\320\271 \320\274\320\260\321\201\321\210\321\202\320\260\320\261 DMM\000" "\320\241\320\277\320\270\321\201\320\276\320\272\000" "\320\227\320\260\320\263\321\200\321\203\320\267\320\270\321\202\321\214\000" "\320\227\320\260\320\263\321\200\321\203\320\267\320\272\320\260 \320\270\320\267\320\276\320\261\321\200\320\260\320\266\320\265\320\275\320\270\321\217...\000" @@ -2710,6 +2738,7 @@ constexpr char Text_ru[] = "\320\243 \321\215\321\202\320\276\320\263\320\276 \320\263\320\265\320\275\320\265\321\200\320\260\321\202\320\276\321\200\320\260 \320\275\320\265\321\202 AWG\000" "\320\244\320\276\321\200\320\274\320\260 AWG \320\275\320\265 \320\267\320\260\320\263\321\200\321\203\320\266\320\265\320\275\320\260\000" "\320\235\320\265\321\202 \321\204\320\260\320\271\320\273\320\276\320\262 CSV\000" + "\320\235\320\265\321\202 \320\277\320\276\320\272\320\260\320\267\320\260\320\275\320\270\320\271 DMM \320\275\320\260 \321\215\320\272\321\200\320\260\320\275\320\265\000" "\320\235\320\265\321\202 \321\201\320\265\320\260\320\275\321\201\320\276\320\262 \320\274\321\203\320\273\321\214\321\202\320\270\320\274\320\265\321\202\321\200\320\260\000" "\320\244\320\260\320\271\320\273 \320\275\320\265 \320\276\321\202\320\272\321\200\321\213\321\202\000" "\320\244\320\260\320\271\320\273 \320\275\320\265 \320\262\321\213\320\261\321\200\320\260\320\275\000" @@ -2739,6 +2768,7 @@ constexpr char Text_ru[] = "\320\236\321\202\320\272\321\200\321\213\321\202\321\214\000" "\320\224\321\200\321\203\320\263\320\270\320\265 \321\204\320\260\320\271\320\273\321\213 \320\262 CAPTURES \320\276\321\201\321\202\320\260\321\216\321\202\321\201\321\217\000" "\320\234\320\265\320\273\321\214\321\207\320\265\000" + "\320\234\320\265\320\264\320\273\320\265\320\275\320\275\320\265\320\265 20 s/\320\264\320\265\320\273: \320\277\321\200\320\276\320\272\321\200\321\203\321\202\320\272\320\260, \320\267\320\260\320\277\321\203\321\201\320\272 Auto\000" "\320\236\321\210\320\270\320\261\320\272\320\260 \320\272\320\276\320\264\320\270\321\200\320\276\320\262\320\260\320\275\320\270\321\217 PNG\000" "\320\237\321\200\320\265\320\264\320\267\320\260\320\277\321\203\321\201\320\272: \320\275\320\265 \320\262 \321\200\320\265\320\266\320\270\320\274\320\265 \320\277\321\200\320\276\320\272\321\200\321\203\321\202\320\272\320\270\000" "\320\237\321\200\320\276\321\204\320\270\320\273\321\214 \320\275\320\265 \320\277\321\200\320\276\321\210\321\221\320\273 \320\277\321\200\320\276\320\262\320\265\321\200\320\272\321\203 \321\202\320\276\320\275\320\260\320\274\320\270.\000" @@ -2753,6 +2783,7 @@ constexpr char Text_ru[] = "\320\224\320\273\321\217 \320\276\320\277\320\276\321\200\320\275\320\276\320\263\320\276 \320\275\321\203\320\266\320\265\320\275 \320\267\320\260\320\262\320\265\321\200\321\210\321\221\320\275\320\275\321\213\320\271 \320\272\320\260\320\264\321\200\000" "\320\224\320\273\321\217 \320\276\320\277\320\276\321\200\320\275\320\276\320\263\320\276 \320\275\321\203\320\266\320\265\320\275 \320\262\320\270\320\264\320\270\320\274\321\213\320\271 \320\272\320\260\320\275\320\260\320\273 Y-T\000" "\320\224\320\273\321\217 REL \320\275\321\203\320\266\320\275\320\276 \320\264\320\276\321\201\321\202\320\276\320\262\320\265\321\200\320\275\320\276\320\265 \321\202\320\265\320\272\321\203\321\211\320\265\320\265 \320\277\320\276\320\272\320\260\320\267\320\260\320\275\320\270\320\265\000" + "\320\241\320\275\320\270\320\274\320\270\321\202\320\265 HOLD \320\262 \320\274\321\203\320\273\321\214\321\202\320\270\320\274\320\265\321\202\321\200\320\265, \321\207\321\202\320\276\320\261\321\213 \321\201\320\274\320\265\320\275\320\270\321\202\321\214 \321\204\321\203\320\275\320\272\321\206\320\270\321\216\000" "\320\241\320\275\320\270\320\274\320\270\321\202\320\265 HOLD, \321\207\321\202\320\276\320\261\321\213 \321\201\320\274\320\265\320\275\320\270\321\202\321\214 \321\204\321\203\320\275\320\272\321\206\320\270\321\216\000" "\320\236\321\201\320\262\320\276\320\261\320\276\320\264\320\270\321\202\320\265 \320\276\321\201\321\206\320\270\320\273\320\273\320\276\320\263\321\200\320\260\320\274\320\274\321\203 USB \320\264\320\273\321\217 \320\262\320\276\321\201\321\201\321\202\320\260\320\275\320\276\320\262\320\273\320\265\320\275\320\270\321\217\000" "\320\237\320\276\321\201\320\273\320\265 \321\201\320\276\321\205\321\200\320\260\320\275\320\265\320\275\320\270\321\217 \320\277\320\265\321\200\320\265\320\267\320\260\320\277\321\203\321\201\321\202\320\270\321\202\320\265\000" @@ -2801,6 +2832,7 @@ constexpr char Text_ru[] = "\320\235\320\260\321\201\321\202\321\200\320\276\320\271\320\272\320\270 \320\275\320\265 \321\201\320\276\321\205\321\200\320\260\320\275\320\265\320\275\321\213; \320\262\321\213\320\272\320\273\321\216\321\207\320\265\320\275\320\270\320\265\000" "\320\235\320\260\321\201\321\202\321\200\320\276\320\271\320\272\320\270 \320\262\320\276\321\201\321\201\321\202\320\260\320\275\320\276\320\262\320\273\320\265\320\275\321\213 \320\270\320\267 \321\200\320\265\320\267\320\265\321\200\320\262\320\275\320\276\320\271 \320\272\320\276\320\277\320\270\320\270\000" "\320\235\320\260\321\201\321\202\321\200.\000" + "\320\235\320\260\320\270\320\274\320\265\320\275\321\214\321\210\320\270\320\271 \320\274\320\260\321\201\321\210\321\202\320\260\320\261 DMM\000" "\320\237\321\200\320\276\320\263\321\200\320\260\320\274\320\274\320\275\321\213\320\271 \320\275\320\276\320\273\321\214 \320\262\321\213\320\272\320\273; \320\260\320\277\320\277\320\260\321\200\320\260\321\202\320\275\321\213\320\271 \321\201\320\276\321\205\321\200\320\260\320\275\321\221\320\275\000" "\320\237\320\276\321\201\321\202\320\276\321\217\320\275\320\275\321\213\320\271 \320\262\321\205\320\276\320\264; \321\202\320\276\320\273\321\214\320\272\320\276 \320\264\320\273\321\217 \321\215\321\202\320\276\320\271 \321\207\320\260\321\201\321\202\320\276\321\202\321\213\000" "\320\241\321\202\320\276\320\277 \320\263\320\265\320\275. / \320\272\320\260\320\273\320\270\320\261\321\200\320\276\320\262\320\260\321\202\321\214\000" @@ -2818,6 +2850,7 @@ constexpr char Text_ru[] = "\320\242\320\265\320\274\320\260 \320\267\320\260\320\263\321\200\321\203\320\266\320\265\320\275\320\260; \320\270\320\267\320\274\320\265\320\275\320\265\320\275\320\270\321\217 \320\263\321\200\320\260\321\204\320\270\320\272\320\260 \320\276\321\202\320\261\321\200\320\276\321\210\320\265\320\275\321\213\000" "\320\242\320\265\320\274\320\260 \320\262\320\276\321\201\321\201\321\202\320\260\320\275\320\276\320\262\320\273\320\265\320\275\320\260; \320\275\320\265 \321\203\320\264\320\260\320\273\320\276\321\201\321\214 \320\267\320\260\320\277\320\270\321\201\320\260\321\202\321\214 JSON \321\202\320\265\320\274\321\213\000" "\320\242\320\265\320\274\320\260 \320\262\320\276\321\201\321\201\321\202\320\260\320\275\320\276\320\262\320\273\320\265\320\275\320\260 \320\270\320\267 \320\277\321\200\320\265\320\266\320\275\320\265\320\271 \320\272\320\276\320\277\320\270\320\270\000" + "\320\242\320\265\321\200\320\274\320\276\320\277\320\260\321\200\320\260: \320\267\320\260\320\264\320\260\320\271\321\202\320\265 \321\205\320\276\320\273\320\276\320\264\320\275\321\213\320\271 \321\201\320\277\320\260\320\271 \320\262 MENU \320\274\321\203\320\273\321\214\321\202\320\270\320\274\320\265\321\202\321\200\320\260\000" "\320\242\320\265\321\200\320\274\320\276\320\277\320\260\321\200\320\260: \320\267\320\260\320\264\320\260\320\271\321\202\320\265 \321\205\320\276\320\273\320\276\320\264\320\275\321\213\320\271 \321\201\320\277\320\260\320\271 \320\262 MENU\000" "\320\241\320\273\320\270\321\210\320\272\320\276\320\274 \320\274\320\275\320\276\320\263\320\276 \321\201\321\202\321\200\320\276\320\272: \321\203\320\262\320\265\320\273\320\270\321\207\321\214\321\202\320\265 \320\270\320\275\321\202\320\265\321\200\320\262\320\260\320\273 \320\270\320\273\320\270 \321\201\320\276\320\272\321\200\320\260\321\202\320\270\321\202\320\265 \320\264\320\273\320\270\321\202\320\265\320\273\321\214\320\275\320\276\321\201\321\202\321\214\000" "\320\236\320\272\320\275\320\276 \321\202\321\200\320\265\320\275\320\264\320\260 \321\203\320\266\320\265 \320\274\320\260\320\272\321\201\320\270\320\274\320\260\320\273\321\214\320\275\320\276\320\265\000" @@ -2931,6 +2964,7 @@ constexpr char Text_ru[] = "\320\242\320\265\320\272\321\201\321\202 \320\272\320\260\321\200\321\202\000CH1\000CH2\000" "\320\224\321\203\320\263\320\260 \321\210\320\272\320\260\320\273\321\213\000" "\320\224\320\265\320\273\320\265\320\275\320\270\321\217 \321\210\320\272\320\260\320\273\321\213\000" + "\320\234\321\203\320\273\321\214\321\202\320\270\320\274\320\265\321\202\321\200\000" "\320\227\320\275\320\260\320\272 \321\204\321\203\320\275\320\272\321\206\320\270\320\270\000" "\320\230\320\275\321\204\320\276\321\201\321\202\321\200\320\276\320\272\320\260\000" "\320\234\320\260\321\202\320\265\320\274\320\260\321\202\320\270\320\272\320\260\000" @@ -3163,7 +3197,6 @@ constexpr char Text_ru[] = "\320\222\320\272\320\273 (\321\202\320\276\320\273\321\214\320\272\320\276 {0} MHz)\000" "{0}, \320\262\321\213\320\272\320\273. \320\277\321\200\320\270 {1}\000" "{0}, \320\262\321\213\320\272\320\273. \320\275\320\260 HSI\000\320\236\320\261\320\260\000" - "\320\234\321\203\320\273\321\214\321\202\320\270\320\274\320\265\321\202\321\200\000" "\320\236\321\201\321\206\320\270\320\273\320\273\320\276\320\263\321\200\320\260\321\204\000" "\320\224\320\273\321\217 {0} \320\275\321\203\320\266\320\275\320\276 {1} KiB, \321\201\320\262\320\276\320\261\320\276\320\264\320\275\320\276 {2} KiB\012\320\237\320\276\320\277\321\200\320\276\320\261\321\203\320\271\321\202\320\265 CSV.gz \320\270\320\273\320\270 RAW.gz.\000" "\320\224\320\273\321\217 {0} \320\275\321\203\320\266\320\275\320\276 {1} KiB, \321\201\320\262\320\276\320\261\320\276\320\264\320\275\320\276 {2} KiB\012\320\237\320\276\320\277\321\200\320\276\320\261\321\203\320\271\321\202\320\265 \320\267\320\260\320\277\320\270\321\201\321\214 \320\272\320\276\321\200\320\276\321\207\320\265.\000" @@ -3217,168 +3250,169 @@ constexpr uint16_t Offsets_ru[TextCount * VariantCount] = { 5705, 5705, 5705, 5762, 5762, 5762, 5805, 5805, 5805, 5871, 5871, 5871, 5925, 5925, 5925, 5946, 5946, 5946, 5955, 5955, 5955, 5968, 5968, 5968, 5985, 5985, 5985, 5998, 5998, 5998, 6011, 6011, 6011, 6022, 6022, 6022, 6034, 6034, 6034, 6053, 6053, 6053, 6073, 6073, 6073, 6077, 6077, 6077, 6094, 6094, 6094, 6113, 6113, 6113, 6126, 6126, 6126, 6145, 6145, 6145, 6204, 6204, 6204, 6263, 6263, 6263, 6274, 6274, 6274, 6289, 6289, 6289, - 6317, 6317, 6317, 6337, 6337, 6337, 6366, 6366, 6366, 6383, 6383, 6383, 6400, 6400, 6400, 6411, 6411, 6411, 6443, 6443, 6443, 6452, 6452, 6452, - 6469, 6469, 6469, 6482, 6482, 6482, 6482, 6482, 6482, 6493, 6493, 6493, 6508, 6508, 6508, 6523, 6523, 6523, 6542, 6542, 6542, 6555, 6555, 6555, - 6493, 6493, 6493, 6566, 6566, 6566, 6588, 6588, 6588, 6607, 6607, 6607, 6508, 6508, 6508, 6620, 6620, 6620, 6643, 6643, 6643, 6660, 6660, 6660, - 6681, 6681, 6681, 6692, 6692, 6692, 6705, 6705, 6705, 6716, 6716, 6716, 6742, 6742, 6742, 6772, 6772, 6772, 6788, 6827, 6827, 6843, 6843, 6843, - 6851, 6851, 6851, 6864, 6864, 6864, 6877, 6877, 6877, 6891, 6891, 6891, 6912, 6912, 6912, 6935, 6935, 6935, 6969, 6969, 6969, 7001, 7001, 7001, - 7027, 7027, 7027, 7036, 7036, 7036, 7048, 7048, 7048, 7063, 7063, 7063, 7083, 7083, 7083, 7100, 7100, 7100, 7117, 7117, 7117, 7132, 7132, 7132, - 7149, 7149, 7149, 6113, 6113, 6113, 7178, 7178, 7178, 7191, 7191, 7191, 7210, 7210, 7210, 7214, 7258, 7258, 7285, 7325, 7325, 7348, 7348, 7348, - 7365, 7365, 7365, 7386, 7386, 7386, 7390, 7390, 7390, 7420, 7420, 7420, 7437, 7437, 7437, 7453, 7453, 7453, 7482, 7482, 7482, 7501, 7501, 7501, - 7521, 7521, 7521, 7545, 7545, 7545, 7570, 7570, 7570, 7619, 7619, 7619, 7660, 7660, 7660, 7692, 7692, 7692, 7701, 7701, 7701, 7722, 7722, 7722, - 7743, 7743, 7743, 7764, 7764, 7764, 7802, 7852, 7852, 7884, 7884, 7884, 7912, 7912, 7912, 7933, 7933, 7933, 7973, 7973, 7973, 8005, 8005, 8005, - 8020, 8020, 8020, 8051, 8051, 8051, 8082, 8082, 8082, 8109, 8109, 8109, 8140, 8140, 8140, 8171, 8171, 8171, 8198, 8198, 8198, 8203, 8203, 8203, - 8236, 8236, 8236, 8269, 8269, 8269, 8288, 8288, 8288, 8292, 8329, 8329, 8361, 8398, 8398, 8412, 8412, 8412, 8427, 8427, 8427, 8448, 8448, 8448, - 8461, 8461, 8461, 8491, 8491, 8491, 8502, 8502, 8502, 8519, 8519, 8519, 8530, 8530, 8530, 8537, 8537, 8537, 8563, 8563, 8563, 8576, 8576, 8576, - 8593, 8593, 8593, 8600, 8600, 8600, 8618, 8618, 8618, 8633, 8633, 8633, 8654, 8654, 8654, 8679, 8679, 8679, 8702, 8702, 8702, 8730, 8730, 8730, - 8747, 8747, 8747, 8763, 8763, 8763, 8800, 8800, 8800, 8822, 8822, 8822, 8858, 8905, 8905, 8944, 8944, 8944, 8959, 8959, 8959, 8989, 8989, 8989, - 9016, 9016, 9016, 9027, 9027, 9027, 9043, 9043, 9043, 9075, 9075, 9075, 9090, 9090, 9090, 9103, 9103, 9103, 9108, 9108, 9108, 9121, 9121, 9121, - 9153, 9153, 9153, 9183, 9183, 9183, 9203, 9203, 9203, 9210, 9210, 9210, 9236, 9236, 9236, 9251, 9251, 9251, 9258, 9258, 9258, 9275, 9275, 9275, - 9311, 9311, 9311, 9326, 9326, 9326, 9340, 9340, 9340, 9362, 9404, 9404, 9431, 9431, 9431, 9442, 9442, 9442, 9506, 9506, 9506, 9567, 9567, 9567, - 9624, 9624, 9624, 9675, 9675, 9675, 9729, 9729, 9729, 9777, 9777, 9777, 9809, 9809, 9809, 9845, 9845, 9845, 9893, 9893, 9893, 9949, 9949, 9949, - 10011, 10011, 10011, 10059, 10059, 10059, 10109, 10109, 10109, 10133, 10133, 10133, 10169, 10169, 10169, 10213, 10213, 10213, 10253, 10253, 10253, 10306, 10306, 10306, - 10334, 10334, 10334, 10384, 10384, 10384, 10420, 10420, 10420, 10467, 10467, 10467, 10524, 10524, 10524, 1876, 1876, 1876, 10566, 10566, 10566, 10583, 10583, 10583, - 10600, 10600, 10600, 10630, 10630, 10630, 10645, 10645, 10645, 10662, 10662, 10662, 10679, 10679, 10679, 10690, 10690, 10690, 10703, 10703, 10703, 10716, 10716, 10716, - 10742, 10742, 10742, 10755, 10755, 10755, 10778, 10778, 10778, 10794, 10794, 10794, 10808, 10808, 10808, 10869, 10869, 10869, 10948, 10948, 10948, 10965, 10965, 10965, - 11039, 11039, 11039, 11114, 11114, 11114, 11171, 11171, 11171, 11229, 11229, 11229, 11256, 11256, 11256, 11299, 11299, 11299, 11364, 11364, 11364, 11383, 11383, 11383, - 11403, 11403, 11403, 11427, 11427, 11427, 11450, 11450, 11450, 11497, 11497, 11497, 11525, 11525, 11525, 11589, 11589, 11589, 11632, 11632, 11632, 11644, 11644, 11644, - 11725, 11725, 11725, 11790, 11790, 11790, 11873, 11873, 11873, 11933, 11933, 11933, 11989, 11989, 11989, 12047, 12047, 12047, 12070, 12070, 12070, 7390, 7390, 7390, - 12094, 12094, 12094, 12116, 12116, 12116, 12147, 12147, 12147, 12179, 12179, 12179, 12196, 12196, 12196, 12179, 12179, 12179, 12222, 12222, 12222, 12256, 12256, 12256, - 12281, 12281, 12281, 12299, 12299, 12299, 12321, 12321, 12321, 12334, 12334, 12334, 12372, 12372, 12372, 12394, 12394, 12394, 12417, 12417, 12417, 12450, 12450, 12450, - 12479, 12479, 12479, 12500, 12500, 12500, 12524, 12524, 12524, 12541, 12541, 12541, 12560, 12560, 12560, 12592, 12592, 12592, 12618, 12618, 12618, 12663, 12663, 12663, - 12678, 12678, 12678, 12697, 12697, 12697, 12778, 12778, 12778, 12820, 12820, 12820, 12848, 12848, 12848, 12868, 12868, 12868, 12892, 12892, 12892, 12915, 12915, 12915, - 12943, 12943, 12943, 12984, 12984, 12984, 13063, 13063, 13063, 13106, 13106, 13106, 13178, 13178, 13178, 13258, 13258, 13258, 13312, 13312, 13312, 13391, 13391, 13391, - 13463, 13463, 13463, 13533, 13533, 13533, 13550, 13550, 13550, 13557, 13557, 13557, 8593, 8593, 8593, 13562, 13562, 13562, 13573, 13573, 13573, 13579, 13579, 13579, - 13590, 13590, 13590, 13605, 13605, 13605, 13638, 13638, 13638, 13651, 13651, 13651, 13677, 13677, 13677, 13697, 13697, 13697, 13728, 13728, 13728, 13738, 13738, 13738, - 13759, 13759, 13759, 13774, 13774, 13774, 13804, 13804, 13804, 13822, 13822, 13822, 13837, 13837, 13837, 13856, 13856, 13856, 13871, 13871, 13871, 13892, 13892, 13892, - 13918, 13918, 13918, 13946, 13946, 13946, 13966, 13966, 13966, 13990, 13990, 13990, 14026, 14026, 14026, 14054, 14054, 14054, 14084, 14084, 14084, 14103, 14103, 14103, - 14131, 14131, 14131, 14146, 14146, 14146, 14155, 14155, 14155, 14172, 201, 201, 14202, 14202, 14202, 14219, 14219, 14219, 14234, 14234, 14234, 14260, 14260, 14260, - 14275, 14275, 14275, 14290, 14290, 14290, 14356, 14356, 14356, 14389, 14389, 14389, 1088, 1088, 1088, 14411, 14411, 14411, 14431, 14462, 14462, 14483, 14483, 14483, - 14498, 14498, 14498, 14502, 14502, 14502, 14507, 14507, 14507, 14528, 14528, 14528, 14547, 14547, 14547, 1876, 1876, 1876, 14556, 14556, 14556, 14624, 14624, 14624, - 14641, 14641, 14641, 14660, 14660, 14660, 14675, 14675, 14675, 14697, 14697, 14697, 14712, 14712, 14712, 14731, 14731, 14731, 14750, 14750, 14750, 14767, 14767, 14767, - 14776, 14776, 14776, 14796, 14831, 14831, 14846, 14879, 14879, 14892, 14927, 14927, 14942, 14975, 14975, 14988, 14988, 14988, 15015, 15015, 15015, 15034, 15067, 15067, - 15081, 15112, 15112, 15124, 15124, 15124, 15187, 15187, 15187, 15224, 15224, 15224, 15251, 15251, 15251, 15289, 15289, 15289, 15327, 15327, 15327, 15340, 15340, 15340, - 15381, 15381, 15381, 15398, 15398, 15398, 15471, 15471, 15471, 15519, 15519, 15519, 15589, 15589, 15589, 15639, 15639, 15639, 15702, 15702, 15702, 15758, 15758, 15758, - 15802, 15802, 15802, 15813, 15813, 15813, 15822, 15822, 15822, 15853, 15853, 15853, 15897, 15897, 15897, 15939, 15939, 15939, 15973, 15973, 15973, 16018, 16018, 16018, - 16025, 16025, 16025, 16048, 16048, 16048, 16083, 16083, 16083, 16092, 16092, 16092, 16117, 16117, 16117, 16145, 16145, 16145, 16214, 16214, 16214, 16241, 16241, 16241, - 16303, 16303, 16303, 16339, 16339, 16339, 16374, 16374, 16374, 16381, 16381, 16381, 16398, 16398, 16398, 16419, 16419, 16419, 16453, 16453, 16453, 16476, 16476, 16476, - 16516, 16516, 16516, 16539, 16539, 16539, 16562, 16562, 16562, 16609, 16609, 16609, 16721, 16721, 16721, 16796, 16796, 16796, 16867, 16867, 16867, 16877, 201, 201, - 16919, 16919, 16919, 16939, 16939, 16939, 16947, 16947, 16947, 16979, 16979, 16979, 16991, 16991, 16991, 17002, 17002, 17002, 17028, 17028, 17028, 17040, 17040, 17040, - 17057, 17057, 17057, 17093, 17093, 17093, 17110, 17110, 17110, 17142, 17142, 17142, 17172, 17172, 17172, 17256, 17256, 17256, 17286, 17367, 17367, 17420, 17481, 17481, - 17508, 17566, 17566, 17595, 17671, 17671, 17703, 17790, 17790, 17842, 17918, 17918, 17951, 17951, 17951, 17968, 17968, 17968, 17990, 17990, 17990, 18016, 18016, 18016, - 18043, 18043, 18043, 18121, 18121, 18121, 18180, 18180, 18180, 18236, 18236, 18236, 18300, 18300, 18300, 18332, 18332, 18332, 18351, 18351, 18351, 18372, 18372, 18372, - 18410, 18410, 18410, 18446, 18446, 18446, 18451, 18451, 18451, 18471, 18471, 18471, 18494, 18494, 18494, 18514, 18514, 18514, 18554, 18554, 18554, 18578, 18622, 18622, - 18651, 18651, 18651, 18708, 18708, 18708, 18787, 18787, 18787, 18872, 18872, 18872, 18954, 18954, 18954, 19041, 19041, 19041, 19115, 19115, 19115, 19188, 19188, 19188, - 19213, 19213, 19213, 19304, 19304, 19304, 19315, 19315, 19315, 19330, 19330, 19330, 19349, 19349, 19349, 19374, 19374, 19374, 19385, 19385, 19385, 19404, 19404, 19404, - 19421, 19421, 19421, 19433, 19433, 19433, 19457, 19457, 19457, 19482, 19482, 19482, 3971, 3971, 3971, 19499, 19499, 19499, 19506, 19506, 19506, 19518, 19518, 19518, - 201, 201, 201, 16374, 16374, 16374, 10630, 10630, 10630, 19537, 19537, 19537, 19546, 19546, 19546, 19570, 19570, 19570, 19621, 19621, 19621, 19636, 19636, 19636, - 19651, 19651, 19651, 19664, 19664, 19664, 19718, 19718, 19718, 19782, 19782, 19782, 19792, 19792, 19792, 19806, 19806, 19806, 19831, 19831, 19831, 19861, 19861, 19861, - 19874, 19874, 19874, 19889, 19889, 19889, 19913, 19913, 19913, 19930, 19930, 19930, 19951, 19951, 19951, 19983, 19983, 19983, 19996, 19996, 19996, 20011, 20011, 20011, - 20039, 20039, 20039, 20039, 20039, 20039, 20056, 20056, 20056, 20126, 20126, 20126, 20197, 20197, 20197, 20282, 20282, 20282, 20290, 20290, 20290, 20302, 20302, 20302, - 20325, 20325, 20325, 20361, 20361, 20361, 20395, 20395, 20395, 20420, 20420, 20420, 20444, 20444, 20444, 20476, 20476, 20476, 20494, 20494, 20494, 20546, 20546, 20546, - 20568, 20568, 20568, 20580, 20580, 20580, 20593, 20593, 20593, 20661, 20661, 20661, 20686, 20686, 20686, 20716, 20716, 20716, 20735, 20735, 20735, 20773, 20773, 20773, - 20799, 20799, 20799, 20824, 20824, 20824, 20894, 20894, 20894, 20957, 20957, 20957, 21012, 21012, 21012, 21029, 21029, 21029, 21057, 21057, 21057, 21095, 21095, 21095, - 21170, 21170, 21170, 21206, 21206, 21206, 21228, 21228, 21228, 21250, 21250, 21250, 21267, 21267, 21267, 21299, 21299, 21299, 21325, 21325, 21325, 21364, 21364, 21364, - 21379, 21379, 21379, 21400, 21400, 21400, 21465, 21465, 21465, 21549, 21549, 21549, 21620, 21620, 21620, 21678, 21678, 21678, 21699, 21699, 21699, 21725, 21725, 21725, - 21794, 21794, 21794, 21854, 21854, 21854, 21871, 21871, 21871, 21890, 21890, 21890, 21931, 21931, 21931, 21961, 21961, 21961, 14431, 14462, 14462, 1876, 1876, 1876, - 22004, 22004, 22004, 22021, 22021, 22021, 22036, 22036, 22036, 22051, 22073, 22073, 22086, 22086, 22086, 22099, 22099, 22099, 22112, 22112, 22112, 22144, 22144, 22144, - 22151, 22151, 22151, 22183, 22183, 22183, 22202, 22202, 22202, 22221, 22221, 22221, 22243, 22243, 22243, 22264, 1865, 1865, 22300, 22300, 22300, 22326, 22326, 22326, - 22352, 22352, 22352, 22378, 22378, 22378, 22395, 22420, 22420, 22434, 22479, 22479, 22505, 22505, 22505, 22517, 22517, 22517, 22541, 22541, 22541, 22560, 22560, 22560, - 22584, 22584, 22584, 22605, 22605, 22605, 22622, 22622, 22622, 22639, 22639, 22639, 22652, 22652, 22652, 22686, 22686, 22686, 22711, 22711, 22711, 22748, 22748, 22748, - 22767, 22767, 22767, 22799, 22799, 22799, 22815, 22815, 22815, 22841, 22841, 22841, 22858, 22858, 22858, 22879, 22917, 22917, 22946, 22946, 22946, 22972, 22972, 22972, - 22983, 22983, 22983, 23000, 23000, 23000, 23058, 23058, 23058, 23129, 23129, 23129, 23199, 23199, 23199, 23225, 23225, 23225, 23236, 23236, 23236, 23251, 23251, 23251, - 23333, 23333, 23333, 23364, 23364, 23364, 23371, 23371, 23371, 23434, 23434, 23434, 23524, 23524, 23524, 23576, 23576, 23576, 23620, 23620, 23620, 23691, 23691, 23691, - 23776, 23776, 23776, 23808, 23808, 23808, 23877, 23877, 23877, 23907, 23907, 23907, 23953, 23953, 23953, 24002, 24002, 24002, 24041, 24041, 24041, 24151, 24151, 24151, - 24262, 24262, 24262, 24373, 24373, 24373, 24469, 24469, 24469, 24478, 24478, 24478, 24522, 24522, 24522, 24566, 24566, 24566, 24639, 24639, 24639, 24710, 24710, 24710, - 24726, 24726, 24726, 24780, 24780, 24780, 24891, 24891, 24891, 24955, 24955, 24955, 24999, 24999, 24999, 25061, 25061, 25061, 25134, 25134, 25134, 25225, 25225, 25225, - 25288, 25288, 25288, 25330, 25330, 25330, 25453, 25453, 25453, 25491, 25491, 25491, 25581, 25581, 25581, 25650, 25650, 25650, 25713, 25713, 25713, 25804, 25804, 25804, - 25886, 25886, 25886, 25947, 25947, 25947, 26027, 26027, 26027, 26094, 26094, 26094, 26151, 26151, 26151, 26243, 26243, 26243, 26305, 26305, 26305, 4366, 4366, 4366, - 26385, 26385, 26385, 26426, 26426, 26426, 26477, 26477, 26477, 26550, 26550, 26550, 26621, 26621, 26621, 26687, 26687, 26687, 26746, 26746, 26746, 26804, 26804, 26804, - 26877, 26877, 26877, 26925, 26925, 26925, 26982, 26982, 26982, 27047, 27047, 27047, 27093, 27093, 27093, 27141, 27141, 27141, 27206, 27206, 27206, 27250, 27250, 27250, - 27308, 27308, 27308, 27354, 27354, 27354, 27411, 27411, 27411, 27500, 27500, 27500, 27579, 27579, 27579, 27631, 27631, 27631, 27692, 27692, 27692, 27751, 27751, 27751, - 27804, 27804, 27804, 27867, 27867, 27867, 27964, 27964, 27964, 28021, 28021, 28021, 28088, 28088, 28088, 28163, 28163, 28163, 28224, 28224, 28224, 28310, 28310, 28310, - 28360, 28360, 28360, 28404, 28404, 28404, 28485, 28485, 28485, 28545, 28545, 28545, 28626, 28626, 28626, 28654, 28654, 28654, 28737, 28737, 28737, 28803, 28803, 28803, - 28844, 28844, 28844, 28891, 28891, 28891, 28938, 28938, 28938, 28994, 28994, 28994, 29060, 29060, 29060, 29116, 29116, 29116, 29179, 29179, 29179, 29208, 29208, 29208, - 29251, 29251, 29251, 29310, 29310, 29310, 29393, 29393, 29393, 29464, 29464, 29464, 29486, 29486, 29486, 29536, 29536, 29536, 29618, 29618, 29618, 29667, 29667, 29667, - 29697, 29697, 29697, 29781, 29781, 29781, 29826, 29826, 29826, 29856, 29856, 29856, 29919, 29919, 29919, 29987, 29987, 29987, 30058, 30058, 30058, 30088, 30088, 30088, - 30151, 30151, 30151, 30166, 30166, 30166, 30214, 30214, 30214, 30263, 30263, 30263, 30320, 30320, 30320, 30365, 30365, 30365, 30426, 30426, 30426, 30465, 30465, 30465, - 30492, 30492, 30492, 30535, 30535, 30535, 30618, 30618, 30618, 30673, 30673, 30673, 30762, 30762, 30762, 30831, 30831, 30831, 30897, 30897, 30897, 30966, 30966, 30966, - 30997, 30997, 30997, 31069, 31069, 31069, 31115, 31115, 31115, 31188, 31188, 31188, 31253, 31253, 31253, 31275, 31275, 31275, 31348, 31348, 31348, 31445, 31445, 31445, - 6011, 6011, 6011, 31502, 31502, 31502, 31556, 31556, 31556, 31607, 31607, 31607, 31668, 31668, 31668, 31804, 31804, 31804, 31877, 31877, 31877, 31982, 31982, 31982, - 32060, 32060, 32060, 32125, 32125, 32125, 32154, 32154, 32154, 32191, 32191, 32191, 32257, 32257, 32257, 32321, 32321, 32321, 32402, 32402, 32402, 32468, 32468, 32468, - 32528, 32528, 32528, 32583, 32583, 32583, 32665, 32665, 32665, 32702, 32702, 32702, 32717, 32717, 32717, 32780, 32780, 32780, 32793, 32793, 32793, 32872, 32872, 32872, - 32943, 32943, 32943, 33024, 33024, 33024, 33124, 33124, 33124, 33183, 33183, 33183, 33272, 33272, 33272, 33391, 33391, 33391, 33471, 33471, 33471, 33569, 33569, 33569, - 33646, 33646, 33646, 33676, 33676, 33676, 33780, 33780, 33780, 33818, 33818, 33818, 33842, 33842, 33842, 33878, 33878, 33878, 33971, 33971, 33971, 34064, 34064, 34064, - 34117, 34117, 34117, 34178, 34178, 34178, 34235, 34235, 34235, 34298, 34298, 34298, 34363, 34363, 34363, 34424, 34424, 34424, 34442, 34442, 34442, 34493, 34493, 34493, - 34547, 34547, 34547, 34596, 34596, 34596, 34668, 34668, 34668, 34683, 34683, 34683, 34749, 34749, 34749, 34782, 34782, 34782, 34843, 34843, 34843, 34920, 34920, 34920, - 34952, 34952, 34952, 35011, 35011, 35011, 35059, 35059, 35059, 35118, 35118, 35118, 35163, 35163, 35163, 35178, 35178, 35178, 35278, 35278, 35278, 35291, 35291, 35291, - 35310, 35310, 35310, 35353, 35353, 35353, 35401, 35401, 35401, 35474, 35474, 35474, 35489, 35489, 35489, 35529, 35529, 35529, 35586, 35586, 35586, 35610, 35610, 35610, - 35657, 35657, 35657, 35719, 35719, 35719, 35786, 35786, 35786, 35824, 35824, 35824, 35893, 35893, 35893, 35985, 35985, 35985, 36057, 36057, 36057, 36103, 36103, 36103, - 36142, 36142, 36142, 36166, 36166, 36166, 36211, 36211, 36211, 36238, 36238, 36238, 36265, 36265, 36265, 36317, 36317, 36317, 36360, 36360, 36360, 36434, 36434, 36434, - 36509, 36509, 36509, 36563, 36563, 36563, 36603, 36603, 36603, 36661, 36661, 36661, 36683, 36683, 36683, 36757, 36757, 36757, 36804, 36804, 36804, 36836, 36836, 36836, - 36870, 36870, 36870, 36894, 36894, 36894, 36980, 36980, 36980, 37080, 37080, 37080, 37185, 37185, 37185, 37252, 37252, 37252, 37323, 37323, 37323, 37396, 37396, 37396, - 37479, 37479, 37479, 37557, 37557, 37557, 37652, 37652, 37652, 37694, 37694, 37694, 37709, 37709, 37709, 37762, 37762, 37762, 37775, 37775, 37775, 37815, 37815, 37815, - 37877, 37877, 37877, 37941, 37941, 37941, 37984, 37984, 37984, 38073, 38073, 38073, 38090, 38090, 38090, 38133, 38133, 38133, 38248, 38248, 38248, 38311, 38311, 38311, - 38363, 38363, 38363, 38451, 38451, 38451, 38518, 38518, 38518, 38583, 38583, 38583, 38662, 38662, 38662, 38724, 38724, 38724, 38812, 38812, 38812, 38871, 38871, 38871, - 38980, 38980, 38980, 39090, 39090, 39090, 39208, 39208, 39208, 39315, 39315, 39315, 39362, 39362, 39362, 39399, 39399, 39399, 39408, 39408, 39408, 39459, 39459, 39459, - 39503, 39503, 39503, 39584, 39584, 39584, 39674, 39674, 39674, 39765, 39765, 39765, 39799, 39799, 39799, 39848, 39848, 39848, 39929, 39929, 39929, 40003, 40003, 40003, - 40085, 40085, 40085, 40151, 40151, 40151, 40188, 40188, 40188, 40239, 40239, 40239, 40263, 40263, 40263, 40277, 40277, 40277, 40324, 40324, 40324, 40352, 40352, 40352, - 40399, 40399, 40399, 40444, 40444, 40444, 40512, 40512, 40512, 40569, 40569, 40569, 40622, 40622, 40622, 40684, 40684, 40684, 40684, 40684, 40684, 40742, 40742, 40742, - 40781, 40781, 40781, 40807, 40807, 40807, 40881, 40881, 40881, 40936, 40936, 40936, 41030, 41030, 41030, 41091, 41091, 41091, 41141, 41141, 41141, 41214, 41214, 41214, - 41287, 41287, 41287, 41334, 41334, 41334, 41410, 41410, 41410, 41475, 41475, 41475, 41556, 41556, 41556, 41568, 41568, 41568, 41648, 41648, 41648, 3982, 3982, 3982, - 41723, 41723, 41723, 41765, 41765, 41765, 41801, 41801, 41801, 41863, 41863, 41863, 41956, 41956, 41956, 10524, 10524, 10524, 42040, 42040, 42040, 42105, 42105, 42105, - 42159, 42159, 42159, 42201, 42201, 42201, 42238, 42238, 42238, 42247, 42247, 42247, 42262, 42262, 42262, 42324, 42324, 42324, 42352, 42352, 42352, 42434, 42434, 42434, - 42522, 42522, 42522, 42589, 42589, 42589, 42658, 42658, 42658, 42783, 42783, 42783, 42837, 42837, 42837, 42889, 42889, 42889, 42920, 42920, 42920, 43018, 43018, 43018, - 43076, 43076, 43076, 43127, 43127, 43127, 43142, 43142, 43142, 43206, 43206, 43206, 43270, 43270, 43270, 43331, 43331, 43331, 43396, 43396, 43396, 43471, 43471, 43471, - 43551, 43551, 43551, 43602, 43602, 43602, 43637, 43637, 43637, 43677, 43677, 43677, 43719, 43719, 43719, 43798, 43798, 43798, 43847, 43847, 43847, 43882, 43882, 43882, - 43938, 43938, 43938, 43975, 43975, 43975, 44004, 44004, 44004, 9251, 9251, 9251, 44041, 44041, 44041, 44111, 44111, 44111, 44147, 44147, 44147, 44158, 44158, 44158, - 44200, 44200, 44200, 44215, 44215, 44215, 44234, 44234, 44234, 44272, 44272, 44272, 44343, 44343, 44343, 44395, 44395, 44395, 44466, 44466, 44466, 44548, 44548, 44548, - 9311, 9311, 9311, 44607, 44607, 44607, 44675, 44675, 44675, 44745, 44745, 44745, 44791, 44791, 44791, 44806, 44806, 44806, 44849, 44849, 44849, 44869, 44869, 44869, - 44889, 44889, 44889, 8593, 8593, 8593, 44924, 44924, 44924, 44945, 44945, 44945, 44967, 44967, 44967, 44976, 44976, 44976, 10948, 10948, 10948, 19861, 19861, 19861, - 44983, 44983, 44983, 45042, 45042, 45042, 45061, 45061, 45061, 45077, 45077, 45077, 45086, 45086, 45086, 45093, 45093, 45093, 45111, 45111, 45111, 45132, 45132, 45132, - 45145, 45145, 45145, 45156, 45156, 45156, 45174, 45174, 45174, 45191, 45191, 45191, 45231, 45231, 45231, 45268, 45268, 45268, 45283, 45329, 45329, 45350, 45390, 45390, - 45405, 45405, 45405, 45424, 45424, 45424, 45445, 45445, 45445, 45464, 45464, 45464, 45481, 45481, 45481, 6607, 6607, 6607, 45494, 45494, 45494, 45518, 45518, 45518, - 45546, 45546, 45546, 45565, 45607, 45607, 45632, 45632, 45632, 45643, 45643, 45643, 45674, 45674, 45674, 45767, 45767, 45767, 45794, 45794, 45794, 45807, 45807, 45807, - 45827, 45827, 45827, 45853, 45853, 45853, 45877, 45877, 45877, 45913, 45913, 45913, 45938, 45938, 45938, 45945, 45945, 45945, 45954, 45954, 45954, 45963, 45963, 45963, - 45975, 45975, 45975, 45990, 45990, 45990, 2401, 2401, 2401, 46005, 46029, 46029, 46040, 46060, 46060, 46067, 46093, 46093, 46106, 46106, 46106, 46125, 46125, 46125, - 46142, 46142, 46142, 46166, 46210, 46210, 46238, 46238, 46238, 46257, 46257, 46257, 46282, 46282, 46282, 46291, 46291, 46291, 46297, 46297, 46297, 46302, 46302, 46302, - 46319, 46319, 46319, 46345, 46345, 46345, 46352, 46352, 46352, 46376, 46376, 46376, 46398, 46398, 46398, 46435, 46435, 46435, 46455, 46455, 46455, 46475, 46475, 46475, - 46479, 46479, 46479, 46483, 46483, 46483, 46503, 46503, 46503, 46529, 46529, 46529, 46553, 46553, 46553, 46574, 46574, 46574, 46595, 46595, 46595, 46621, 46621, 46621, - 46645, 46645, 46645, 46660, 46660, 46660, 46673, 46673, 46673, 46692, 46692, 46692, 46712, 46712, 46712, 46731, 46731, 46731, 46753, 46753, 46753, 46772, 46772, 46772, - 46802, 46802, 46802, 46821, 46821, 46821, 46859, 46859, 46859, 46881, 46881, 46881, 43127, 43127, 43127, 46892, 46892, 46892, 46911, 46911, 46911, 46974, 46974, 46974, - 46987, 46987, 46987, 47007, 47007, 47007, 47032, 47032, 47032, 47056, 47098, 47098, 6126, 47125, 47125, 47140, 47140, 47140, 47164, 47164, 47164, 47179, 47179, 47179, - 47194, 201, 201, 47240, 47240, 47240, 47275, 47275, 47275, 47315, 47315, 47315, 47352, 47352, 47352, 47393, 47393, 47393, 47419, 47419, 47419, 47430, 47430, 47430, - 47476, 47476, 47476, 47526, 47526, 47526, 2104, 2104, 2104, 47552, 47552, 47552, 47568, 47568, 47568, 47586, 47586, 47586, 47603, 47603, 47603, 47636, 47636, 47636, - 19951, 19951, 19951, 47670, 47670, 47670, 47696, 47696, 47696, 47732, 47732, 47732, 47750, 47750, 47750, 47788, 47788, 47788, 47817, 47817, 47817, 47838, 47838, 47838, - 47858, 47858, 47858, 47887, 47887, 47887, 47922, 47922, 47922, 47937, 47975, 47975, 48000, 48000, 48000, 48032, 48032, 48032, 6263, 6263, 6263, 48047, 48088, 48088, - 48116, 48116, 48116, 48158, 48209, 48209, 48239, 48239, 48239, 48260, 48302, 48302, 48325, 48325, 48325, 363, 363, 363, 48338, 48338, 48338, 48379, 48411, 48411, - 48434, 48434, 48434, 48456, 48456, 48456, 48478, 48478, 48478, 48514, 48514, 48514, 2876, 2876, 2876, 48532, 48572, 48572, 48597, 48642, 48642, 48681, 48681, 48681, - 48723, 48723, 48723, 48762, 48762, 48762, 48799, 48799, 48799, 48818, 48818, 48818, 48845, 48897, 48897, 48943, 48943, 48943, 48983, 48983, 48983, 49009, 49009, 49009, - 49029, 49071, 49071, 49094, 49146, 49146, 49179, 49179, 49179, 49205, 49205, 49205, 49222, 49222, 49222, 49258, 49258, 49258, 49277, 49277, 49277, 7117, 7117, 7117, - 49314, 49361, 49361, 45938, 45938, 45938, 49390, 49390, 49390, 49418, 49459, 49459, 49481, 49481, 49481, 49509, 49509, 49509, 49540, 49540, 49540, 49569, 49569, 49569, - 49593, 49640, 49640, 49682, 49725, 49725, 49765, 49765, 49765, 49800, 49800, 49800, 49835, 49875, 49875, 49896, 49896, 49896, 49932, 49968, 49968, 49993, 49993, 49993, - 50012, 50012, 50012, 50031, 50031, 50031, 50055, 5925, 5925, 50101, 50156, 50156, 50196, 50196, 50196, 50222, 50222, 50222, 50254, 50254, 50254, 50286, 50286, 50286, - 50307, 50307, 50307, 50332, 50332, 50332, 50351, 50401, 50401, 50429, 50429, 50429, 50460, 50460, 50460, 50485, 50515, 50515, 50532, 50532, 50532, 50562, 48478, 48478, - 50623, 50623, 50623, 50651, 50651, 50651, 50660, 50707, 50707, 50730, 50730, 50730, 50757, 50795, 50795, 50824, 50824, 50824, 50849, 50849, 50849, 50868, 50868, 50868, - 50895, 50895, 50895, 50904, 50904, 50904, 50915, 50915, 50915, 50928, 50928, 50928, 50951, 50951, 50951, 50981, 50981, 50981, 51003, 51003, 51003, 1891, 1891, 1891, - 51039, 51039, 51039, 51123, 51123, 51123, 51155, 51155, 51155, 51181, 51181, 51181, 51190, 51190, 51190, 51199, 51199, 51199, 51206, 51206, 51206, 45329, 45329, 45329, - 51233, 51233, 51233, 51267, 51267, 51267, 51293, 51331, 51331, 51356, 51356, 51356, 51385, 51430, 51430, 51462, 51462, 51462, 51482, 51482, 51482, 51512, 51512, 51512, - 51538, 51538, 51538, 51564, 51564, 51564, 51590, 51590, 51590, 51618, 51618, 51618, 51631, 51631, 51631, 51644, 51644, 51644, 51667, 51667, 51667, 51698, 51698, 51698, - 51722, 51722, 51722, 51742, 51742, 51742, 51768, 51768, 51768, 51792, 51792, 51792, 51828, 51828, 51828, 51847, 51847, 51847, 51870, 51870, 51870, 51895, 51895, 51895, - 51915, 51915, 51915, 51971, 51971, 51971, 51995, 51995, 51995, 52008, 52008, 52008, 22711, 22711, 22711, 22748, 22748, 22748, 52053, 52053, 52053, 52105, 52105, 52105, - 52116, 52116, 52116, 52131, 52131, 52131, 52144, 52144, 52144, 42889, 42889, 42889, 52155, 52155, 52155, 52165, 52165, 52165, 52176, 52176, 52176, 52185, 52185, 52185, - 52204, 52204, 52204, 52234, 52234, 52234, 52247, 52247, 52247, 52275, 52275, 52275, 52303, 52303, 52303, 52316, 52316, 52316, 52343, 52343, 52343, 52373, 52373, 52373, - 52386, 52386, 52386, 52393, 52393, 52393, 52414, 52414, 52414, 52441, 52441, 52441, 52462, 52504, 52504, 52531, 52531, 52531, 52548, 52548, 52548, 52569, 52569, 52569, - 52592, 52624, 52624, 52633, 52633, 52633, 52656, 52656, 52656, 52671, 52671, 52671, 10679, 10679, 10679, 52688, 52688, 52688, 52701, 52701, 52701, 52737, 52737, 52737, - 52744, 52744, 52744, 52774, 52774, 52774, 52785, 52785, 52785, 52805, 52805, 52805, 52829, 52829, 52829, 52846, 52846, 52846, 52857, 52857, 52857, 52868, 52868, 52868, - 52881, 52881, 52881, 52886, 52886, 52886, 52896, 52896, 52896, 52913, 52913, 52913, 52934, 52934, 52934, 53004, 53004, 53021, 53025, 53025, 53025, 53057, 53057, 53057, - 53087, 53087, 53087, 53113, 53113, 53113, 53137, 53137, 53137, 53144, 53144, 53144, 53165, 53165, 53165, 44147, 44147, 44147, 53188, 53188, 53188, 53287, 53287, 53287, - 53391, 53391, 53391, 53470, 53470, 53470, 53579, 53579, 53579, 53674, 53674, 53674, 53760, 53760, 53760, 53836, 53836, 53836, 53847, 53847, 53847, 53894, 53894, 53894, - 53956, 53956, 53956, 54007, 54007, 54007, 54058, 54058, 54058, 54085, 54085, 54085, 54118, 54118, 54118, 54139, 54139, 54139, 54214, 54214, 54214, 54290, 54290, 54290, - 54314, 54314, 54314, 54406, 54406, 54406, 54435, 54435, 54435, 54460, 54460, 54460, 3916, 3916, 3916, 54475, 54475, 54475, 54494, 54494, 54494, 54501, 54501, 54501, - 54525, 54525, 54525, 54549, 54549, 54549, + 6304, 6304, 6304, 6325, 6325, 6325, 6353, 6353, 6353, 6373, 6373, 6373, 6402, 6402, 6402, 6419, 6419, 6419, 6436, 6436, 6436, 6447, 6447, 6447, + 6479, 6479, 6479, 6488, 6488, 6488, 6505, 6505, 6505, 6518, 6518, 6518, 6518, 6518, 6518, 6529, 6529, 6529, 6544, 6544, 6544, 6559, 6559, 6559, + 6578, 6578, 6578, 6591, 6591, 6591, 6529, 6529, 6529, 6602, 6602, 6602, 6624, 6624, 6624, 6643, 6643, 6643, 6544, 6544, 6544, 6656, 6656, 6656, + 6679, 6679, 6679, 6696, 6696, 6696, 6717, 6717, 6717, 6728, 6728, 6728, 6741, 6741, 6741, 6752, 6752, 6752, 6778, 6778, 6778, 6808, 6808, 6808, + 6824, 6863, 6863, 6879, 6879, 6879, 6887, 6887, 6887, 6900, 6900, 6900, 6913, 6913, 6913, 6927, 6927, 6927, 6948, 6948, 6948, 6971, 6971, 6971, + 7005, 7005, 7005, 7037, 7037, 7037, 7063, 7063, 7063, 7072, 7072, 7072, 7084, 7084, 7084, 7099, 7099, 7099, 7119, 7119, 7119, 7136, 7136, 7136, + 7153, 7153, 7153, 7168, 7168, 7168, 7185, 7185, 7185, 6113, 6113, 6113, 7214, 7214, 7214, 7227, 7227, 7227, 7246, 7246, 7246, 7250, 7294, 7294, + 7321, 7361, 7361, 7384, 7384, 7384, 7401, 7401, 7401, 7422, 7422, 7422, 7426, 7426, 7426, 7456, 7456, 7456, 7473, 7473, 7473, 7489, 7489, 7489, + 7518, 7518, 7518, 7537, 7537, 7537, 7557, 7557, 7557, 7581, 7581, 7581, 7606, 7606, 7606, 7655, 7655, 7655, 7696, 7696, 7696, 7728, 7728, 7728, + 7737, 7737, 7737, 7758, 7758, 7758, 7779, 7779, 7779, 7800, 7800, 7800, 7838, 7888, 7888, 7920, 7920, 7920, 7948, 7948, 7948, 7969, 7969, 7969, + 8009, 8009, 8009, 8041, 8041, 8041, 8056, 8056, 8056, 8087, 8087, 8087, 8118, 8118, 8118, 8145, 8145, 8145, 8176, 8176, 8176, 8207, 8207, 8207, + 8234, 8234, 8234, 8239, 8239, 8239, 8272, 8272, 8272, 8305, 8305, 8305, 8324, 8324, 8324, 8328, 8365, 8365, 8397, 8434, 8434, 8448, 8448, 8448, + 8463, 8463, 8463, 8484, 8484, 8484, 8497, 8497, 8497, 8527, 8527, 8527, 8538, 8538, 8538, 8555, 8555, 8555, 8566, 8566, 8566, 8573, 8573, 8573, + 8599, 8599, 8599, 8612, 8612, 8612, 8629, 8629, 8629, 8636, 8636, 8636, 8654, 8654, 8654, 8669, 8669, 8669, 8690, 8690, 8690, 8715, 8715, 8715, + 8738, 8738, 8738, 8766, 8766, 8766, 8783, 8783, 8783, 8799, 8799, 8799, 8836, 8836, 8836, 8858, 8858, 8858, 8894, 8941, 8941, 8980, 8980, 8980, + 8995, 8995, 8995, 9025, 9025, 9025, 9052, 9052, 9052, 9063, 9063, 9063, 9079, 9079, 9079, 9111, 9111, 9111, 9126, 9126, 9126, 9139, 9139, 9139, + 9144, 9144, 9144, 9157, 9157, 9157, 9189, 9189, 9189, 9219, 9219, 9219, 9239, 9239, 9239, 9246, 9246, 9246, 9272, 9272, 9272, 9287, 9287, 9287, + 9294, 9294, 9294, 9311, 9311, 9311, 9347, 9347, 9347, 9362, 9362, 9362, 9376, 9376, 9376, 9398, 9440, 9440, 9467, 9467, 9467, 9478, 9478, 9478, + 9542, 9542, 9542, 9603, 9603, 9603, 9660, 9660, 9660, 9711, 9711, 9711, 9765, 9765, 9765, 9813, 9813, 9813, 9845, 9845, 9845, 9881, 9881, 9881, + 9929, 9929, 9929, 9985, 9985, 9985, 10047, 10047, 10047, 10095, 10095, 10095, 10145, 10145, 10145, 10169, 10169, 10169, 10205, 10205, 10205, 10249, 10249, 10249, + 10289, 10289, 10289, 10342, 10342, 10342, 10370, 10370, 10370, 10420, 10420, 10420, 10456, 10456, 10456, 10503, 10503, 10503, 10560, 10560, 10560, 1876, 1876, 1876, + 10602, 10602, 10602, 10619, 10619, 10619, 10636, 10636, 10636, 10666, 10666, 10666, 10681, 10681, 10681, 10698, 10698, 10698, 10715, 10715, 10715, 10726, 10726, 10726, + 10739, 10739, 10739, 10752, 10752, 10752, 10778, 10778, 10778, 10791, 10791, 10791, 10814, 10814, 10814, 10830, 10830, 10830, 10844, 10844, 10844, 10905, 10905, 10905, + 10984, 10984, 10984, 11001, 11001, 11001, 11075, 11075, 11075, 11150, 11150, 11150, 11207, 11207, 11207, 11265, 11265, 11265, 11292, 11292, 11292, 11335, 11335, 11335, + 11400, 11400, 11400, 11419, 11419, 11419, 11439, 11439, 11439, 11463, 11463, 11463, 11486, 11486, 11486, 11533, 11533, 11533, 11561, 11561, 11561, 11625, 11625, 11625, + 11668, 11668, 11668, 11680, 11680, 11680, 11761, 11761, 11761, 11826, 11826, 11826, 11909, 11909, 11909, 11969, 11969, 11969, 12025, 12025, 12025, 12083, 12083, 12083, + 12106, 12106, 12106, 7426, 7426, 7426, 12130, 12130, 12130, 12152, 12152, 12152, 12183, 12183, 12183, 12215, 12215, 12215, 12232, 12232, 12232, 12215, 12215, 12215, + 12258, 12258, 12258, 12292, 12292, 12292, 12317, 12317, 12317, 12335, 12335, 12335, 12357, 12357, 12357, 12370, 12370, 12370, 12408, 12408, 12408, 12430, 12430, 12430, + 12453, 12453, 12453, 12486, 12486, 12486, 12515, 12515, 12515, 12536, 12536, 12536, 12560, 12560, 12560, 12577, 12577, 12577, 12596, 12596, 12596, 12628, 12628, 12628, + 12654, 12654, 12654, 12699, 12699, 12699, 12714, 12714, 12714, 12733, 12733, 12733, 12814, 12814, 12814, 12856, 12856, 12856, 12884, 12884, 12884, 12904, 12904, 12904, + 12928, 12928, 12928, 12951, 12951, 12951, 12979, 12979, 12979, 13020, 13020, 13020, 13099, 13099, 13099, 13142, 13142, 13142, 13214, 13214, 13214, 13294, 13294, 13294, + 13348, 13348, 13348, 13427, 13427, 13427, 13499, 13499, 13499, 13569, 13569, 13569, 13586, 13586, 13586, 13593, 13593, 13593, 8629, 8629, 8629, 13598, 13598, 13598, + 13609, 13609, 13609, 13615, 13615, 13615, 13626, 13626, 13626, 13641, 13641, 13641, 13674, 13674, 13674, 13687, 13687, 13687, 13713, 13713, 13713, 13733, 13733, 13733, + 13764, 13764, 13764, 13774, 13774, 13774, 13795, 13795, 13795, 13810, 13810, 13810, 13840, 13840, 13840, 13858, 13858, 13858, 13873, 13873, 13873, 13892, 13892, 13892, + 13907, 13907, 13907, 13928, 13928, 13928, 13954, 13954, 13954, 13982, 13982, 13982, 14002, 14002, 14002, 14026, 14026, 14026, 14062, 14062, 14062, 14090, 14090, 14090, + 14120, 14120, 14120, 14139, 14139, 14139, 14167, 14167, 14167, 14182, 14182, 14182, 14191, 14191, 14191, 14208, 201, 201, 14238, 14238, 14238, 14255, 14255, 14255, + 14270, 14270, 14270, 14296, 14296, 14296, 14311, 14311, 14311, 14326, 14326, 14326, 14392, 14392, 14392, 14419, 14419, 14419, 14452, 14452, 14452, 1088, 1088, 1088, + 14474, 14474, 14474, 14494, 14525, 14525, 14546, 14546, 14546, 14561, 14561, 14561, 14565, 14565, 14565, 14570, 14570, 14570, 14591, 14591, 14591, 14610, 14610, 14610, + 1876, 1876, 1876, 14619, 14619, 14619, 14687, 14687, 14687, 14704, 14704, 14704, 14723, 14723, 14723, 14738, 14738, 14738, 14760, 14760, 14760, 14775, 14775, 14775, + 14794, 14794, 14794, 14813, 14813, 14813, 14830, 14830, 14830, 14839, 14839, 14839, 14859, 14894, 14894, 14909, 14942, 14942, 14955, 14990, 14990, 15005, 15038, 15038, + 15051, 15051, 15051, 15078, 15078, 15078, 15097, 15130, 15130, 15144, 15175, 15175, 15187, 15187, 15187, 15250, 15250, 15250, 15287, 15287, 15287, 15314, 15314, 15314, + 15352, 15352, 15352, 15390, 15390, 15390, 15403, 15403, 15403, 15444, 15444, 15444, 15461, 15461, 15461, 15534, 15534, 15534, 15582, 15582, 15582, 15652, 15652, 15652, + 15702, 15702, 15702, 15765, 15765, 15765, 15821, 15821, 15821, 15865, 15865, 15865, 15876, 15876, 15876, 15885, 15885, 15885, 15916, 15916, 15916, 15960, 15960, 15960, + 16002, 16002, 16002, 16036, 16036, 16036, 16081, 16081, 16081, 16088, 16088, 16088, 16111, 16111, 16111, 16146, 16146, 16146, 16155, 16155, 16155, 16180, 16180, 16180, + 16208, 16208, 16208, 16277, 16277, 16277, 16304, 16304, 16304, 16366, 16366, 16366, 16402, 16402, 16402, 16437, 16437, 16437, 16444, 16444, 16444, 16461, 16461, 16461, + 16482, 16482, 16482, 16516, 16516, 16516, 16539, 16539, 16539, 16579, 16579, 16579, 16602, 16602, 16602, 16625, 16625, 16625, 16672, 16672, 16672, 16784, 16784, 16784, + 16859, 16859, 16859, 16930, 16930, 16930, 16940, 201, 201, 16982, 16982, 16982, 17002, 17002, 17002, 17010, 17010, 17010, 17042, 17042, 17042, 17054, 17054, 17054, + 17065, 17065, 17065, 17091, 17091, 17091, 17103, 17103, 17103, 17120, 17120, 17120, 17156, 17156, 17156, 17173, 17173, 17173, 17205, 17205, 17205, 17235, 17235, 17235, + 17319, 17319, 17319, 17349, 17430, 17430, 17483, 17544, 17544, 17571, 17629, 17629, 17658, 17734, 17734, 17766, 17853, 17853, 17905, 17981, 17981, 18014, 18014, 18014, + 18031, 18031, 18031, 18053, 18053, 18053, 18079, 18079, 18079, 18106, 18106, 18106, 18184, 18184, 18184, 18243, 18243, 18243, 18299, 18299, 18299, 18363, 18363, 18363, + 18395, 18395, 18395, 18414, 18414, 18414, 18435, 18435, 18435, 18473, 18473, 18473, 18509, 18509, 18509, 18514, 18514, 18514, 18534, 18534, 18534, 18557, 18557, 18557, + 18577, 18577, 18577, 18617, 18617, 18617, 18641, 18685, 18685, 18714, 18714, 18714, 18771, 18771, 18771, 18850, 18850, 18850, 18935, 18935, 18935, 19017, 19017, 19017, + 19104, 19104, 19104, 19178, 19178, 19178, 19251, 19251, 19251, 19276, 19276, 19276, 19367, 19367, 19367, 19378, 19378, 19378, 19393, 19393, 19393, 19412, 19412, 19412, + 19437, 19437, 19437, 19448, 19448, 19448, 19467, 19467, 19467, 19484, 19484, 19484, 19496, 19496, 19496, 19520, 19520, 19520, 19545, 19545, 19545, 3971, 3971, 3971, + 19562, 19562, 19562, 19569, 19569, 19569, 19581, 19581, 19581, 201, 201, 201, 16437, 16437, 16437, 10666, 10666, 10666, 19600, 19600, 19600, 19609, 19609, 19609, + 19633, 19633, 19633, 19684, 19684, 19684, 19699, 19699, 19699, 19714, 19714, 19714, 19727, 19727, 19727, 19781, 19781, 19781, 19845, 19845, 19845, 19855, 19855, 19855, + 19869, 19869, 19869, 19894, 19894, 19894, 19924, 19924, 19924, 19937, 19937, 19937, 19952, 19952, 19952, 19976, 19976, 19976, 19993, 19993, 19993, 20014, 20014, 20014, + 20046, 20046, 20046, 20059, 20059, 20059, 20074, 20074, 20074, 20102, 20102, 20102, 20102, 20102, 20102, 20119, 20119, 20119, 20189, 20189, 20189, 20260, 20260, 20260, + 20345, 20345, 20345, 20353, 20353, 20353, 20365, 20365, 20365, 20388, 20388, 20388, 20424, 20424, 20424, 20458, 20458, 20458, 20483, 20483, 20483, 20507, 20507, 20507, + 20539, 20539, 20539, 20557, 20557, 20557, 20609, 20609, 20609, 20631, 20631, 20631, 20643, 20643, 20643, 20656, 20656, 20656, 20724, 20724, 20724, 20749, 20749, 20749, + 20779, 20779, 20779, 20798, 20798, 20798, 20836, 20836, 20836, 20862, 20862, 20862, 20887, 20887, 20887, 20957, 20957, 20957, 21020, 21020, 21020, 21075, 21075, 21075, + 21092, 21092, 21092, 21120, 21120, 21120, 21158, 21158, 21158, 21233, 21233, 21233, 21269, 21269, 21269, 21291, 21291, 21291, 21313, 21313, 21313, 21330, 21330, 21330, + 21362, 21362, 21362, 21388, 21388, 21388, 21427, 21427, 21427, 21442, 21442, 21442, 21463, 21463, 21463, 21528, 21528, 21528, 21612, 21612, 21612, 21683, 21683, 21683, + 21741, 21741, 21741, 21762, 21762, 21762, 21788, 21788, 21788, 21857, 21857, 21857, 21917, 21917, 21917, 21934, 21934, 21934, 21953, 21953, 21953, 21994, 21994, 21994, + 22024, 22024, 22024, 14494, 14525, 14525, 1876, 1876, 1876, 22067, 22067, 22067, 22084, 22084, 22084, 22099, 22099, 22099, 22114, 22136, 22136, 22149, 22149, 22149, + 22162, 22162, 22162, 22175, 22175, 22175, 22207, 22207, 22207, 22214, 22214, 22214, 22246, 22246, 22246, 22278, 22278, 22278, 22297, 22297, 22297, 22316, 22316, 22316, + 22338, 22338, 22338, 22359, 1865, 1865, 22395, 22395, 22395, 22421, 22421, 22421, 22447, 22447, 22447, 22473, 22473, 22473, 22490, 22515, 22515, 22529, 22574, 22574, + 22600, 22600, 22600, 22612, 22612, 22612, 22636, 22636, 22636, 22655, 22655, 22655, 22679, 22679, 22679, 22700, 22700, 22700, 22717, 22717, 22717, 22734, 22734, 22734, + 22747, 22747, 22747, 22781, 22781, 22781, 22806, 22806, 22806, 22843, 22843, 22843, 22862, 22862, 22862, 22894, 22894, 22894, 22910, 22910, 22910, 22936, 22936, 22936, + 22953, 22953, 22953, 22974, 23012, 23012, 23041, 23041, 23041, 23067, 23067, 23067, 23078, 23078, 23078, 23095, 23095, 23095, 23153, 23153, 23153, 23224, 23224, 23224, + 23294, 23294, 23294, 23320, 23320, 23320, 23331, 23331, 23331, 23346, 23346, 23346, 23428, 23428, 23428, 23459, 23459, 23459, 23466, 23466, 23466, 23529, 23529, 23529, + 23619, 23619, 23619, 23671, 23671, 23671, 23715, 23715, 23715, 23786, 23786, 23786, 23871, 23871, 23871, 23903, 23903, 23903, 23972, 23972, 23972, 24002, 24002, 24002, + 24048, 24048, 24048, 24097, 24097, 24097, 24136, 24136, 24136, 24246, 24246, 24246, 24357, 24357, 24357, 24468, 24468, 24468, 24564, 24564, 24564, 24573, 24573, 24573, + 24617, 24617, 24617, 24661, 24661, 24661, 24734, 24734, 24734, 24805, 24805, 24805, 24821, 24821, 24821, 24875, 24875, 24875, 24986, 24986, 24986, 25050, 25050, 25050, + 25094, 25094, 25094, 25156, 25156, 25156, 25229, 25229, 25229, 25320, 25320, 25320, 25383, 25383, 25383, 25425, 25425, 25425, 25548, 25548, 25548, 25586, 25586, 25586, + 25676, 25676, 25676, 25745, 25745, 25745, 25808, 25808, 25808, 25899, 25899, 25899, 25981, 25981, 25981, 26042, 26042, 26042, 26122, 26122, 26122, 26189, 26189, 26189, + 26246, 26246, 26246, 26338, 26338, 26338, 26400, 26400, 26400, 4366, 4366, 4366, 26480, 26480, 26480, 26521, 26521, 26521, 26572, 26572, 26572, 26645, 26645, 26645, + 26716, 26716, 26716, 26782, 26782, 26782, 26841, 26841, 26841, 26899, 26899, 26899, 26972, 26972, 26972, 27020, 27020, 27020, 27077, 27077, 27077, 27142, 27142, 27142, + 27188, 27188, 27188, 27236, 27236, 27236, 27301, 27301, 27301, 27345, 27345, 27345, 27403, 27403, 27403, 27449, 27449, 27449, 27506, 27506, 27506, 27595, 27595, 27595, + 27674, 27674, 27674, 27726, 27726, 27726, 27787, 27787, 27787, 27846, 27846, 27846, 27899, 27899, 27899, 27962, 27962, 27962, 28059, 28059, 28059, 28116, 28116, 28116, + 28183, 28183, 28183, 28258, 28258, 28258, 28319, 28319, 28319, 28405, 28405, 28405, 28455, 28455, 28455, 28499, 28499, 28499, 28580, 28580, 28580, 28640, 28640, 28640, + 28721, 28721, 28721, 28749, 28749, 28749, 28832, 28832, 28832, 28898, 28898, 28898, 28939, 28939, 28939, 28986, 28986, 28986, 29033, 29033, 29033, 29089, 29089, 29089, + 29155, 29155, 29155, 29211, 29211, 29211, 29274, 29274, 29274, 29303, 29303, 29303, 29346, 29346, 29346, 29405, 29405, 29405, 29488, 29488, 29488, 29559, 29559, 29559, + 29581, 29581, 29581, 29631, 29631, 29631, 29713, 29713, 29713, 29762, 29762, 29762, 29792, 29792, 29792, 29876, 29876, 29876, 29921, 29921, 29921, 29951, 29951, 29951, + 30014, 30014, 30014, 30082, 30082, 30082, 30153, 30153, 30153, 30183, 30183, 30183, 30246, 30246, 30246, 30261, 30261, 30261, 30309, 30309, 30309, 30358, 30358, 30358, + 30415, 30415, 30415, 30460, 30460, 30460, 30521, 30521, 30521, 30560, 30560, 30560, 30587, 30587, 30587, 30630, 30630, 30630, 30713, 30713, 30713, 30768, 30768, 30768, + 30857, 30857, 30857, 30926, 30926, 30926, 30992, 30992, 30992, 31061, 31061, 31061, 31092, 31092, 31092, 31164, 31164, 31164, 31210, 31210, 31210, 31246, 31246, 31246, + 31319, 31319, 31319, 31395, 31395, 31395, 31460, 31460, 31460, 31533, 31533, 31533, 31555, 31555, 31555, 31628, 31628, 31628, 31725, 31725, 31725, 6011, 6011, 6011, + 31782, 31782, 31782, 31836, 31836, 31836, 31887, 31887, 31887, 31948, 31948, 31948, 32084, 32084, 32084, 32157, 32157, 32157, 32262, 32262, 32262, 32340, 32340, 32340, + 32405, 32405, 32405, 32434, 32434, 32434, 32471, 32471, 32471, 32537, 32537, 32537, 32601, 32601, 32601, 32682, 32682, 32682, 32748, 32748, 32748, 32808, 32808, 32808, + 32863, 32863, 32863, 32945, 32945, 32945, 32982, 32982, 32982, 32997, 32997, 32997, 33060, 33060, 33060, 33073, 33073, 33073, 33152, 33152, 33152, 33223, 33223, 33223, + 33304, 33304, 33304, 33404, 33404, 33404, 33463, 33463, 33463, 33552, 33552, 33552, 33671, 33671, 33671, 33751, 33751, 33751, 33849, 33849, 33849, 33926, 33926, 33926, + 33956, 33956, 33956, 34060, 34060, 34060, 34098, 34098, 34098, 34122, 34122, 34122, 34158, 34158, 34158, 34251, 34251, 34251, 34344, 34344, 34344, 34397, 34397, 34397, + 34458, 34458, 34458, 34515, 34515, 34515, 34578, 34578, 34578, 34643, 34643, 34643, 34704, 34704, 34704, 34722, 34722, 34722, 34773, 34773, 34773, 34827, 34827, 34827, + 34876, 34876, 34876, 34948, 34948, 34948, 34963, 34963, 34963, 35029, 35029, 35029, 35062, 35062, 35062, 35123, 35123, 35123, 35200, 35200, 35200, 35232, 35232, 35232, + 35291, 35291, 35291, 35339, 35339, 35339, 35398, 35398, 35398, 35443, 35443, 35443, 35458, 35458, 35458, 35558, 35558, 35558, 35598, 35598, 35598, 35611, 35611, 35611, + 35630, 35630, 35630, 35673, 35673, 35673, 35721, 35721, 35721, 35794, 35794, 35794, 35809, 35809, 35809, 35849, 35849, 35849, 35906, 35906, 35906, 35930, 35930, 35930, + 35977, 35977, 35977, 36039, 36039, 36039, 36106, 36106, 36106, 36144, 36144, 36144, 36213, 36213, 36213, 36305, 36305, 36305, 36377, 36377, 36377, 36423, 36423, 36423, + 36462, 36462, 36462, 36486, 36486, 36486, 36534, 36534, 36534, 36579, 36579, 36579, 36606, 36606, 36606, 36633, 36633, 36633, 36685, 36685, 36685, 36728, 36728, 36728, + 36802, 36802, 36802, 36877, 36877, 36877, 36931, 36931, 36931, 36971, 36971, 36971, 37029, 37029, 37029, 37051, 37051, 37051, 37125, 37125, 37125, 37172, 37172, 37172, + 37204, 37204, 37204, 37238, 37238, 37238, 37262, 37262, 37262, 37348, 37348, 37348, 37448, 37448, 37448, 37553, 37553, 37553, 37620, 37620, 37620, 37691, 37691, 37691, + 37764, 37764, 37764, 37847, 37847, 37847, 37925, 37925, 37925, 38020, 38020, 38020, 38062, 38062, 38062, 38077, 38077, 38077, 38130, 38130, 38130, 38143, 38143, 38143, + 38213, 38213, 38213, 38253, 38253, 38253, 38315, 38315, 38315, 38379, 38379, 38379, 38422, 38422, 38422, 38511, 38511, 38511, 38528, 38528, 38528, 38571, 38571, 38571, + 38686, 38686, 38686, 38749, 38749, 38749, 38801, 38801, 38801, 38889, 38889, 38889, 38956, 38956, 38956, 39021, 39021, 39021, 39100, 39100, 39100, 39188, 39188, 39188, + 39250, 39250, 39250, 39338, 39338, 39338, 39397, 39397, 39397, 39506, 39506, 39506, 39616, 39616, 39616, 39734, 39734, 39734, 39841, 39841, 39841, 39888, 39888, 39888, + 39925, 39925, 39925, 39934, 39934, 39934, 39985, 39985, 39985, 40029, 40029, 40029, 40110, 40110, 40110, 40200, 40200, 40200, 40291, 40291, 40291, 40325, 40325, 40325, + 40374, 40374, 40374, 40455, 40455, 40455, 40529, 40529, 40529, 40611, 40611, 40611, 40677, 40677, 40677, 40714, 40714, 40714, 40765, 40765, 40765, 40789, 40789, 40789, + 40803, 40803, 40803, 40850, 40850, 40850, 40878, 40878, 40878, 40925, 40925, 40925, 40970, 40970, 40970, 41038, 41038, 41038, 41095, 41095, 41095, 41148, 41148, 41148, + 41210, 41210, 41210, 41210, 41210, 41210, 41268, 41268, 41268, 41307, 41307, 41307, 41333, 41333, 41333, 41407, 41407, 41407, 41462, 41462, 41462, 41556, 41556, 41556, + 41617, 41617, 41617, 41667, 41667, 41667, 41740, 41740, 41740, 41813, 41813, 41813, 41860, 41860, 41860, 41936, 41936, 41936, 42001, 42001, 42001, 42082, 42082, 42082, + 42094, 42094, 42094, 42134, 42134, 42134, 42214, 42214, 42214, 3982, 3982, 3982, 42289, 42289, 42289, 42331, 42331, 42331, 42367, 42367, 42367, 42429, 42429, 42429, + 42522, 42522, 42522, 10560, 10560, 10560, 42606, 42606, 42606, 42671, 42671, 42671, 42725, 42725, 42725, 42767, 42767, 42767, 42804, 42804, 42804, 42813, 42813, 42813, + 42828, 42828, 42828, 42890, 42890, 42890, 42918, 42918, 42918, 43000, 43000, 43000, 43088, 43088, 43088, 43155, 43155, 43155, 43247, 43247, 43247, 43316, 43316, 43316, + 43441, 43441, 43441, 43495, 43495, 43495, 43547, 43547, 43547, 43578, 43578, 43578, 43676, 43676, 43676, 43734, 43734, 43734, 43785, 43785, 43785, 43800, 43800, 43800, + 43864, 43864, 43864, 43928, 43928, 43928, 43989, 43989, 43989, 44054, 44054, 44054, 44129, 44129, 44129, 44209, 44209, 44209, 44260, 44260, 44260, 44295, 44295, 44295, + 44335, 44335, 44335, 44377, 44377, 44377, 44456, 44456, 44456, 44505, 44505, 44505, 44540, 44540, 44540, 44596, 44596, 44596, 44633, 44633, 44633, 44662, 44662, 44662, + 9287, 9287, 9287, 44699, 44699, 44699, 44769, 44769, 44769, 44805, 44805, 44805, 44816, 44816, 44816, 44858, 44858, 44858, 44873, 44873, 44873, 44892, 44892, 44892, + 44930, 44930, 44930, 45001, 45001, 45001, 45053, 45053, 45053, 45124, 45124, 45124, 45206, 45206, 45206, 9347, 9347, 9347, 45265, 45265, 45265, 45333, 45333, 45333, + 45403, 45403, 45403, 45449, 45449, 45449, 45464, 45464, 45464, 45507, 45507, 45507, 45527, 45527, 45527, 45547, 45547, 45547, 8629, 8629, 8629, 45582, 45582, 45582, + 45603, 45603, 45603, 45625, 45625, 45625, 45634, 45634, 45634, 10984, 10984, 10984, 19924, 19924, 19924, 45641, 45641, 45641, 45700, 45700, 45700, 45719, 45719, 45719, + 45735, 45735, 45735, 45744, 45744, 45744, 45751, 45751, 45751, 45769, 45769, 45769, 45790, 45790, 45790, 45803, 45803, 45803, 45814, 45814, 45814, 45832, 45832, 45832, + 45849, 45849, 45849, 45889, 45889, 45889, 45926, 45926, 45926, 45941, 45987, 45987, 46008, 46048, 46048, 46063, 46063, 46063, 46082, 46082, 46082, 46103, 46103, 46103, + 46122, 46122, 46122, 46139, 46139, 46139, 6643, 6643, 6643, 46152, 46152, 46152, 46176, 46176, 46176, 46204, 46204, 46204, 46223, 46265, 46265, 46290, 46290, 46290, + 46301, 46301, 46301, 46332, 46332, 46332, 46425, 46425, 46425, 46452, 46452, 46452, 46465, 46465, 46465, 46485, 46485, 46485, 46511, 46511, 46511, 46535, 46535, 46535, + 46571, 46571, 46571, 46596, 46596, 46596, 46603, 46603, 46603, 46612, 46612, 46612, 46621, 46621, 46621, 46633, 46633, 46633, 46648, 46648, 46648, 2401, 2401, 2401, + 46663, 46687, 46687, 46698, 46718, 46718, 46725, 46751, 46751, 46764, 46764, 46764, 46783, 46783, 46783, 46800, 46800, 46800, 46824, 46868, 46868, 46896, 46896, 46896, + 46915, 46915, 46915, 46940, 46940, 46940, 46949, 46949, 46949, 46955, 46955, 46955, 46960, 46960, 46960, 46977, 46977, 46977, 47003, 47003, 47003, 47010, 47010, 47010, + 47034, 47034, 47034, 47056, 47056, 47056, 47093, 47093, 47093, 47113, 47113, 47113, 47133, 47133, 47133, 47137, 47137, 47137, 47141, 47141, 47141, 47161, 47161, 47161, + 47187, 47187, 47187, 47208, 47208, 47208, 47232, 47232, 47232, 47253, 47253, 47253, 47274, 47274, 47274, 47300, 47300, 47300, 47324, 47324, 47324, 47339, 47339, 47339, + 47352, 47352, 47352, 47371, 47371, 47371, 47391, 47391, 47391, 47410, 47410, 47410, 47432, 47432, 47432, 47451, 47451, 47451, 47481, 47481, 47481, 47500, 47500, 47500, + 47538, 47538, 47538, 47560, 47560, 47560, 43785, 43785, 43785, 47571, 47571, 47571, 47590, 47590, 47590, 47653, 47653, 47653, 47666, 47666, 47666, 47686, 47686, 47686, + 47711, 47711, 47711, 47735, 47777, 47777, 6126, 47804, 47804, 47819, 47819, 47819, 47843, 47843, 47843, 47858, 47858, 47858, 47873, 201, 201, 47919, 47919, 47919, + 47954, 47954, 47954, 47994, 47994, 47994, 48031, 48031, 48031, 48072, 48072, 48072, 48098, 48098, 48098, 48109, 48109, 48109, 48155, 48155, 48155, 48205, 48205, 48205, + 2104, 2104, 2104, 48231, 48231, 48231, 48247, 48247, 48247, 48265, 48265, 48265, 48282, 48282, 48282, 48315, 48315, 48315, 20014, 20014, 20014, 48349, 48349, 48349, + 48375, 48375, 48375, 48411, 48411, 48411, 48429, 48429, 48429, 48467, 48467, 48467, 48496, 48496, 48496, 48517, 48517, 48517, 48537, 48537, 48537, 48566, 48566, 48566, + 48601, 48601, 48601, 48616, 48654, 48654, 48679, 48679, 48679, 48711, 48711, 48711, 6263, 6263, 6263, 48726, 48767, 48767, 48795, 48795, 48795, 48837, 48888, 48888, + 48918, 48918, 48918, 48939, 48981, 48981, 49004, 49004, 49004, 363, 363, 363, 49017, 49017, 49017, 49058, 49090, 49090, 49113, 49113, 49113, 49135, 49135, 49135, + 49157, 49157, 49157, 49193, 49193, 49193, 2876, 2876, 2876, 49211, 49251, 49251, 49276, 49321, 49321, 49360, 49360, 49360, 49402, 49402, 49402, 49441, 49441, 49441, + 49478, 49478, 49478, 49497, 49497, 49497, 49524, 49576, 49576, 49622, 49622, 49622, 49662, 49662, 49662, 49688, 49688, 49688, 49708, 49750, 49750, 49773, 49825, 49825, + 49858, 49858, 49858, 49884, 49884, 49884, 49901, 49901, 49901, 49937, 49937, 49937, 49956, 49956, 49956, 7153, 7153, 7153, 49993, 50040, 50040, 46596, 46596, 46596, + 50069, 50069, 50069, 50097, 50138, 50138, 50160, 50160, 50160, 50188, 50188, 50188, 50219, 50219, 50219, 50248, 50248, 50248, 50272, 50319, 50319, 50361, 50404, 50404, + 50444, 50444, 50444, 50479, 50479, 50479, 50514, 50554, 50554, 50575, 50575, 50575, 50611, 50647, 50647, 50672, 50672, 50672, 50691, 50691, 50691, 50710, 50710, 50710, + 50734, 5925, 5925, 50780, 50835, 50835, 50875, 50875, 50875, 50901, 50901, 50901, 50933, 50933, 50933, 50965, 50965, 50965, 50986, 50986, 50986, 51011, 51011, 51011, + 51030, 51080, 51080, 51108, 51108, 51108, 51139, 51139, 51139, 51164, 51194, 51194, 51211, 51211, 51211, 51241, 49157, 49157, 51302, 51302, 51302, 51330, 51330, 51330, + 51339, 51386, 51386, 51409, 51409, 51409, 51436, 51474, 51474, 51503, 51503, 51503, 51528, 51528, 51528, 51547, 51547, 51547, 51574, 51574, 51574, 51583, 51583, 51583, + 51594, 51594, 51594, 51607, 51607, 51607, 51630, 51630, 51630, 51660, 51660, 51660, 51682, 51682, 51682, 1891, 1891, 1891, 51718, 51718, 51718, 51802, 51802, 51802, + 51834, 51834, 51834, 51860, 51860, 51860, 51869, 51869, 51869, 51878, 51878, 51878, 51885, 51885, 51885, 45987, 45987, 45987, 51912, 51912, 51912, 51946, 51946, 51946, + 51972, 52010, 52010, 52035, 52035, 52035, 52064, 52109, 52109, 52141, 52141, 52141, 52161, 52161, 52161, 52191, 52191, 52191, 52217, 52217, 52217, 52243, 52243, 52243, + 52269, 52269, 52269, 52297, 52297, 52297, 52310, 52310, 52310, 52323, 52323, 52323, 52346, 52346, 52346, 52377, 52377, 52377, 52401, 52401, 52401, 52421, 52421, 52421, + 52447, 52447, 52447, 52471, 52471, 52471, 52507, 52507, 52507, 52526, 52526, 52526, 52549, 52549, 52549, 52574, 52574, 52574, 52594, 52594, 52594, 52650, 52650, 52650, + 52674, 52674, 52674, 52687, 52687, 52687, 22806, 22806, 22806, 22843, 22843, 22843, 52732, 52732, 52732, 52784, 52784, 52784, 52795, 52795, 52795, 52810, 52810, 52810, + 52823, 52823, 52823, 43547, 43547, 43547, 52834, 52834, 52834, 52844, 52844, 52844, 52855, 52855, 52855, 52864, 52864, 52864, 52883, 52883, 52883, 52913, 52913, 52913, + 52926, 52926, 52926, 52954, 52954, 52954, 52982, 52982, 52982, 52995, 52995, 52995, 53022, 53022, 53022, 53052, 53052, 53052, 53065, 53065, 53065, 53072, 53072, 53072, + 53093, 53093, 53093, 53120, 53120, 53120, 53141, 53183, 53183, 53210, 53210, 53210, 53227, 53227, 53227, 53248, 53248, 53248, 53271, 53303, 53303, 53312, 53312, 53312, + 53335, 53335, 53335, 53350, 53350, 53350, 10715, 10715, 10715, 53367, 53367, 53367, 53380, 53380, 53380, 53416, 53416, 53416, 53423, 53423, 53423, 53453, 53453, 53453, + 53464, 53464, 53464, 53484, 53484, 53484, 53508, 53508, 53508, 53525, 53525, 53525, 53536, 53536, 53536, 53547, 53547, 53547, 53560, 53560, 53560, 53565, 53565, 53565, + 53575, 53575, 53575, 53592, 53592, 53592, 53613, 53613, 53613, 53683, 53683, 53700, 53704, 53704, 53704, 53736, 53736, 53736, 53766, 53766, 53766, 53792, 53792, 53792, + 53816, 53816, 53816, 47187, 47187, 47187, 53823, 53823, 53823, 44805, 44805, 44805, 53846, 53846, 53846, 53945, 53945, 53945, 54049, 54049, 54049, 54128, 54128, 54128, + 54237, 54237, 54237, 54332, 54332, 54332, 54418, 54418, 54418, 54494, 54494, 54494, 54505, 54505, 54505, 54552, 54552, 54552, 54614, 54614, 54614, 54665, 54665, 54665, + 54716, 54716, 54716, 54743, 54743, 54743, 54776, 54776, 54776, 54797, 54797, 54797, 54872, 54872, 54872, 54948, 54948, 54948, 54972, 54972, 54972, 55064, 55064, 55064, + 55093, 55093, 55093, 55118, 55118, 55118, 3916, 3916, 3916, 55133, 55133, 55133, 55152, 55152, 55152, 55159, 55159, 55159, 55183, 55183, 55183, 55207, 55207, 55207, }; -// Spanish: 38752 bytes of text. +// Spanish: 39169 bytes of text. constexpr char Text_es[] = "\000ADQUISICI\303\223N\000{0} c\303\263digos\000Siempre\000Amplitud\000Ampl.\000" "Amplitud limitada al l\303\255mite de la forma\000{0} V (m\303\241x {1}) nom.\000" @@ -3461,12 +3495,13 @@ constexpr char Text_es[] = "Salida\000Par\303\241m.\000Posici\303\263n\000Subida/Bajada\000AWG\000No v\303\241lida\000" "Seno pos.\000Disparo\000Zoom {0}\000CH1 es el \303\272ltimo canal activo\000" "CH1: \303\272ltimo canal activo\000CH2 es el \303\272ltimo canal activo\000" - "CH2: \303\272ltimo canal activo\000Canal\000CH{0} desact.\000Desact., CH{0} {1} ptos\000" - "Act., {0} ptos\000CH{0} lectura {1}\000CH2 (entrada 1)\000CH1 (entrada 2)\000CANAL\000" - "C\303\263digos 0-4095 como 8 bits\000C\303\263d. 0-4095 a 8 bits\000Color\000\303\201mbar\000" - "Negro\000Azul\000Verde\000Rojo\000Cian\000Grafito\000Gris\000Azul marino\000Naranja\000Papel\000" - "Plata\000Celeste\000Violeta\000Blanco\000Amarillo\000COLORES\000Punto de acceso\000" - "Punto acceso\000A\303\261adir car\303\241cter\000A\303\261adir\000Direcci\303\263n IPv4\000" + "CH2: \303\272ltimo canal activo\000Canal\000Funci\303\263n\000CH{0} desact.\000" + "Desact., oculto\000Desact., CH{0} {1} ptos\000Act., {0} ptos\000CH{0} lectura {1}\000" + "CH2 (entrada 1)\000CH1 (entrada 2)\000CANAL\000C\303\263digos 0-4095 como 8 bits\000" + "C\303\263d. 0-4095 a 8 bits\000Color\000\303\201mbar\000Negro\000Azul\000Verde\000Rojo\000" + "Cian\000Grafito\000Gris\000Azul marino\000Naranja\000Papel\000Plata\000Celeste\000Violeta\000" + "Blanco\000Amarillo\000COLORES\000Punto de acceso\000Punto acceso\000" + "A\303\261adir car\303\241cter\000A\303\261adir\000Direcci\303\263n IPv4\000" "Contrase\303\261a del AP\000Clave AP\000PIN BLE\000Bluetooth LE\000Car\303\241cter\000" "{0} caract.\000Conectar\000Conectando\000Borrar el \303\272ltimo\000Borrar \303\272ltimo\000" "Modo de desarrollo\000Modo desarrollo\000Buscar redes Wi-Fi\000Buscar redes\000Red\000" @@ -3565,17 +3600,17 @@ constexpr char Text_es[] = "Registro largo\000Memoria profunda\000Mem. profunda\000Densidad\000Color de densidad\000" "Color densidad\000Mono\000x1000 cuentas\000DISPOSICI\303\223N DIGITAL\000Desactivado\000" "funci\303\263n\000tecla de grupo\000grupo\000tecla\000rango\000" - "El mult\303\255metro no confirm\303\263 el comando de {0}\000F\303\241brica: DAC <1kHz\000" - "{0}, ahora {1}\000PWM siempre\000Ciclo de trabajo\000Ciclo trab.\000Activado\000IBM\000" - "Segmentos\000F\303\241brica\000Campo\000Frecuencia limitada al m\303\241ximo de la forma\000" - "Borrador\000{0} (m\303\241x {1})\000FRECUENCIA\000Del contador\000Capacidad\000Capac.\000" - "Continuidad\000Contin.\000Corriente CA\000A CA\000Corriente CC\000A CC\000Diodo\000" - "Diodo + pitido\000Miliamperios CA\000mA CA\000Miliamperios CC\000mA CC\000Milivoltios CA\000" - "mV CA\000Milivoltios CC\000mV CC\000Resistencia\000Resist.\000Termopar\000Tensi\303\263n CA\000" - "V CA\000Tensi\303\263n CC\000V CC\000Aplique la referencia a la punta\000" - "Aplique {0} a la punta de CH{1}\000En el l\303\255mite del ADC\000L\303\255mite ADC\000" - "Calibraci\303\263n de ganancia\000CALIBRACI\303\223N DE GANANCIA\000Celda\000" - "CONECTE LA PUNTA CH{0} A GND\000Correcci\303\263n\000" + "El mult\303\255metro no confirm\303\263 el comando de {0}\000DMM lectura {0}\000" + "F\303\241brica: DAC <1kHz\000{0}, ahora {1}\000PWM siempre\000Ciclo de trabajo\000" + "Ciclo trab.\000Activado\000IBM\000Segmentos\000F\303\241brica\000Campo\000" + "Frecuencia limitada al m\303\241ximo de la forma\000Borrador\000{0} (m\303\241x {1})\000" + "FRECUENCIA\000Del contador\000Capacidad\000Capac.\000Continuidad\000Contin.\000Corriente CA\000" + "A CA\000Corriente CC\000A CC\000Diodo\000Diodo + pitido\000Miliamperios CA\000mA CA\000" + "Miliamperios CC\000mA CC\000Milivoltios CA\000mV CA\000Milivoltios CC\000mV CC\000" + "Resistencia\000Resist.\000Termopar\000Tensi\303\263n CA\000V CA\000Tensi\303\263n CC\000V CC\000" + "Aplique la referencia a la punta\000Aplique {0} a la punta de CH{1}\000" + "En el l\303\255mite del ADC\000L\303\255mite ADC\000Calibraci\303\263n de ganancia\000" + "CALIBRACI\303\223N DE GANANCIA\000Celda\000CONECTE LA PUNTA CH{0} A GND\000Correcci\303\263n\000" "fallo: nivel de la punta fuera del rango de cero\000" "fallo: correcci\303\263n fuera de 0,8..1,25\000" "fallo: excursi\303\263n de referencia fuera de 40..110 c\303\263digos\000" @@ -3656,13 +3691,13 @@ constexpr char Text_es[] = "Amplitud (Alto - Bajo)\000Ampl. (alto-bajo)\000Bajo (m\303\255nimo robusto)\000" "Bajo (robusto)\000Frecuencia por hardware / FCNT\000Frec. hardware / FCNT\000M\303\241ximo\000" "Media\000M\303\255nimo\000Medir sobre\000Medir en\000Pico a pico\000Pico-pico\000Periodo\000" - "Pulsos (flancos ascendentes)\000Pulsos (flancos asc.)\000RMS\000Alto (m\303\241ximo robusto)\000" - "Alto (robusto)\000MEDICI\303\223N\000MEDICIONES\000Midiendo...\000Anal\303\263gico\000" - "Gr\303\241fico de barras\000Barra\000Unidad de la barra\000Unidad barra\000Colores base\000" - "D\303\255gitos base\000Registro CSV\000NO V\303\201LIDO\000" - "Fuente de uni\303\263n fr\303\255a\000Uni\303\263n fr\303\255a\000EN VIVO\000" - "Uni\303\263n manual\000Uni\303\263n man.\000Medici\303\263n\000SIN VALOR\000SOBRECARGA\000" - "Rango {0}\000Rango\000Rango no disponible\000Relativo\000REL ref.: controlador\000" + "Pulsos (flancos ascendentes)\000Pulsos (flancos asc.)\000RMS\000RMS (no en funciones CA)\000" + "RMS (no CA)\000Alto (m\303\241ximo robusto)\000Alto (robusto)\000MEDICI\303\223N\000" + "MEDICIONES\000Midiendo...\000Anal\303\263gico\000Gr\303\241fico de barras\000Barra\000" + "Unidad de la barra\000Unidad barra\000Colores base\000D\303\255gitos base\000Registro CSV\000" + "NO V\303\201LIDO\000Fuente de uni\303\263n fr\303\255a\000Uni\303\263n fr\303\255a\000" + "EN VIVO\000Uni\303\263n manual\000Uni\303\263n man.\000Medici\303\263n\000SIN VALOR\000" + "SOBRECARGA\000Rango {0}\000Rango\000Rango no disponible\000Relativo\000REL ref.: controlador\000" "REL ref. {0}\000Restablecer estad\303\255sticas\000Borrar estad\303\255sticas\000" "Serie 115200\000Registro de sesi\303\263n\000Registro sesi\303\263n\000OBSOLETO\000" "Estad\303\255sticas\000Unidades de temperatura\000Unidades temp.\000Tipo de termopar\000" @@ -3747,8 +3782,10 @@ constexpr char Text_es[] = "El modo de desarrollo mantiene el equipo encendido\000Desactivar hardware + software\000" "Desactivar ganancia de usuario\000\302\277DESCONECTAR LAS ENTRADAS?\000" "Desconecte el depurador SWD antes de activar\000Desconecte la punta de la se\303\261al\000" - "Error al seleccionar la funci\303\263n del mult\303\255metro\000" - "El mult\303\255metro dej\303\263 de responder: reiniciado\000Dibujando...\000" + "Solo DMM: disparo Auto\000Error al seleccionar la funci\303\263n del mult\303\255metro\000" + "Lecturas de DMM fuera de su escala m\303\241xima\000" + "El mult\303\255metro dej\303\263 de responder: reiniciado\000" + "El cero de DMM no deja espacio: mu\303\251valo\000Dibujando...\000" "Active RUN y termine otras operaciones\000Active RUN y detenga GEN / otras operaciones\000" "Active primero el controlador USB\000Salir\000" "El margen esperado debe ser 40..110 c\303\263digos\000" @@ -3787,19 +3824,21 @@ constexpr char Text_es[] = "Calibraci\303\263n de intercalado cancelada\000JSON de intercalado no guardado; sin cambios\000" "Intercalado desactivado\000Offset de intercalado guardado\000Intercalado activo: solo CH1\000" "OPCIONES DE PANTALLA NO V\303\201LIDAS\000PNG no v\303\241lido o da\303\261ado\000Saltar\000" - "No se encontraron las fuentes del idioma; instale el firmware .OSC en Recovery\000Lista\000" - "Cargar\000Cargando imagen...\000Error al leer el directorio LOGS\000" - "Bater\303\255a baja: apagado en 20 segundos\000Zoom m\303\241ximo\000" - "Medir offset de intercalado\000Medir tono\000Comando de medici\303\263n ocupado\000" - "Midiendo offset de intercalado...\000El mult\303\255metro no inform\303\263 un rango manual\000" - "Zoom m\303\255nimo\000Se necesita un seno limpio. Revise la se\303\261al.\000" + "No se encontraron las fuentes del idioma; instale el firmware .OSC en Recovery\000" + "Escala m\303\241xima de DMM\000Lista\000Cargar\000Cargando imagen...\000" + "Error al leer el directorio LOGS\000Bater\303\255a baja: apagado en 20 segundos\000" + "Zoom m\303\241ximo\000Medir offset de intercalado\000Medir tono\000" + "Comando de medici\303\263n ocupado\000Midiendo offset de intercalado...\000" + "El mult\303\255metro no inform\303\263 un rango manual\000Zoom m\303\255nimo\000" + "Se necesita un seno limpio. Revise la se\303\261al.\000" "Requiere solo CH1 a 10/25 ns, sin Roll/GEN\000Requiere intercalado activo y disparo Auto\000" "Este generador no tiene AWG\000Ninguna forma de onda AWG cargada\000Ninguna onda AWG cargada\000" - "Sin archivos CSV\000Sin sesiones del mult\303\255metro\000Ning\303\272n archivo abierto\000" - "Ning\303\272n archivo seleccionado\000Sin captura nueva. Reintente.\000" - "Ninguna imagen seleccionada\000Este modelo no tiene offset de intercalado\000" - "Este modelo no tiene captura intercalada\000A\303\272n no hay marcadores en este barrido\000" - "Ning\303\272n registro que mover\000Ning\303\272n registro para ampliar\000Sin registros\000" + "Sin archivos CSV\000No hay lecturas de DMM en pantalla\000Sin sesiones del mult\303\255metro\000" + "Ning\303\272n archivo abierto\000Ning\303\272n archivo seleccionado\000" + "Sin captura nueva. Reintente.\000Ninguna imagen seleccionada\000" + "Este modelo no tiene offset de intercalado\000Este modelo no tiene captura intercalada\000" + "A\303\272n no hay marcadores en este barrido\000Ning\303\272n registro que mover\000" + "Ning\303\272n registro para ampliar\000Sin registros\000" "Sin almacenamiento: los ajustes no se guardar\303\241n\000Ninguna forma de onda seleccionada\000" "Sin formas de onda\000No es un archivo de sesi\303\263n\000No aplicado\000" "No aplicado: frecuencia de salida no admitida\000" @@ -3812,15 +3851,18 @@ constexpr char Text_es[] = "No cargada: memoria de forma de onda o frecuencia no disponible\000" "Offset vigente para nuevos registros (no guardado)\000Offset fuera de +-16 c\303\263digos\000" "Abrir\000Se conservan otros archivos en CAPTURES\000Alejar\000" - "ERROR DE CODIFICACI\303\223N PNG\000Predisparo: no en Roll\000" - "El perfil no super\303\263 las pruebas de tono.\000Archivo de perfil no v\303\241lido\000" - "Perfil guardado. Reinicie para aplicarlo.\000Protocolo\000Comando de rango ocupado\000" + "M\303\241s de 20 s/div: Roll, disparo Auto\000ERROR DE CODIFICACI\303\223N PNG\000" + "Predisparo: no en Roll\000El perfil no super\303\263 las pruebas de tono.\000" + "Archivo de perfil no v\303\241lido\000Perfil guardado. Reinicie para aplicarlo.\000Protocolo\000" + "Comando de rango ocupado\000" "RAW NO DISPONIBLE: Saltar requiere retener el registro decodificado\000" "Grabaci\303\263n cancelada; abriendo Recovery\000Grabaci\303\263n cancelada; apagando\000" "Reduzca el nivel del seno o cambie la escala de CH1\000" "La referencia requiere una trama completa\000La referencia requiere un canal Y-T visible\000" - "REL requiere una lectura actual v\303\241lida\000Suelte HOLD para cambiar de funci\303\263n\000" - "Libere la forma de onda USB para restaurar\000Reinicie tras guardar para aplicar\000" + "REL requiere una lectura actual v\303\241lida\000" + "Suelte HOLD en el mult\303\255metro para cambiar de funci\303\263n\000" + "Suelte HOLD para cambiar de funci\303\263n\000Libere la forma de onda USB para restaurar\000" + "Reinicie tras guardar para aplicar\000" "Reinicio rechazado; protecci\303\263n de 360 MHz no disponible: 200 MHz activo\000" "Reinicio rechazado; fallo de reloj: funcionando con HSI, reinicie\000" "Reinicio rechazado: ajustes no guardados; apague o use Recovery\000" @@ -3848,7 +3890,7 @@ constexpr char Text_es[] = "La sesi\303\263n requiere antes una lectura del mult\303\255metro\000" "DISCO DE AJUSTES NO DISPONIBLE\000Ajustes no guardados; abriendo Recovery\000" "Ajustes no guardados; apagando\000Ajustes restaurados de una copia de respaldo\000Config.\000" - "Cero por software desactivado; se mantiene el de hardware\000" + "Escala m\303\255nima de DMM\000Cero por software desactivado; se mantiene el de hardware\000" "Entrada estable; solo este reloj\000Detener\000Detener GEN / calibrar\000Detener GEN / medir\000" "Detener GEN / ajustar PWM de offset\000" "Error de almacenamiento: los ajustes podr\303\255an no guardarse\000" @@ -3858,7 +3900,9 @@ constexpr char Text_es[] = "La \303\272ltima sesi\303\263n a\303\272n se est\303\241 guardando\000Tema cargado\000" "Tema cargado; cambios del gr\303\241fico descartados\000" "TEMA RESTAURADO; NO SE PUEDE ESCRIBIR EL JSON DEL TEMA\000" - "Tema restaurado de la copia anterior\000Termopar: ajuste la uni\303\263n manual en MENU\000" + "Tema restaurado de la copia anterior\000" + "Termopar: ajuste la uni\303\263n manual en el MENU del mult\303\255metro\000" + "Termopar: ajuste la uni\303\263n manual en MENU\000" "Demasiadas filas: alargue el intervalo o acorte la duraci\303\263n\000" "Ventana de tendencia m\303\241xima\000Ventana de tendencia m\303\255nima\000Disparo centrado\000" "Active antes Intercalado CH1 (Rendimiento)\000Desactive la salida o seleccione AWG primero\000" @@ -3897,17 +3941,18 @@ constexpr char Text_es[] = "Barra / tendencia\000Marco de tarjeta\000Marco tarjeta\000Signo de tarjeta activo\000" "Signo activo\000Signos de tarjetas\000Signos tarjetas\000Texto de tarjetas\000Texto tarjetas\000" "CH1\000CH2\000Arco de la escala\000Arco escala\000Marcas de la escala\000Marcas escala\000" - "Signo de funci\303\263n\000Signo funci\303\263n\000L\303\255nea de informaci\303\263n\000" - "L\303\255nea info\000Matem\303\241ticas\000Valor M\303\201X\000Valor M\303\215N\000Aguja\000" - "Paneles\000Rango / REL\000AUTO / MANUAL\000Lecturas\000N\303\272meros de la escala\000" - "N\303\272meros escala\000Secundario\000Texto secundario\000Texto sec.\000Selecci\303\263n\000" - "Nombres de estad\303\255sticas\000Nombres estad.\000Texto de etiquetas\000Texto etiquetas\000" - "Texto\000{0} MHz aplicado (excede la especificaci\303\263n)\000{0}: {1} MHz\000" - "HSI (guardado {0})\000CPU {0} MHz ADC {1}\000{0} MHz (guardado {1})\000" - "FRECUENCIA DE MUESTREO\000MUESTREO\000Escala {0}\000Escala / div\000Actual\000" - "Luz de d\303\255a\000DISPOSICI\303\223N DEL OSCILOSCOPIO\000Imagen guardada como {0}\000" - "Guardando captura: {0}%\000Capturas borradas: {0}/{1}\000Eliminando im\303\241genes: {0}/{1}\000" - "CAPTURAS DE PANTALLA\000CAPTURAS\000Vac\303\255a\000Error del registro de sesi\303\263n: {0}\000" + "Mult\303\255metro\000Signo de funci\303\263n\000Signo funci\303\263n\000" + "L\303\255nea de informaci\303\263n\000L\303\255nea info\000Matem\303\241ticas\000" + "Valor M\303\201X\000Valor M\303\215N\000Aguja\000Paneles\000Rango / REL\000AUTO / MANUAL\000" + "Lecturas\000N\303\272meros de la escala\000N\303\272meros escala\000Secundario\000" + "Texto secundario\000Texto sec.\000Selecci\303\263n\000Nombres de estad\303\255sticas\000" + "Nombres estad.\000Texto de etiquetas\000Texto etiquetas\000Texto\000" + "{0} MHz aplicado (excede la especificaci\303\263n)\000{0}: {1} MHz\000HSI (guardado {0})\000" + "CPU {0} MHz ADC {1}\000{0} MHz (guardado {1})\000FRECUENCIA DE MUESTREO\000MUESTREO\000" + "Escala {0}\000Escala / div\000Actual\000Luz de d\303\255a\000" + "DISPOSICI\303\223N DEL OSCILOSCOPIO\000Imagen guardada como {0}\000Guardando captura: {0}%\000" + "Capturas borradas: {0}/{1}\000Eliminando im\303\241genes: {0}/{1}\000CAPTURAS DE PANTALLA\000" + "CAPTURAS\000Vac\303\255a\000Error del registro de sesi\303\263n: {0}\000" "Sesi\303\263n llena, guardada {0}\000REGISTRO DE SESI\303\223N\000No es una sesi\303\263n\000" "Leyendo {0}%\000Grabando {0}\000Sesi\303\263n guardada: {0}\000error de almacenamiento\000" "error almacenam.\000{0} sin terminar\000SESIONES DEL MULT\303\215METRO\000SESIONES DMM\000" @@ -3969,7 +4014,7 @@ constexpr char Text_es[] = "Sincronizar en\000Campo 1\000Campo 2\000L\303\255nea\000NTSC\000PAL/SECAM\000Norma\000" "Desconocido\000Cambios no guardados descartados. {0}\000Activo {0}\000{0}\000" "Auto (solo {0} MHz)\000Activado (solo {0} MHz)\000{0}, inactivo a {1}\000" - "{0}, inactivo en HSI\000Ambos\000Mult\303\255metro\000Osciloscopio\000" + "{0}, inactivo en HSI\000Ambos\000Osciloscopio\000" "{0} requiere {1} KiB, libres {2} KiB\012Pruebe CSV.gz o RAW.gz.\000" "{0} requiere {1} KiB, libres {2} KiB\012Pruebe un registro m\303\241s corto.\000" "Espacio insuficiente para esta forma de onda\000Sin espacio para la onda\000" @@ -4010,170 +4055,171 @@ constexpr uint16_t Offsets_es[TextCount * VariantCount] = { 4175, 4225, 4225, 4261, 4304, 4304, 4336, 4389, 4389, 4416, 4464, 4464, 4504, 4561, 4561, 4600, 4651, 4651, 4694, 4729, 4729, 4755, 4784, 4784, 4809, 4842, 4842, 4870, 4901, 4901, 4923, 4967, 4967, 5003, 5003, 5003, 5046, 5046, 5046, 5059, 5059, 5059, 5068, 5068, 5068, 5077, 5077, 5077, 5087, 5087, 5087, 5097, 5097, 5097, 5104, 5104, 5104, 5111, 5111, 5111, 5119, 5119, 5119, 5129, 5129, 5129, 5143, 5143, 5143, 5147, 5147, 5147, - 5158, 5158, 5158, 5168, 5168, 5168, 5176, 5176, 5176, 5185, 5216, 5216, 5242, 5273, 5273, 5299, 5299, 5299, 5305, 5305, 5305, 5319, 5319, 5319, - 5343, 5343, 5343, 5358, 5358, 5358, 5376, 5376, 5376, 5392, 5392, 5392, 5408, 5408, 5408, 5414, 5442, 5442, 5464, 5464, 5464, 5470, 5470, 5470, - 5477, 5477, 5477, 5483, 5483, 5483, 5483, 5483, 5483, 5488, 5488, 5488, 5494, 5494, 5494, 5499, 5499, 5499, 5504, 5504, 5504, 5512, 5512, 5512, - 5488, 5488, 5488, 5517, 5517, 5517, 5529, 5529, 5529, 5537, 5537, 5537, 5494, 5494, 5494, 5543, 5543, 5543, 5549, 5549, 5549, 5557, 5557, 5557, - 5565, 5565, 5565, 5572, 5572, 5572, 5581, 5581, 5581, 5589, 5605, 5605, 5618, 5636, 5636, 5644, 5644, 5644, 5660, 5679, 5679, 5688, 5688, 5688, - 5696, 5696, 5696, 5709, 5709, 5709, 5719, 5719, 5719, 5731, 5731, 5731, 5740, 5740, 5740, 5751, 5769, 5769, 5784, 5803, 5803, 5819, 5838, 5838, - 5851, 5851, 5851, 5855, 5855, 5855, 5867, 5867, 5867, 5873, 5873, 5873, 5887, 5887, 5887, 5901, 5901, 5901, 5909, 5909, 5909, 5918, 5918, 5918, - 5928, 5945, 5945, 5961, 5961, 5961, 5971, 5971, 5971, 5981, 5981, 5981, 5992, 5992, 5992, 5996, 6013, 6013, 6025, 6043, 6043, 6055, 6055, 6055, - 6066, 6066, 6066, 6080, 6080, 6080, 6084, 6102, 6102, 6115, 6115, 6115, 6126, 6126, 6126, 6141, 6158, 6158, 6172, 6172, 6172, 6179, 6179, 6189, - 6197, 6197, 6197, 6212, 6212, 6230, 6246, 6266, 6266, 6284, 6309, 6322, 6333, 6333, 6333, 6348, 6348, 6348, 6353, 6353, 6353, 6368, 6368, 6368, - 6377, 6377, 6377, 6394, 6394, 6394, 6420, 6450, 6450, 6467, 6488, 6488, 6500, 6516, 6516, 6526, 6547, 6547, 6565, 6565, 6565, 6575, 6575, 6575, - 6584, 6599, 6599, 6610, 6625, 6625, 6639, 6655, 6655, 6666, 6681, 6681, 6692, 6707, 6707, 6721, 6737, 6737, 6748, 6748, 6748, 6753, 6753, 6753, - 6776, 6776, 6776, 6797, 6797, 6797, 6808, 6808, 6808, 6812, 6837, 6837, 6855, 6877, 6877, 6888, 6888, 6888, 6899, 6899, 6899, 6910, 6910, 6910, - 6922, 6945, 6945, 6960, 6960, 6960, 6967, 6967, 6967, 6978, 6978, 6978, 6988, 6988, 6988, 6993, 7013, 7013, 7030, 7030, 7030, 7039, 7039, 7039, - 7049, 7049, 7049, 7057, 7057, 7057, 7066, 7066, 7066, 7076, 7076, 7076, 7085, 7100, 7100, 7110, 7110, 7110, 7125, 7143, 7143, 7158, 7158, 7158, - 7165, 7183, 7183, 7195, 7218, 7218, 7230, 7230, 7230, 7241, 7241, 7241, 7266, 7287, 7287, 2672, 2672, 2672, 7304, 7324, 7324, 7340, 7340, 7340, - 7353, 7353, 7353, 7360, 7360, 7360, 7370, 7397, 7397, 7413, 7413, 7413, 7422, 7422, 7422, 7431, 7431, 7431, 7436, 7436, 7436, 7443, 7443, 7443, - 7462, 7481, 7481, 7497, 7518, 7518, 7532, 7532, 7532, 7538, 7538, 7538, 7553, 7553, 7553, 1606, 1606, 1606, 7562, 7562, 7562, 7576, 7597, 7597, - 7615, 7615, 7615, 7620, 7620, 7620, 7624, 7624, 7624, 7635, 7658, 7658, 7673, 7673, 7673, 7686, 7725, 7725, 7745, 7781, 7781, 7798, 7837, 7837, - 7864, 7900, 7900, 7922, 7958, 7958, 7982, 8015, 8015, 8034, 8034, 8034, 8053, 8053, 8053, 8074, 8098, 8098, 8118, 8149, 8149, 8174, 8211, 8211, - 8236, 8267, 8267, 8291, 8328, 8328, 8351, 8351, 8351, 8369, 8369, 8369, 8390, 8418, 8418, 8440, 8471, 8471, 8499, 8531, 8531, 8553, 8553, 8553, - 8573, 8607, 8607, 8629, 8657, 8657, 8678, 8712, 8712, 8732, 8759, 8759, 8777, 8806, 8806, 1565, 1576, 1576, 8831, 8831, 8831, 8839, 8839, 8839, - 8847, 8864, 8864, 8876, 8876, 8876, 8882, 8882, 8882, 8890, 8890, 8890, 8898, 8898, 8898, 8905, 8905, 8905, 8914, 8914, 8914, 8923, 8923, 8923, - 8936, 8936, 8936, 8947, 8947, 8947, 8967, 8967, 8967, 8976, 8976, 8976, 8985, 8985, 8985, 9024, 9065, 9065, 9094, 9094, 9094, 9104, 9151, 9151, - 9173, 9223, 9223, 9257, 9305, 9305, 9329, 1818, 1818, 9359, 9359, 9359, 9373, 9402, 9402, 9419, 9419, 9419, 9462, 9462, 9462, 9475, 9475, 9475, - 9488, 9488, 9488, 9502, 9502, 9502, 9514, 9543, 9543, 9555, 9555, 9555, 9569, 9601, 9601, 9621, 9640, 9640, 9654, 9654, 9654, 9667, 9667, 9667, - 9716, 9757, 9757, 9781, 9826, 9826, 9845, 9845, 9845, 9886, 9922, 9922, 9944, 9978, 9978, 10006, 10006, 10006, 10015, 10015, 10015, 10026, 10048, 10048, - 10067, 10082, 10082, 10093, 10093, 10093, 10118, 10118, 10118, 10148, 10148, 10148, 10156, 10170, 10170, 10181, 10199, 10199, 10209, 10231, 10231, 10240, 10240, 10240, - 10249, 10249, 10249, 10258, 10272, 10272, 10283, 10283, 10283, 10289, 10306, 10306, 10321, 10321, 10321, 10343, 10343, 10343, 10352, 10371, 10371, 10385, 10385, 10385, - 10397, 10397, 10397, 10409, 10409, 10409, 10424, 10424, 10424, 10437, 10453, 10453, 10466, 10483, 10483, 10495, 10511, 10511, 10524, 10548, 10548, 10567, 10567, 10567, - 10578, 10578, 10578, 10586, 10623, 10623, 10645, 10669, 10669, 10683, 10683, 10683, 10695, 10695, 10695, 10707, 10721, 10721, 10733, 10733, 10733, 10745, 10745, 10745, - 10757, 10778, 10778, 10797, 10797, 10797, 10860, 10860, 10860, 10903, 10903, 10903, 10952, 10952, 10952, 11006, 11006, 11006, 11055, 11055, 11055, 11103, 11103, 11103, - 11147, 11147, 11147, 11189, 11189, 11189, 11197, 11197, 11197, 11201, 11201, 11201, 7049, 7049, 7049, 11207, 11207, 11207, 11213, 11213, 11213, 11221, 11221, 11221, - 11227, 11227, 11227, 11237, 11260, 11260, 11274, 11274, 11274, 11285, 11303, 11303, 11318, 11318, 11318, 11331, 11331, 11331, 11355, 11355, 11355, 11365, 11365, 11365, - 11386, 11386, 11386, 11395, 11411, 11411, 11424, 11439, 11439, 11451, 11451, 11451, 11462, 11462, 11462, 11477, 11477, 11477, 11491, 11491, 11491, 11506, 11525, 11525, - 11538, 11557, 11557, 11571, 11588, 11588, 11601, 11619, 11619, 11634, 11663, 11663, 11678, 11698, 11698, 11713, 11730, 11730, 11744, 11744, 11744, 11753, 11771, 11771, - 201, 201, 201, 11786, 11786, 11786, 11791, 11791, 11791, 11805, 137, 137, 11826, 11826, 11826, 11838, 11838, 11838, 11847, 11862, 11862, 11868, 11868, 11868, - 11874, 11874, 11874, 11880, 11880, 11880, 11926, 11926, 11926, 11946, 11946, 11946, 869, 869, 869, 11961, 11961, 11961, 11973, 11990, 11990, 12002, 12002, 12002, - 12011, 12011, 12011, 11786, 11786, 11786, 12015, 12015, 12015, 12025, 12025, 12025, 12034, 12034, 12034, 1565, 1576, 1576, 12040, 12040, 12040, 12083, 12083, 12083, - 12092, 12092, 12092, 12107, 12107, 12107, 12118, 12118, 12118, 12131, 12141, 12141, 12148, 12160, 12160, 12168, 12181, 12181, 12186, 12199, 12199, 12204, 12204, 12204, - 12210, 12210, 12210, 12225, 12241, 12241, 12247, 12263, 12263, 12269, 12284, 12284, 12290, 12305, 12305, 12311, 12323, 12323, 12331, 12331, 12331, 12340, 12352, 12352, - 12357, 12369, 12369, 12374, 12374, 12374, 12407, 12407, 12407, 12439, 12461, 12461, 12473, 12473, 12473, 12498, 12498, 12498, 12523, 12523, 12523, 12529, 12529, 12529, - 12558, 12558, 12558, 12570, 12570, 12570, 12619, 12619, 12619, 12657, 12657, 12657, 12715, 12715, 12715, 12752, 12752, 12752, 12790, 12790, 12790, 12829, 12829, 12829, - 12854, 12854, 12854, 12859, 12859, 12859, 12867, 12867, 12867, 12904, 12904, 12904, 12939, 12939, 12939, 12967, 12985, 12985, 13001, 13024, 13024, 13044, 13044, 13044, - 13052, 13052, 13052, 13068, 13092, 13092, 13106, 13106, 13106, 13115, 13115, 13115, 13139, 13159, 13159, 13173, 13173, 13173, 13219, 13240, 13240, 13255, 13255, 13255, - 13285, 13285, 13285, 13312, 13312, 13312, 13339, 13339, 13339, 13344, 13344, 13344, 13355, 13355, 13355, 13372, 13400, 13400, 13422, 13422, 13422, 13438, 13465, 13465, - 13483, 13483, 13483, 13493, 13493, 13493, 13506, 13506, 13506, 13535, 13606, 13606, 13646, 13693, 13693, 13723, 13769, 13769, 13800, 13800, 13800, 13805, 137, 137, - 13832, 13832, 13832, 13840, 13840, 13840, 13848, 13848, 13848, 13873, 13873, 13873, 13885, 13885, 13885, 13896, 13912, 13912, 13925, 13925, 13925, 13934, 13934, 13934, - 13947, 13973, 13973, 13991, 13991, 13991, 14000, 14020, 14020, 14035, 14035, 14035, 14053, 14053, 14053, 14101, 14101, 14101, 14119, 14160, 14160, 14188, 14229, 14229, - 14249, 14287, 14287, 14303, 14342, 14342, 14361, 14401, 14401, 14432, 14472, 14472, 14496, 14496, 14496, 14504, 14504, 14504, 14514, 14514, 14514, 14527, 14542, 14542, - 14554, 14554, 14554, 14597, 14597, 14597, 14637, 14637, 14637, 14673, 14673, 14673, 14706, 14723, 14723, 14737, 14737, 14737, 14748, 14748, 14748, 14756, 14770, 14770, - 14781, 14796, 14796, 14807, 14807, 14807, 14812, 14827, 14827, 14839, 14839, 14839, 14846, 14846, 14846, 14858, 14858, 14858, 14883, 14883, 14883, 14903, 14928, 14928, - 14943, 14975, 14975, 14992, 15037, 15037, 15061, 15116, 15116, 15140, 15188, 15188, 15208, 15257, 15257, 15284, 15284, 15284, 15337, 15337, 15337, 15382, 15382, 15382, - 15396, 15446, 15446, 15468, 15468, 15468, 15479, 15479, 15479, 15488, 15488, 15488, 15493, 15493, 15493, 15507, 15507, 15507, 15514, 15514, 15514, 15531, 15531, 15531, - 10578, 10578, 10578, 15540, 15552, 15552, 15561, 15577, 15577, 15588, 15588, 15588, 3146, 3146, 3146, 15598, 15598, 15598, 15605, 15605, 15605, 15617, 15617, 15617, - 137, 137, 137, 13339, 13339, 13339, 8876, 8876, 8876, 15631, 15645, 15645, 15651, 15651, 15651, 15670, 15709, 15709, 15736, 15736, 15736, 15745, 15745, 15745, - 15750, 15750, 15750, 15755, 15791, 15791, 15820, 15865, 15865, 15892, 15892, 15892, 15902, 15902, 15902, 15911, 15911, 15911, 15921, 15921, 15921, 15931, 15931, 15931, - 15937, 15937, 15937, 15944, 15959, 15959, 15970, 15970, 15970, 15980, 15980, 15980, 15988, 16002, 16002, 16013, 16013, 16013, 16025, 16025, 16025, 16032, 16048, 16048, - 16061, 16061, 16061, 16061, 16061, 16061, 16071, 16124, 16124, 16165, 16206, 16206, 16243, 16243, 16243, 16294, 16294, 16294, 16302, 16302, 16302, 16311, 16311, 16311, - 16329, 16348, 16348, 16357, 16357, 16357, 16375, 16375, 16375, 16389, 16389, 16389, 16405, 16405, 16405, 16421, 16421, 16421, 16439, 16439, 16439, 16472, 16472, 16472, - 16485, 16485, 16485, 16498, 16498, 16498, 16505, 16505, 16505, 16542, 16542, 16542, 16557, 16573, 16573, 16579, 16579, 16579, 16588, 16613, 16613, 16635, 16650, 16650, - 16662, 16662, 16662, 16677, 16677, 16677, 16716, 16716, 16716, 16766, 16766, 16766, 16801, 16801, 16801, 16807, 16822, 16822, 16837, 16852, 16852, 16864, 16864, 16864, - 16923, 16923, 16923, 16946, 16946, 16946, 16962, 16962, 16962, 16976, 16976, 16976, 16991, 17008, 17008, 17024, 17046, 17046, 17064, 17064, 17064, 17095, 17095, 17095, - 17106, 17106, 17106, 17118, 17118, 17118, 17163, 17210, 17210, 17238, 17238, 17238, 17271, 17271, 17271, 17307, 17307, 17307, 17326, 17346, 17346, 17359, 17402, 17402, - 17432, 17432, 17432, 17475, 17475, 17475, 17489, 17489, 17489, 17496, 17519, 17519, 17537, 17560, 17560, 17575, 17606, 17606, 11973, 11990, 11990, 1565, 1565, 1565, - 17628, 17628, 17628, 17636, 17636, 17636, 17642, 17642, 17642, 17650, 17662, 17662, 17671, 17683, 17683, 17693, 17693, 17693, 17701, 17730, 17730, 17752, 17752, 17752, - 17756, 17779, 17779, 17794, 17794, 17794, 17804, 17804, 17804, 17815, 17815, 17815, 17827, 17827, 17827, 17838, 17857, 17857, 17863, 17882, 17882, 17895, 17895, 17895, - 17908, 17908, 17908, 17922, 17922, 17922, 17935, 17935, 17935, 17946, 17969, 17969, 17982, 17982, 17982, 17990, 18004, 18004, 18016, 18016, 18016, 18026, 18026, 18026, - 18036, 18036, 18036, 7039, 7039, 7039, 18047, 18047, 18047, 18057, 18057, 18057, 18063, 18063, 18063, 18083, 18083, 18083, 18092, 18092, 18092, 18114, 18114, 18114, - 18127, 18153, 18153, 18174, 18174, 18174, 18187, 18207, 18207, 18224, 18224, 18224, 18233, 18233, 18233, 18247, 18271, 18271, 18286, 18286, 18286, 18303, 18303, 18303, - 18313, 18313, 18313, 18323, 18323, 18323, 18360, 18360, 18360, 18403, 18403, 18403, 18449, 18449, 18449, 18467, 18467, 18467, 18472, 18472, 18472, 18481, 18481, 18481, - 18540, 18540, 18540, 18571, 18571, 18571, 18576, 18576, 18576, 18621, 18621, 18621, 18669, 18669, 18669, 18702, 18702, 18702, 18723, 18723, 18723, 18765, 18765, 18765, - 18804, 18804, 18804, 18821, 18821, 18821, 18864, 18864, 18864, 18878, 18878, 18878, 18900, 18900, 18900, 18928, 18928, 18928, 18955, 18955, 18955, 19014, 19014, 19014, - 19077, 19077, 19077, 19138, 19138, 19138, 19189, 19189, 19189, 19194, 19194, 19194, 19226, 19226, 19226, 19252, 19252, 19252, 19282, 19282, 19282, 19320, 19320, 19320, - 19331, 19331, 19331, 19363, 19363, 19363, 19415, 19415, 19415, 19454, 19481, 19481, 19504, 19540, 19540, 19566, 19621, 19621, 19639, 19681, 19681, 19705, 19705, 19705, - 19738, 19738, 19738, 19771, 19771, 19771, 19831, 19831, 19831, 19854, 19854, 19854, 19908, 19908, 19908, 19944, 19944, 19944, 19977, 19977, 19977, 20032, 20032, 20032, - 20083, 20083, 20083, 20109, 20109, 20109, 20159, 20159, 20159, 20214, 20214, 20214, 20264, 20264, 20264, 20314, 20314, 20314, 20353, 20353, 20353, 3410, 3410, 3410, - 20394, 20394, 20394, 20415, 20415, 20415, 20445, 20445, 20445, 20487, 20487, 20487, 20523, 20523, 20523, 20564, 20564, 20564, 20607, 20607, 20607, 20636, 20636, 20636, - 20686, 20686, 20686, 20717, 20717, 20717, 20757, 20757, 20757, 20801, 20801, 20801, 20833, 20833, 20833, 20863, 20863, 20863, 20906, 20906, 20906, 20935, 20935, 20935, - 20963, 20963, 20963, 20992, 20992, 20992, 21032, 21032, 21032, 21079, 21079, 21079, 21120, 21120, 21120, 21150, 21150, 21150, 21186, 21186, 21186, 21222, 21222, 21222, - 21256, 21256, 21256, 21296, 21296, 21296, 21359, 21359, 21359, 21405, 21405, 21405, 21445, 21445, 21445, 21487, 21487, 21487, 21526, 21526, 21526, 21581, 21581, 21581, - 21617, 21617, 21617, 21648, 21648, 21648, 21685, 21685, 21685, 21718, 21718, 21718, 21763, 21763, 21763, 21785, 21785, 21785, 21833, 21833, 21833, 21865, 21865, 21865, - 21899, 21899, 21899, 21924, 21924, 21924, 21949, 21949, 21949, 21988, 21988, 21988, 22027, 22027, 22027, 22065, 22065, 22065, 22095, 22095, 22095, 22114, 22114, 22114, - 22139, 22139, 22139, 22184, 22184, 22184, 22235, 22235, 22235, 22281, 22281, 22281, 22297, 22297, 22297, 22329, 22329, 22329, 22380, 22380, 22380, 22414, 22414, 22414, - 22436, 22436, 22436, 22488, 22529, 22529, 22556, 22556, 22556, 22572, 22572, 22572, 22613, 22613, 22613, 22659, 22706, 22706, 22739, 22739, 22739, 22761, 22761, 22761, - 22800, 22800, 22800, 22809, 22809, 22809, 22849, 22849, 22849, 22883, 22883, 22883, 22915, 22915, 22915, 22948, 22948, 22948, 22987, 22987, 22987, 23011, 23011, 23011, - 23036, 23036, 23036, 23067, 23067, 23067, 23114, 23114, 23114, 23154, 23154, 23154, 23207, 23207, 23207, 23258, 23258, 23258, 23289, 23289, 23289, 23320, 23320, 23320, - 23348, 23348, 23348, 23393, 23393, 23393, 23426, 23426, 23426, 23475, 23475, 23475, 23521, 23521, 23521, 23534, 23534, 23534, 23573, 23573, 23573, 23618, 23618, 23618, - 23652, 23652, 23652, 23658, 23658, 23658, 23703, 23703, 23703, 23740, 23740, 23740, 23779, 23779, 23779, 23856, 23856, 23856, 23904, 23904, 23904, 23966, 23966, 23966, - 24009, 24009, 24009, 24053, 24053, 24053, 24077, 24077, 24077, 24102, 24102, 24102, 24142, 24142, 24142, 24184, 24184, 24184, 24230, 24269, 24269, 24291, 24291, 24291, - 24332, 24332, 24332, 24364, 24364, 24364, 24404, 24404, 24404, 24428, 24428, 24428, 24436, 24436, 24436, 10249, 10249, 10249, 24483, 24483, 24483, 24532, 24532, 24532, - 24574, 24574, 24574, 24622, 24622, 24622, 24675, 24675, 24675, 24709, 24709, 24709, 24752, 24752, 24752, 24817, 24817, 24817, 24872, 24872, 24872, 24927, 24927, 24927, - 24972, 24972, 24972, 24989, 24989, 24989, 25049, 25049, 25049, 25074, 25074, 25074, 25088, 25088, 25088, 25115, 25115, 25115, 25164, 25164, 25164, 25221, 25221, 25221, - 25255, 25255, 25255, 25287, 25287, 25287, 25312, 25312, 25312, 25348, 25348, 25348, 25382, 25382, 25382, 25411, 25411, 25411, 25421, 25421, 25421, 25450, 25450, 25450, - 25486, 25486, 25486, 25510, 25510, 25510, 25557, 25557, 25557, 25565, 25565, 25565, 25607, 25607, 25607, 25624, 25624, 25624, 25662, 25662, 25662, 25707, 25707, 25707, - 25731, 25731, 25731, 25762, 25762, 25762, 25791, 25791, 25791, 25824, 25824, 25824, 25849, 25849, 25849, 25856, 25856, 25856, 25935, 25935, 25935, 25941, 25941, 25941, - 25948, 25948, 25948, 25967, 25967, 25967, 26000, 26000, 26000, 7039, 7039, 7039, 26038, 26038, 26038, 26051, 26051, 26051, 26079, 26079, 26079, 26090, 26090, 26090, - 26119, 26119, 26119, 26153, 26153, 26153, 26196, 26196, 26196, 26209, 26209, 26209, 26255, 26255, 26255, 26298, 26298, 26298, 26341, 26341, 26341, 26369, 26403, 26403, - 26428, 26428, 26428, 26445, 26445, 26445, 26474, 26474, 26474, 26498, 26498, 26498, 26527, 26527, 26527, 26557, 26557, 26557, 26585, 26585, 26585, 26628, 26628, 26628, - 26669, 26669, 26669, 26708, 26708, 26708, 26735, 26735, 26735, 26765, 26765, 26765, 26779, 26779, 26779, 26828, 26828, 26828, 26863, 26863, 26863, 26882, 26882, 26882, - 26910, 26910, 26910, 26922, 26922, 26922, 26968, 26968, 26968, 27016, 27016, 27016, 27065, 27065, 27065, 27110, 27110, 27110, 27157, 27157, 27157, 27204, 27204, 27204, - 27257, 27257, 27257, 27321, 27321, 27321, 27372, 27372, 27372, 27402, 27402, 27402, 27408, 27408, 27408, 27448, 27448, 27448, 27455, 27455, 27455, 27482, 27482, 27482, - 27505, 27505, 27505, 27547, 27547, 27547, 27576, 27576, 27576, 27618, 27618, 27618, 27628, 27628, 27628, 27653, 27653, 27653, 27721, 27721, 27721, 27761, 27761, 27761, - 27792, 27792, 27792, 27844, 27844, 27844, 27886, 27886, 27886, 27930, 27930, 27930, 27970, 27970, 27970, 28007, 28007, 28007, 28050, 28050, 28050, 28085, 28085, 28085, - 28158, 28158, 28158, 28224, 28224, 28224, 28288, 28288, 28288, 28359, 28359, 28359, 28383, 28383, 28383, 28406, 28406, 28406, 28414, 28414, 28414, 28438, 28438, 28438, - 28461, 28461, 28461, 28510, 28510, 28510, 28562, 28562, 28562, 28611, 28611, 28611, 28626, 28626, 28626, 28646, 28646, 28646, 28699, 28699, 28699, 28736, 28736, 28736, - 28775, 28775, 28775, 28808, 28808, 28808, 28829, 28829, 28829, 28856, 28872, 28872, 28888, 28888, 28888, 28900, 28900, 28900, 28942, 28942, 28942, 28960, 28960, 28960, - 28990, 28990, 28990, 29030, 29030, 29030, 29082, 29082, 29082, 29125, 29125, 29125, 29161, 29161, 29161, 29221, 29221, 29221, 29258, 29258, 29258, 29295, 29295, 29295, - 29325, 29325, 29325, 29344, 29344, 29344, 29386, 29386, 29386, 29418, 29418, 29418, 29451, 29451, 29451, 29476, 29476, 29476, 29512, 29512, 29512, 29562, 29562, 29562, - 29616, 29616, 29616, 29647, 29647, 29647, 29687, 29687, 29687, 29718, 29718, 29718, 29763, 29763, 29763, 29771, 29771, 29771, 29829, 29829, 29829, 29862, 29862, 29862, - 29870, 29870, 29870, 29893, 29893, 29893, 29913, 29913, 29913, 29949, 29949, 29949, 30008, 30008, 30008, 30059, 30059, 30059, 30088, 30088, 30088, 30135, 30135, 30135, - 30173, 30173, 30173, 30206, 30206, 30206, 3096, 3096, 3096, 30240, 30240, 30240, 30246, 30246, 30246, 30289, 30289, 30289, 30302, 30302, 30302, 30349, 30349, 30349, - 30404, 30404, 30404, 30441, 30441, 30441, 30483, 30483, 30483, 30544, 30544, 30544, 30573, 30573, 30573, 30602, 30602, 30602, 30619, 30619, 30619, 30662, 30662, 30662, - 30707, 30707, 30707, 30743, 30743, 30743, 30750, 30750, 30750, 30776, 30776, 30776, 30802, 30802, 30802, 30835, 30835, 30835, 30866, 30866, 30866, 30901, 30901, 30901, - 30948, 30948, 30948, 30984, 30984, 30984, 31005, 31005, 31005, 31030, 31030, 31030, 31058, 31058, 31058, 31095, 31095, 31095, 31118, 31118, 31118, 31144, 31144, 31144, - 31181, 31181, 31181, 31210, 31210, 31210, 31235, 31235, 31235, 1606, 1606, 1606, 31252, 31252, 31252, 31296, 31296, 31296, 1620, 1620, 1620, 31319, 31319, 31319, - 31343, 31343, 31343, 31355, 31355, 31355, 31373, 31373, 31373, 31394, 31394, 31394, 31435, 31435, 31435, 31469, 31469, 31469, 31514, 31514, 31514, 31557, 31557, 31557, - 7615, 7615, 7615, 31600, 31600, 31600, 31648, 31648, 31648, 31682, 31682, 31682, 31718, 31718, 31718, 31732, 31732, 31732, 31757, 31757, 31757, 31767, 31767, 31767, - 31777, 31777, 31777, 31790, 31790, 31790, 31798, 31798, 31798, 31812, 31812, 31812, 31822, 31822, 31822, 31825, 31825, 31825, 9094, 9094, 9094, 31829, 31829, 31829, - 31835, 31835, 31835, 31877, 31877, 31877, 31886, 31886, 31886, 31901, 31901, 31901, 31909, 31909, 31909, 31919, 31919, 31919, 31929, 31929, 31929, 31940, 31940, 31940, - 31952, 31952, 31952, 31961, 31961, 31961, 31976, 31976, 31976, 31985, 32007, 32007, 32024, 32024, 32024, 32036, 32036, 32036, 32045, 32075, 32075, 32088, 32112, 32112, - 32119, 32119, 32119, 32127, 32127, 32127, 32142, 32160, 32160, 5470, 5470, 5470, 32167, 32167, 32167, 5537, 5537, 5537, 32174, 32174, 32174, 32186, 32206, 32206, - 32217, 32217, 32217, 32229, 32254, 32254, 32272, 32272, 32272, 32281, 32281, 32281, 32303, 32303, 32303, 32348, 32348, 32348, 32358, 32358, 32358, 32367, 32383, 32383, - 32393, 32393, 32393, 32412, 32412, 32412, 32429, 32429, 32429, 32453, 32453, 32453, 32468, 32468, 32468, 32474, 32474, 32474, 32479, 32479, 32479, 32486, 32498, 32498, - 32506, 32506, 32506, 32513, 32513, 32513, 32520, 32520, 32520, 32526, 32543, 32543, 32547, 32566, 32566, 32572, 32592, 32592, 32599, 32599, 32599, 32609, 32609, 32609, - 32616, 32616, 32616, 32630, 32658, 32658, 32675, 32675, 32675, 32693, 32693, 32693, 32717, 32717, 32717, 32723, 32723, 32723, 32727, 32727, 32727, 32730, 32730, 32730, - 32740, 32740, 32740, 32751, 32751, 32751, 32757, 32757, 32757, 32775, 32792, 32792, 32806, 32830, 32830, 32843, 32862, 32862, 32878, 32896, 32896, 32911, 32911, 32911, - 32915, 32915, 32915, 32919, 32937, 32937, 32949, 32969, 32969, 32983, 33001, 33001, 33016, 33039, 33039, 33051, 33051, 33051, 33064, 33064, 33064, 33075, 33075, 33075, - 33086, 33086, 33086, 33092, 33092, 33092, 33100, 33100, 33100, 33112, 33112, 33112, 33126, 33126, 33126, 33135, 33157, 33157, 33173, 33173, 33173, 33184, 33201, 33201, - 33212, 33212, 33212, 33223, 33248, 33248, 33263, 33282, 33282, 33298, 33298, 33298, 30743, 30743, 30743, 15488, 15488, 15488, 33304, 33304, 33304, 33349, 33349, 33349, - 33362, 33362, 33362, 33381, 33381, 33381, 33402, 33402, 33402, 33425, 33448, 33448, 33457, 33457, 33457, 33468, 33468, 33468, 33481, 33481, 33481, 33488, 33488, 33488, - 33500, 137, 137, 33530, 33530, 33530, 33555, 33555, 33555, 33579, 33579, 33579, 33606, 33606, 33606, 33636, 33657, 33657, 33666, 33666, 33666, 33673, 33673, 33673, - 33708, 33708, 33708, 33736, 33736, 33736, 1731, 1731, 1731, 33756, 33756, 33756, 33774, 33774, 33774, 33787, 33787, 33787, 33800, 33800, 33800, 33822, 33846, 33846, - 15988, 16002, 16002, 33863, 33863, 33863, 33880, 33905, 33905, 33918, 33918, 33918, 33928, 33950, 33950, 33962, 33988, 33988, 34001, 34001, 34001, 34012, 34012, 34012, - 34023, 34043, 34043, 34055, 34083, 34083, 34101, 34101, 34101, 34110, 34131, 34131, 34145, 34164, 34164, 34176, 34176, 34176, 5299, 5299, 5299, 34183, 34211, 34211, - 34227, 34249, 34249, 34262, 34281, 34281, 34297, 34297, 34297, 34312, 34330, 34330, 34338, 34338, 34338, 232, 232, 232, 34350, 34350, 34350, 34373, 34393, 34393, - 34409, 34409, 34409, 34422, 34422, 34422, 34435, 34456, 34456, 34470, 34470, 34470, 2312, 2312, 2312, 34485, 34502, 34502, 34515, 34537, 34537, 34554, 34581, 34581, - 34599, 34623, 34623, 34643, 34671, 34671, 34689, 34689, 34689, 34697, 34697, 34697, 34713, 34746, 34775, 34800, 34822, 34822, 34839, 34839, 34839, 34854, 34854, 34854, - 34872, 34898, 34898, 34918, 34940, 34940, 34954, 34954, 34954, 34974, 34974, 34974, 34981, 35010, 35010, 35030, 35030, 35030, 35038, 35038, 35038, 5909, 5909, 5909, - 35050, 35073, 35073, 32468, 32468, 32468, 35092, 35092, 35092, 35101, 35132, 35132, 35152, 35172, 35172, 35189, 35213, 35213, 35228, 35251, 35251, 35268, 35287, 35287, - 35297, 35327, 35327, 35349, 35374, 35374, 35391, 35414, 35414, 35433, 35457, 35457, 35474, 35496, 35496, 35506, 35526, 35526, 35538, 35538, 35538, 35552, 35552, 35552, - 35560, 35560, 35560, 35569, 35569, 35569, 35583, 5046, 5046, 35613, 35637, 35637, 35657, 35678, 35678, 35687, 35705, 35705, 35719, 16801, 16801, 35737, 35737, 35737, - 35752, 35752, 35752, 35773, 35773, 35773, 35791, 35818, 35818, 35836, 35836, 35836, 35852, 35852, 35852, 35868, 35868, 35868, 35879, 35899, 35899, 35914, 34435, 34435, - 35940, 35962, 35962, 35979, 35979, 35979, 35985, 36004, 36004, 36014, 36014, 36014, 36029, 36050, 36050, 36069, 36069, 36069, 36080, 36094, 36094, 36105, 5158, 5158, - 36119, 36136, 36136, 36143, 36143, 36143, 36148, 36148, 36148, 36157, 36157, 36157, 36168, 36186, 36186, 36202, 36202, 36202, 36215, 209, 209, 1582, 1582, 1582, - 36235, 36235, 36235, 36290, 36290, 36290, 36308, 36324, 36324, 36338, 36338, 36338, 36343, 36343, 36343, 36348, 36348, 36348, 36353, 36353, 36353, 36364, 36364, 36364, - 36375, 36397, 36397, 36410, 36427, 36427, 36441, 36467, 36467, 36482, 36508, 36508, 36524, 36552, 36552, 36566, 36566, 36566, 36579, 36595, 36595, 36605, 36605, 36605, - 36618, 36618, 36618, 36637, 36637, 36637, 36652, 36652, 36652, 36673, 36673, 36673, 36681, 36681, 36681, 36686, 36686, 36686, 36698, 36698, 36698, 36714, 36714, 36714, - 36732, 36732, 36732, 36745, 36745, 36745, 36765, 36781, 36781, 36794, 36794, 36794, 36819, 36819, 36819, 36833, 36833, 36833, 36851, 36851, 36851, 36870, 36870, 36870, - 36880, 36880, 36880, 36910, 36910, 36910, 36920, 36920, 36920, 36926, 36959, 36959, 36981, 18092, 18092, 37009, 37009, 37009, 37028, 37028, 37028, 37064, 37064, 37064, - 37075, 37075, 37075, 37086, 37086, 37086, 37097, 37097, 37097, 37103, 193, 193, 37119, 37119, 37119, 37129, 37129, 37129, 37136, 37136, 37136, 37143, 37155, 37155, - 37164, 37164, 37164, 37175, 37175, 37175, 37185, 37185, 37185, 37196, 37213, 37213, 37228, 37228, 37228, 37238, 37238, 37238, 37247, 37264, 37264, 32513, 32513, 32513, - 37278, 37278, 37278, 37284, 37284, 37284, 37294, 37294, 37294, 37303, 37303, 37303, 37314, 37329, 37329, 37341, 37341, 37341, 37353, 37353, 37353, 37360, 37371, 37371, - 37379, 37390, 37390, 37395, 37395, 37395, 37402, 37402, 37402, 560, 560, 560, 8898, 8898, 8898, 37412, 37412, 37412, 37420, 37444, 37444, 37461, 37461, 37461, - 37466, 37483, 37483, 37498, 37498, 37498, 37505, 37505, 37505, 37521, 37521, 37521, 37538, 37538, 37538, 37553, 37553, 37553, 37561, 37561, 37561, 37569, 37569, 37569, - 37576, 37576, 37576, 37581, 37581, 37581, 37591, 37591, 37591, 37597, 37597, 37597, 37609, 37609, 37609, 37647, 37647, 37658, 37662, 37662, 37662, 37682, 37682, 37682, - 37706, 37706, 37706, 37726, 37726, 37726, 37747, 37747, 37747, 37753, 37753, 37753, 37765, 37765, 37765, 1634, 1634, 1634, 37778, 37778, 37778, 37839, 37839, 37839, - 37907, 37952, 37952, 37977, 37977, 37977, 38047, 38047, 38047, 38108, 38156, 38156, 38187, 38237, 38237, 38266, 38280, 38280, 38285, 38285, 38285, 38317, 38317, 38317, - 38355, 38355, 38355, 38388, 38388, 38388, 38423, 38438, 38438, 38444, 38444, 38444, 38475, 38475, 38475, 38485, 38485, 38485, 38531, 38531, 38531, 38574, 38574, 38574, - 38588, 38588, 38588, 38633, 38633, 38633, 38645, 38645, 38645, 38658, 38658, 38658, 38670, 38670, 38670, 38680, 38680, 38680, 38687, 38687, 38687, 38692, 38692, 38692, - 38707, 38707, 38707, 38722, 38722, 38722, + 5158, 5158, 5158, 5168, 5168, 5168, 5176, 5176, 5176, 5185, 5216, 5216, 5242, 5273, 5273, 5299, 5299, 5299, 5305, 5305, 5305, 5314, 5314, 5314, + 5328, 5328, 5328, 5344, 5344, 5344, 5368, 5368, 5368, 5383, 5383, 5383, 5401, 5401, 5401, 5417, 5417, 5417, 5433, 5433, 5433, 5439, 5467, 5467, + 5489, 5489, 5489, 5495, 5495, 5495, 5502, 5502, 5502, 5508, 5508, 5508, 5508, 5508, 5508, 5513, 5513, 5513, 5519, 5519, 5519, 5524, 5524, 5524, + 5529, 5529, 5529, 5537, 5537, 5537, 5513, 5513, 5513, 5542, 5542, 5542, 5554, 5554, 5554, 5562, 5562, 5562, 5519, 5519, 5519, 5568, 5568, 5568, + 5574, 5574, 5574, 5582, 5582, 5582, 5590, 5590, 5590, 5597, 5597, 5597, 5606, 5606, 5606, 5614, 5630, 5630, 5643, 5661, 5661, 5669, 5669, 5669, + 5685, 5704, 5704, 5713, 5713, 5713, 5721, 5721, 5721, 5734, 5734, 5734, 5744, 5744, 5744, 5756, 5756, 5756, 5765, 5765, 5765, 5776, 5794, 5794, + 5809, 5828, 5828, 5844, 5863, 5863, 5876, 5876, 5876, 5880, 5880, 5880, 5892, 5892, 5892, 5898, 5898, 5898, 5912, 5912, 5912, 5926, 5926, 5926, + 5934, 5934, 5934, 5943, 5943, 5943, 5953, 5970, 5970, 5986, 5986, 5986, 5996, 5996, 5996, 6006, 6006, 6006, 6017, 6017, 6017, 6021, 6038, 6038, + 6050, 6068, 6068, 6080, 6080, 6080, 6091, 6091, 6091, 6105, 6105, 6105, 6109, 6127, 6127, 6140, 6140, 6140, 6151, 6151, 6151, 6166, 6183, 6183, + 6197, 6197, 6197, 6204, 6204, 6214, 6222, 6222, 6222, 6237, 6237, 6255, 6271, 6291, 6291, 6309, 6334, 6347, 6358, 6358, 6358, 6373, 6373, 6373, + 6378, 6378, 6378, 6393, 6393, 6393, 6402, 6402, 6402, 6419, 6419, 6419, 6445, 6475, 6475, 6492, 6513, 6513, 6525, 6541, 6541, 6551, 6572, 6572, + 6590, 6590, 6590, 6600, 6600, 6600, 6609, 6624, 6624, 6635, 6650, 6650, 6664, 6680, 6680, 6691, 6706, 6706, 6717, 6732, 6732, 6746, 6762, 6762, + 6773, 6773, 6773, 6778, 6778, 6778, 6801, 6801, 6801, 6822, 6822, 6822, 6833, 6833, 6833, 6837, 6862, 6862, 6880, 6902, 6902, 6913, 6913, 6913, + 6924, 6924, 6924, 6935, 6935, 6935, 6947, 6970, 6970, 6985, 6985, 6985, 6992, 6992, 6992, 7003, 7003, 7003, 7013, 7013, 7013, 7018, 7038, 7038, + 7055, 7055, 7055, 7064, 7064, 7064, 7074, 7074, 7074, 7082, 7082, 7082, 7091, 7091, 7091, 7101, 7101, 7101, 7110, 7125, 7125, 7135, 7135, 7135, + 7150, 7168, 7168, 7183, 7183, 7183, 7190, 7208, 7208, 7220, 7243, 7243, 7255, 7255, 7255, 7266, 7266, 7266, 7291, 7312, 7312, 2672, 2672, 2672, + 7329, 7349, 7349, 7365, 7365, 7365, 7378, 7378, 7378, 7385, 7385, 7385, 7395, 7422, 7422, 7438, 7438, 7438, 7447, 7447, 7447, 7456, 7456, 7456, + 7461, 7461, 7461, 7468, 7468, 7468, 7487, 7506, 7506, 7522, 7543, 7543, 7557, 7557, 7557, 7563, 7563, 7563, 7578, 7578, 7578, 1606, 1606, 1606, + 7587, 7587, 7587, 7601, 7622, 7622, 7640, 7640, 7640, 7645, 7645, 7645, 7649, 7649, 7649, 7660, 7683, 7683, 7698, 7698, 7698, 7711, 7750, 7750, + 7770, 7806, 7806, 7823, 7862, 7862, 7889, 7925, 7925, 7947, 7983, 7983, 8007, 8040, 8040, 8059, 8059, 8059, 8078, 8078, 8078, 8099, 8123, 8123, + 8143, 8174, 8174, 8199, 8236, 8236, 8261, 8292, 8292, 8316, 8353, 8353, 8376, 8376, 8376, 8394, 8394, 8394, 8415, 8443, 8443, 8465, 8496, 8496, + 8524, 8556, 8556, 8578, 8578, 8578, 8598, 8632, 8632, 8654, 8682, 8682, 8703, 8737, 8737, 8757, 8784, 8784, 8802, 8831, 8831, 1565, 1576, 1576, + 8856, 8856, 8856, 8864, 8864, 8864, 8872, 8889, 8889, 8901, 8901, 8901, 8907, 8907, 8907, 8915, 8915, 8915, 8923, 8923, 8923, 8930, 8930, 8930, + 8939, 8939, 8939, 8948, 8948, 8948, 8961, 8961, 8961, 8972, 8972, 8972, 8992, 8992, 8992, 9001, 9001, 9001, 9010, 9010, 9010, 9049, 9090, 9090, + 9119, 9119, 9119, 9129, 9176, 9176, 9198, 9248, 9248, 9282, 9330, 9330, 9354, 1818, 1818, 9384, 9384, 9384, 9398, 9427, 9427, 9444, 9444, 9444, + 9487, 9487, 9487, 9500, 9500, 9500, 9513, 9513, 9513, 9527, 9527, 9527, 9539, 9568, 9568, 9580, 9580, 9580, 9594, 9626, 9626, 9646, 9665, 9665, + 9679, 9679, 9679, 9692, 9692, 9692, 9741, 9782, 9782, 9806, 9851, 9851, 9870, 9870, 9870, 9911, 9947, 9947, 9969, 10003, 10003, 10031, 10031, 10031, + 10040, 10040, 10040, 10051, 10073, 10073, 10092, 10107, 10107, 10118, 10118, 10118, 10143, 10143, 10143, 10173, 10173, 10173, 10181, 10195, 10195, 10206, 10224, 10224, + 10234, 10256, 10256, 10265, 10265, 10265, 10274, 10274, 10274, 10283, 10297, 10297, 10308, 10308, 10308, 10314, 10331, 10331, 10346, 10346, 10346, 10368, 10368, 10368, + 10377, 10396, 10396, 10410, 10410, 10410, 10422, 10422, 10422, 10434, 10434, 10434, 10449, 10449, 10449, 10462, 10478, 10478, 10491, 10508, 10508, 10520, 10536, 10536, + 10549, 10573, 10573, 10592, 10592, 10592, 10603, 10603, 10603, 10611, 10648, 10648, 10670, 10694, 10694, 10708, 10708, 10708, 10720, 10720, 10720, 10732, 10746, 10746, + 10758, 10758, 10758, 10770, 10770, 10770, 10782, 10803, 10803, 10822, 10822, 10822, 10885, 10885, 10885, 10928, 10928, 10928, 10977, 10977, 10977, 11031, 11031, 11031, + 11080, 11080, 11080, 11128, 11128, 11128, 11172, 11172, 11172, 11214, 11214, 11214, 11222, 11222, 11222, 11226, 11226, 11226, 7074, 7074, 7074, 11232, 11232, 11232, + 11238, 11238, 11238, 11246, 11246, 11246, 11252, 11252, 11252, 11262, 11285, 11285, 11299, 11299, 11299, 11310, 11328, 11328, 11343, 11343, 11343, 11356, 11356, 11356, + 11380, 11380, 11380, 11390, 11390, 11390, 11411, 11411, 11411, 11420, 11436, 11436, 11449, 11464, 11464, 11476, 11476, 11476, 11487, 11487, 11487, 11502, 11502, 11502, + 11516, 11516, 11516, 11531, 11550, 11550, 11563, 11582, 11582, 11596, 11613, 11613, 11626, 11644, 11644, 11659, 11688, 11688, 11703, 11723, 11723, 11738, 11755, 11755, + 11769, 11769, 11769, 11778, 11796, 11796, 201, 201, 201, 11811, 11811, 11811, 11816, 11816, 11816, 11830, 137, 137, 11851, 11851, 11851, 11863, 11863, 11863, + 11872, 11887, 11887, 11893, 11893, 11893, 11899, 11899, 11899, 11905, 11905, 11905, 11951, 11951, 11951, 11967, 11967, 11967, 11987, 11987, 11987, 869, 869, 869, + 12002, 12002, 12002, 12014, 12031, 12031, 12043, 12043, 12043, 12052, 12052, 12052, 11811, 11811, 11811, 12056, 12056, 12056, 12066, 12066, 12066, 12075, 12075, 12075, + 1565, 1576, 1576, 12081, 12081, 12081, 12124, 12124, 12124, 12133, 12133, 12133, 12148, 12148, 12148, 12159, 12159, 12159, 12172, 12182, 12182, 12189, 12201, 12201, + 12209, 12222, 12222, 12227, 12240, 12240, 12245, 12245, 12245, 12251, 12251, 12251, 12266, 12282, 12282, 12288, 12304, 12304, 12310, 12325, 12325, 12331, 12346, 12346, + 12352, 12364, 12364, 12372, 12372, 12372, 12381, 12393, 12393, 12398, 12410, 12410, 12415, 12415, 12415, 12448, 12448, 12448, 12480, 12502, 12502, 12514, 12514, 12514, + 12539, 12539, 12539, 12564, 12564, 12564, 12570, 12570, 12570, 12599, 12599, 12599, 12611, 12611, 12611, 12660, 12660, 12660, 12698, 12698, 12698, 12756, 12756, 12756, + 12793, 12793, 12793, 12831, 12831, 12831, 12870, 12870, 12870, 12895, 12895, 12895, 12900, 12900, 12900, 12908, 12908, 12908, 12945, 12945, 12945, 12980, 12980, 12980, + 13008, 13026, 13026, 13042, 13065, 13065, 13085, 13085, 13085, 13093, 13093, 13093, 13109, 13133, 13133, 13147, 13147, 13147, 13156, 13156, 13156, 13180, 13200, 13200, + 13214, 13214, 13214, 13260, 13281, 13281, 13296, 13296, 13296, 13326, 13326, 13326, 13353, 13353, 13353, 13380, 13380, 13380, 13385, 13385, 13385, 13396, 13396, 13396, + 13413, 13441, 13441, 13463, 13463, 13463, 13479, 13506, 13506, 13524, 13524, 13524, 13534, 13534, 13534, 13547, 13547, 13547, 13576, 13647, 13647, 13687, 13734, 13734, + 13764, 13810, 13810, 13841, 13841, 13841, 13846, 137, 137, 13873, 13873, 13873, 13881, 13881, 13881, 13889, 13889, 13889, 13914, 13914, 13914, 13926, 13926, 13926, + 13937, 13953, 13953, 13966, 13966, 13966, 13975, 13975, 13975, 13988, 14014, 14014, 14032, 14032, 14032, 14041, 14061, 14061, 14076, 14076, 14076, 14094, 14094, 14094, + 14142, 14142, 14142, 14160, 14201, 14201, 14229, 14270, 14270, 14290, 14328, 14328, 14344, 14383, 14383, 14402, 14442, 14442, 14473, 14513, 14513, 14537, 14537, 14537, + 14545, 14545, 14545, 14555, 14555, 14555, 14568, 14583, 14583, 14595, 14595, 14595, 14638, 14638, 14638, 14678, 14678, 14678, 14714, 14714, 14714, 14747, 14764, 14764, + 14778, 14778, 14778, 14789, 14789, 14789, 14797, 14811, 14811, 14822, 14837, 14837, 14848, 14848, 14848, 14853, 14868, 14868, 14880, 14880, 14880, 14887, 14887, 14887, + 14899, 14899, 14899, 14924, 14924, 14924, 14944, 14969, 14969, 14984, 15016, 15016, 15033, 15078, 15078, 15102, 15157, 15157, 15181, 15229, 15229, 15249, 15298, 15298, + 15325, 15325, 15325, 15378, 15378, 15378, 15423, 15423, 15423, 15437, 15487, 15487, 15509, 15509, 15509, 15520, 15520, 15520, 15529, 15529, 15529, 15534, 15534, 15534, + 15548, 15548, 15548, 15555, 15555, 15555, 15572, 15572, 15572, 10603, 10603, 10603, 15581, 15593, 15593, 15602, 15618, 15618, 15629, 15629, 15629, 3146, 3146, 3146, + 15639, 15639, 15639, 15646, 15646, 15646, 15658, 15658, 15658, 137, 137, 137, 13380, 13380, 13380, 8901, 8901, 8901, 15672, 15686, 15686, 15692, 15692, 15692, + 15711, 15750, 15750, 15777, 15777, 15777, 15786, 15786, 15786, 15791, 15791, 15791, 15796, 15832, 15832, 15861, 15906, 15906, 15933, 15933, 15933, 15943, 15943, 15943, + 15952, 15952, 15952, 15962, 15962, 15962, 15972, 15972, 15972, 15978, 15978, 15978, 15985, 16000, 16000, 16011, 16011, 16011, 16021, 16021, 16021, 16029, 16043, 16043, + 16054, 16054, 16054, 16066, 16066, 16066, 16073, 16089, 16089, 16102, 16102, 16102, 16102, 16102, 16102, 16112, 16165, 16165, 16206, 16247, 16247, 16284, 16284, 16284, + 16335, 16335, 16335, 16343, 16343, 16343, 16352, 16352, 16352, 16370, 16389, 16389, 16398, 16398, 16398, 16416, 16416, 16416, 16430, 16430, 16430, 16446, 16446, 16446, + 16462, 16462, 16462, 16480, 16480, 16480, 16513, 16513, 16513, 16526, 16526, 16526, 16539, 16539, 16539, 16546, 16546, 16546, 16583, 16583, 16583, 16598, 16614, 16614, + 16620, 16620, 16620, 16629, 16654, 16654, 16676, 16691, 16691, 16703, 16703, 16703, 16718, 16718, 16718, 16757, 16757, 16757, 16807, 16807, 16807, 16842, 16842, 16842, + 16848, 16863, 16863, 16878, 16893, 16893, 16905, 16905, 16905, 16964, 16964, 16964, 16987, 16987, 16987, 17003, 17003, 17003, 17017, 17017, 17017, 17032, 17049, 17049, + 17065, 17087, 17087, 17105, 17105, 17105, 17136, 17136, 17136, 17147, 17147, 17147, 17159, 17159, 17159, 17204, 17251, 17251, 17279, 17279, 17279, 17312, 17312, 17312, + 17348, 17348, 17348, 17367, 17387, 17387, 17400, 17443, 17443, 17473, 17473, 17473, 17516, 17516, 17516, 17530, 17530, 17530, 17537, 17560, 17560, 17578, 17601, 17601, + 17616, 17647, 17647, 12014, 12031, 12031, 1565, 1565, 1565, 17669, 17669, 17669, 17677, 17677, 17677, 17683, 17683, 17683, 17691, 17703, 17703, 17712, 17724, 17724, + 17734, 17734, 17734, 17742, 17771, 17771, 17793, 17793, 17793, 17797, 17822, 17822, 17834, 17857, 17857, 17872, 17872, 17872, 17882, 17882, 17882, 17893, 17893, 17893, + 17905, 17905, 17905, 17916, 17935, 17935, 17941, 17960, 17960, 17973, 17973, 17973, 17986, 17986, 17986, 18000, 18000, 18000, 18013, 18013, 18013, 18024, 18047, 18047, + 18060, 18060, 18060, 18068, 18082, 18082, 18094, 18094, 18094, 18104, 18104, 18104, 18114, 18114, 18114, 7064, 7064, 7064, 18125, 18125, 18125, 18135, 18135, 18135, + 18141, 18141, 18141, 18161, 18161, 18161, 18170, 18170, 18170, 18192, 18192, 18192, 18205, 18231, 18231, 18252, 18252, 18252, 18265, 18285, 18285, 18302, 18302, 18302, + 18311, 18311, 18311, 18325, 18349, 18349, 18364, 18364, 18364, 18381, 18381, 18381, 18391, 18391, 18391, 18401, 18401, 18401, 18438, 18438, 18438, 18481, 18481, 18481, + 18527, 18527, 18527, 18545, 18545, 18545, 18550, 18550, 18550, 18559, 18559, 18559, 18618, 18618, 18618, 18649, 18649, 18649, 18654, 18654, 18654, 18699, 18699, 18699, + 18747, 18747, 18747, 18780, 18780, 18780, 18801, 18801, 18801, 18843, 18843, 18843, 18882, 18882, 18882, 18899, 18899, 18899, 18942, 18942, 18942, 18956, 18956, 18956, + 18978, 18978, 18978, 19006, 19006, 19006, 19033, 19033, 19033, 19092, 19092, 19092, 19155, 19155, 19155, 19216, 19216, 19216, 19267, 19267, 19267, 19272, 19272, 19272, + 19304, 19304, 19304, 19330, 19330, 19330, 19360, 19360, 19360, 19398, 19398, 19398, 19409, 19409, 19409, 19441, 19441, 19441, 19493, 19493, 19493, 19532, 19559, 19559, + 19582, 19618, 19618, 19644, 19699, 19699, 19717, 19759, 19759, 19783, 19783, 19783, 19816, 19816, 19816, 19849, 19849, 19849, 19909, 19909, 19909, 19932, 19932, 19932, + 19986, 19986, 19986, 20022, 20022, 20022, 20055, 20055, 20055, 20110, 20110, 20110, 20161, 20161, 20161, 20187, 20187, 20187, 20237, 20237, 20237, 20292, 20292, 20292, + 20342, 20342, 20342, 20392, 20392, 20392, 20431, 20431, 20431, 3410, 3410, 3410, 20472, 20472, 20472, 20493, 20493, 20493, 20523, 20523, 20523, 20565, 20565, 20565, + 20601, 20601, 20601, 20642, 20642, 20642, 20685, 20685, 20685, 20714, 20714, 20714, 20764, 20764, 20764, 20795, 20795, 20795, 20835, 20835, 20835, 20879, 20879, 20879, + 20911, 20911, 20911, 20941, 20941, 20941, 20984, 20984, 20984, 21013, 21013, 21013, 21041, 21041, 21041, 21070, 21070, 21070, 21110, 21110, 21110, 21157, 21157, 21157, + 21198, 21198, 21198, 21228, 21228, 21228, 21264, 21264, 21264, 21300, 21300, 21300, 21334, 21334, 21334, 21374, 21374, 21374, 21437, 21437, 21437, 21483, 21483, 21483, + 21523, 21523, 21523, 21565, 21565, 21565, 21604, 21604, 21604, 21659, 21659, 21659, 21695, 21695, 21695, 21726, 21726, 21726, 21763, 21763, 21763, 21796, 21796, 21796, + 21841, 21841, 21841, 21863, 21863, 21863, 21911, 21911, 21911, 21943, 21943, 21943, 21977, 21977, 21977, 22002, 22002, 22002, 22027, 22027, 22027, 22066, 22066, 22066, + 22105, 22105, 22105, 22143, 22143, 22143, 22173, 22173, 22173, 22192, 22192, 22192, 22217, 22217, 22217, 22262, 22262, 22262, 22313, 22313, 22313, 22359, 22359, 22359, + 22375, 22375, 22375, 22407, 22407, 22407, 22458, 22458, 22458, 22492, 22492, 22492, 22514, 22514, 22514, 22566, 22607, 22607, 22634, 22634, 22634, 22650, 22650, 22650, + 22691, 22691, 22691, 22737, 22784, 22784, 22817, 22817, 22817, 22839, 22839, 22839, 22878, 22878, 22878, 22887, 22887, 22887, 22927, 22927, 22927, 22961, 22961, 22961, + 22993, 22993, 22993, 23026, 23026, 23026, 23065, 23065, 23065, 23089, 23089, 23089, 23114, 23114, 23114, 23145, 23145, 23145, 23192, 23192, 23192, 23232, 23232, 23232, + 23285, 23285, 23285, 23336, 23336, 23336, 23367, 23367, 23367, 23398, 23398, 23398, 23426, 23426, 23426, 23471, 23471, 23471, 23504, 23504, 23504, 23527, 23527, 23527, + 23576, 23576, 23576, 23619, 23619, 23619, 23665, 23665, 23665, 23706, 23706, 23706, 23719, 23719, 23719, 23758, 23758, 23758, 23803, 23803, 23803, 23837, 23837, 23837, + 23843, 23843, 23843, 23888, 23888, 23888, 23925, 23925, 23925, 23964, 23964, 23964, 24041, 24041, 24041, 24089, 24089, 24089, 24151, 24151, 24151, 24194, 24194, 24194, + 24238, 24238, 24238, 24262, 24262, 24262, 24287, 24287, 24287, 24327, 24327, 24327, 24369, 24369, 24369, 24415, 24454, 24454, 24476, 24476, 24476, 24517, 24517, 24517, + 24549, 24549, 24549, 24589, 24589, 24589, 24613, 24613, 24613, 24621, 24621, 24621, 10274, 10274, 10274, 24668, 24668, 24668, 24717, 24717, 24717, 24759, 24759, 24759, + 24807, 24807, 24807, 24860, 24860, 24860, 24894, 24894, 24894, 24937, 24937, 24937, 25002, 25002, 25002, 25057, 25057, 25057, 25112, 25112, 25112, 25157, 25157, 25157, + 25174, 25174, 25174, 25234, 25234, 25234, 25259, 25259, 25259, 25273, 25273, 25273, 25300, 25300, 25300, 25349, 25349, 25349, 25406, 25406, 25406, 25440, 25440, 25440, + 25472, 25472, 25472, 25497, 25497, 25497, 25533, 25533, 25533, 25567, 25567, 25567, 25596, 25596, 25596, 25606, 25606, 25606, 25635, 25635, 25635, 25671, 25671, 25671, + 25695, 25695, 25695, 25742, 25742, 25742, 25750, 25750, 25750, 25792, 25792, 25792, 25809, 25809, 25809, 25847, 25847, 25847, 25892, 25892, 25892, 25916, 25916, 25916, + 25947, 25947, 25947, 25976, 25976, 25976, 26009, 26009, 26009, 26034, 26034, 26034, 26041, 26041, 26041, 26120, 26120, 26120, 26142, 26142, 26142, 26148, 26148, 26148, + 26155, 26155, 26155, 26174, 26174, 26174, 26207, 26207, 26207, 7064, 7064, 7064, 26245, 26245, 26245, 26258, 26258, 26258, 26286, 26286, 26286, 26297, 26297, 26297, + 26326, 26326, 26326, 26360, 26360, 26360, 26403, 26403, 26403, 26416, 26416, 26416, 26462, 26462, 26462, 26505, 26505, 26505, 26548, 26548, 26548, 26576, 26610, 26610, + 26635, 26635, 26635, 26652, 26652, 26652, 26687, 26687, 26687, 26716, 26716, 26716, 26740, 26740, 26740, 26769, 26769, 26769, 26799, 26799, 26799, 26827, 26827, 26827, + 26870, 26870, 26870, 26911, 26911, 26911, 26950, 26950, 26950, 26977, 26977, 26977, 27007, 27007, 27007, 27021, 27021, 27021, 27070, 27070, 27070, 27105, 27105, 27105, + 27124, 27124, 27124, 27152, 27152, 27152, 27164, 27164, 27164, 27210, 27210, 27210, 27258, 27258, 27258, 27307, 27307, 27307, 27352, 27352, 27352, 27399, 27399, 27399, + 27446, 27446, 27446, 27499, 27499, 27499, 27563, 27563, 27563, 27614, 27614, 27614, 27644, 27644, 27644, 27650, 27650, 27650, 27690, 27690, 27690, 27697, 27697, 27697, + 27734, 27734, 27734, 27761, 27761, 27761, 27784, 27784, 27784, 27826, 27826, 27826, 27855, 27855, 27855, 27897, 27897, 27897, 27907, 27907, 27907, 27932, 27932, 27932, + 28000, 28000, 28000, 28040, 28040, 28040, 28071, 28071, 28071, 28123, 28123, 28123, 28165, 28165, 28165, 28209, 28209, 28209, 28249, 28249, 28249, 28304, 28304, 28304, + 28341, 28341, 28341, 28384, 28384, 28384, 28419, 28419, 28419, 28492, 28492, 28492, 28558, 28558, 28558, 28622, 28622, 28622, 28693, 28693, 28693, 28717, 28717, 28717, + 28740, 28740, 28740, 28748, 28748, 28748, 28772, 28772, 28772, 28795, 28795, 28795, 28844, 28844, 28844, 28896, 28896, 28896, 28945, 28945, 28945, 28960, 28960, 28960, + 28980, 28980, 28980, 29033, 29033, 29033, 29070, 29070, 29070, 29109, 29109, 29109, 29142, 29142, 29142, 29163, 29163, 29163, 29190, 29206, 29206, 29222, 29222, 29222, + 29234, 29234, 29234, 29276, 29276, 29276, 29294, 29294, 29294, 29324, 29324, 29324, 29364, 29364, 29364, 29416, 29416, 29416, 29459, 29459, 29459, 29495, 29495, 29495, + 29555, 29555, 29555, 29592, 29592, 29592, 29629, 29629, 29629, 29659, 29659, 29659, 29678, 29678, 29678, 29720, 29720, 29720, 29752, 29752, 29752, 29785, 29785, 29785, + 29810, 29810, 29810, 29846, 29846, 29846, 29896, 29896, 29896, 29950, 29950, 29950, 29981, 29981, 29981, 30021, 30021, 30021, 30052, 30052, 30052, 30097, 30097, 30097, + 30105, 30105, 30105, 30127, 30127, 30127, 30185, 30185, 30185, 30218, 30218, 30218, 30226, 30226, 30226, 30249, 30249, 30249, 30269, 30269, 30269, 30305, 30305, 30305, + 30364, 30364, 30364, 30415, 30415, 30415, 30444, 30444, 30444, 30491, 30491, 30491, 30529, 30529, 30529, 30562, 30562, 30562, 3096, 3096, 3096, 30596, 30596, 30596, + 30602, 30602, 30602, 30645, 30645, 30645, 30658, 30658, 30658, 30705, 30705, 30705, 30760, 30760, 30760, 30797, 30797, 30797, 30858, 30858, 30858, 30900, 30900, 30900, + 30961, 30961, 30961, 30990, 30990, 30990, 31019, 31019, 31019, 31036, 31036, 31036, 31079, 31079, 31079, 31124, 31124, 31124, 31160, 31160, 31160, 31167, 31167, 31167, + 31193, 31193, 31193, 31219, 31219, 31219, 31252, 31252, 31252, 31283, 31283, 31283, 31318, 31318, 31318, 31365, 31365, 31365, 31401, 31401, 31401, 31422, 31422, 31422, + 31447, 31447, 31447, 31475, 31475, 31475, 31512, 31512, 31512, 31535, 31535, 31535, 31561, 31561, 31561, 31598, 31598, 31598, 31627, 31627, 31627, 31652, 31652, 31652, + 1606, 1606, 1606, 31669, 31669, 31669, 31713, 31713, 31713, 1620, 1620, 1620, 31736, 31736, 31736, 31760, 31760, 31760, 31772, 31772, 31772, 31790, 31790, 31790, + 31811, 31811, 31811, 31852, 31852, 31852, 31886, 31886, 31886, 31931, 31931, 31931, 31974, 31974, 31974, 7640, 7640, 7640, 32017, 32017, 32017, 32065, 32065, 32065, + 32099, 32099, 32099, 32135, 32135, 32135, 32149, 32149, 32149, 32174, 32174, 32174, 32184, 32184, 32184, 32194, 32194, 32194, 32207, 32207, 32207, 32215, 32215, 32215, + 32229, 32229, 32229, 32239, 32239, 32239, 32242, 32242, 32242, 9119, 9119, 9119, 32246, 32246, 32246, 32252, 32252, 32252, 32294, 32294, 32294, 32303, 32303, 32303, + 32318, 32318, 32318, 32326, 32326, 32326, 32336, 32336, 32336, 32346, 32346, 32346, 32357, 32357, 32357, 32369, 32369, 32369, 32378, 32378, 32378, 32393, 32393, 32393, + 32402, 32424, 32424, 32441, 32441, 32441, 32453, 32453, 32453, 32462, 32492, 32492, 32505, 32529, 32529, 32536, 32536, 32536, 32544, 32544, 32544, 32559, 32577, 32577, + 5495, 5495, 5495, 32584, 32584, 32584, 5562, 5562, 5562, 32591, 32591, 32591, 32603, 32623, 32623, 32634, 32634, 32634, 32646, 32671, 32671, 32689, 32689, 32689, + 32698, 32698, 32698, 32720, 32720, 32720, 32765, 32765, 32765, 32775, 32775, 32775, 32784, 32800, 32800, 32810, 32810, 32810, 32829, 32829, 32829, 32846, 32846, 32846, + 32870, 32870, 32870, 32885, 32885, 32885, 32891, 32891, 32891, 32896, 32896, 32896, 32903, 32915, 32915, 32923, 32923, 32923, 32930, 32930, 32930, 32937, 32937, 32937, + 32943, 32960, 32960, 32964, 32983, 32983, 32989, 33009, 33009, 33016, 33016, 33016, 33026, 33026, 33026, 33033, 33033, 33033, 33047, 33075, 33075, 33092, 33092, 33092, + 33110, 33110, 33110, 33134, 33134, 33134, 33140, 33140, 33140, 33144, 33144, 33144, 33147, 33147, 33147, 33157, 33157, 33157, 33168, 33168, 33168, 33174, 33174, 33174, + 33192, 33209, 33209, 33223, 33247, 33247, 33260, 33279, 33279, 33295, 33313, 33313, 33328, 33328, 33328, 33332, 33332, 33332, 33336, 33354, 33354, 33366, 33386, 33386, + 33400, 33400, 33400, 33412, 33430, 33430, 33445, 33468, 33468, 33480, 33480, 33480, 33493, 33493, 33493, 33504, 33504, 33504, 33515, 33515, 33515, 33521, 33521, 33521, + 33529, 33529, 33529, 33541, 33541, 33541, 33555, 33555, 33555, 33564, 33586, 33586, 33602, 33602, 33602, 33613, 33630, 33630, 33641, 33641, 33641, 33652, 33677, 33677, + 33692, 33711, 33711, 33727, 33727, 33727, 31160, 31160, 31160, 15529, 15529, 15529, 33733, 33733, 33733, 33778, 33778, 33778, 33791, 33791, 33791, 33810, 33810, 33810, + 33831, 33831, 33831, 33854, 33877, 33877, 33886, 33886, 33886, 33897, 33897, 33897, 33910, 33910, 33910, 33917, 33917, 33917, 33929, 137, 137, 33959, 33959, 33959, + 33984, 33984, 33984, 34008, 34008, 34008, 34035, 34035, 34035, 34065, 34086, 34086, 34095, 34095, 34095, 34102, 34102, 34102, 34137, 34137, 34137, 34165, 34165, 34165, + 1731, 1731, 1731, 34185, 34185, 34185, 34203, 34203, 34203, 34216, 34216, 34216, 34229, 34229, 34229, 34251, 34275, 34275, 16029, 16043, 16043, 34292, 34292, 34292, + 34309, 34334, 34334, 34347, 34347, 34347, 34357, 34379, 34379, 34391, 34417, 34417, 34430, 34430, 34430, 34441, 34441, 34441, 34452, 34472, 34472, 34484, 34512, 34512, + 34530, 34530, 34530, 34539, 34560, 34560, 34574, 34593, 34593, 34605, 34605, 34605, 5299, 5299, 5299, 34612, 34640, 34640, 34656, 34678, 34678, 34691, 34710, 34710, + 34726, 34726, 34726, 34741, 34759, 34759, 34767, 34767, 34767, 232, 232, 232, 34779, 34779, 34779, 34802, 34822, 34822, 34838, 34838, 34838, 34851, 34851, 34851, + 34864, 34885, 34885, 34899, 34899, 34899, 2312, 2312, 2312, 34914, 34931, 34931, 34944, 34966, 34966, 34983, 35010, 35010, 35028, 35052, 35052, 35072, 35100, 35100, + 35118, 35118, 35118, 35126, 35126, 35126, 35142, 35175, 35204, 35229, 35251, 35251, 35268, 35268, 35268, 35283, 35283, 35283, 35301, 35327, 35327, 35347, 35369, 35369, + 35383, 35383, 35383, 35403, 35403, 35403, 35410, 35439, 35439, 35459, 35459, 35459, 35467, 35467, 35467, 5934, 5934, 5934, 35479, 35502, 35502, 32885, 32885, 32885, + 35521, 35521, 35521, 35530, 35561, 35561, 35581, 35601, 35601, 35618, 35642, 35642, 35657, 35680, 35680, 35697, 35716, 35716, 35726, 35756, 35756, 35778, 35803, 35803, + 35820, 35843, 35843, 35862, 35886, 35886, 35903, 35925, 35925, 35935, 35955, 35955, 35967, 35967, 35967, 35981, 35981, 35981, 35989, 35989, 35989, 35998, 35998, 35998, + 36012, 5046, 5046, 36042, 36066, 36066, 36086, 36107, 36107, 36116, 36134, 36134, 36148, 16842, 16842, 36166, 36166, 36166, 36181, 36181, 36181, 36202, 36202, 36202, + 36220, 36247, 36247, 36265, 36265, 36265, 36281, 36281, 36281, 36297, 36297, 36297, 36308, 36328, 36328, 36343, 34864, 34864, 36369, 36391, 36391, 36408, 36408, 36408, + 36414, 36433, 36433, 36443, 36443, 36443, 36458, 36479, 36479, 36498, 36498, 36498, 36509, 36523, 36523, 36534, 5158, 5158, 36548, 36565, 36565, 36572, 36572, 36572, + 36577, 36577, 36577, 36586, 36586, 36586, 36597, 36615, 36615, 36631, 36631, 36631, 36644, 209, 209, 1582, 1582, 1582, 36664, 36664, 36664, 36719, 36719, 36719, + 36737, 36753, 36753, 36767, 36767, 36767, 36772, 36772, 36772, 36777, 36777, 36777, 36782, 36782, 36782, 36793, 36793, 36793, 36804, 36826, 36826, 36839, 36856, 36856, + 36870, 36896, 36896, 36911, 36937, 36937, 36953, 36981, 36981, 36995, 36995, 36995, 37008, 37024, 37024, 37034, 37034, 37034, 37047, 37047, 37047, 37066, 37066, 37066, + 37081, 37081, 37081, 37102, 37102, 37102, 37110, 37110, 37110, 37115, 37115, 37115, 37127, 37127, 37127, 37143, 37143, 37143, 37161, 37161, 37161, 37174, 37174, 37174, + 37194, 37210, 37210, 37223, 37223, 37223, 37248, 37248, 37248, 37262, 37262, 37262, 37280, 37280, 37280, 37299, 37299, 37299, 37309, 37309, 37309, 37339, 37339, 37339, + 37349, 37349, 37349, 37355, 37388, 37388, 37410, 18170, 18170, 37438, 37438, 37438, 37457, 37457, 37457, 37493, 37493, 37493, 37504, 37504, 37504, 37515, 37515, 37515, + 37526, 37526, 37526, 37532, 193, 193, 37548, 37548, 37548, 37558, 37558, 37558, 37565, 37565, 37565, 37572, 37584, 37584, 37593, 37593, 37593, 37604, 37604, 37604, + 37614, 37614, 37614, 37625, 37642, 37642, 37657, 37657, 37657, 37667, 37667, 37667, 37676, 37693, 37693, 32930, 32930, 32930, 37707, 37707, 37707, 37713, 37713, 37713, + 37723, 37723, 37723, 37732, 37732, 37732, 37743, 37758, 37758, 37770, 37770, 37770, 37782, 37782, 37782, 37789, 37800, 37800, 37808, 37819, 37819, 37824, 37824, 37824, + 37831, 37831, 37831, 560, 560, 560, 8923, 8923, 8923, 37841, 37841, 37841, 37849, 37873, 37873, 37890, 37890, 37890, 37895, 37912, 37912, 37927, 37927, 37927, + 37934, 37934, 37934, 37950, 37950, 37950, 37967, 37967, 37967, 37982, 37982, 37982, 37990, 37990, 37990, 37998, 37998, 37998, 38005, 38005, 38005, 38010, 38010, 38010, + 38020, 38020, 38020, 38026, 38026, 38026, 38038, 38038, 38038, 38076, 38076, 38087, 38091, 38091, 38091, 38111, 38111, 38111, 38135, 38135, 38135, 38155, 38155, 38155, + 38176, 38176, 38176, 33400, 33400, 33400, 38182, 38182, 38182, 1634, 1634, 1634, 38195, 38195, 38195, 38256, 38256, 38256, 38324, 38369, 38369, 38394, 38394, 38394, + 38464, 38464, 38464, 38525, 38573, 38573, 38604, 38654, 38654, 38683, 38697, 38697, 38702, 38702, 38702, 38734, 38734, 38734, 38772, 38772, 38772, 38805, 38805, 38805, + 38840, 38855, 38855, 38861, 38861, 38861, 38892, 38892, 38892, 38902, 38902, 38902, 38948, 38948, 38948, 38991, 38991, 38991, 39005, 39005, 39005, 39050, 39050, 39050, + 39062, 39062, 39062, 39075, 39075, 39075, 39087, 39087, 39087, 39097, 39097, 39097, 39104, 39104, 39104, 39109, 39109, 39109, 39124, 39124, 39124, 39139, 39139, 39139, }; #if defined(OPENOSC_I18N_PSEUDO) -// Pseudo-localization: 66297 bytes of text. +// Pseudo-localization: 67161 bytes of text. constexpr char Text_en_XA[] = "\000" "[\320\220\320\241QUISI\320\242I\320\236N\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" @@ -4368,7 +4414,9 @@ constexpr char Text_en_XA[] = "[\320\241\320\2351 is th\320\265 l\320\260st \321\201h\320\260nn\320\265l \320\276n\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[\320\241\320\2352 is th\320\265 l\320\260st \321\201h\320\260nn\320\265l \320\276n\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[\320\241h\320\260nn\320\265l\346\265\213\350\257\225\346\265\213]\000" + "[Fun\321\201ti\320\276n\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[\320\241\320\235{0} \320\236ff\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" + "[\320\236ff, hidd\320\265n\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[\320\236ff, \320\241\320\235{0} {1} \321\200ts\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[\320\236n, {0} \321\200ts\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[\320\241\320\235{0} r\320\265\320\260d\320\276ut {1}\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" @@ -4644,6 +4692,7 @@ constexpr char Text_en_XA[] = "[gr\320\276u\321\200 k\320\265\321\203\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[k\320\265\321\203\346\265\213\350\257\225]\000[r\320\260ng\320\265\346\265\213\350\257\225]\000" "[\320\234ultim\320\265t\320\265r {0} \321\201\320\276mm\320\260nd w\320\260s n\320\276t \321\201\320\276nfirm\320\265d\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" + "[D\320\234\320\234 r\320\265\320\260d\320\276ut {0}\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[F\320\260\321\201t\320\276r\321\203: D\320\220\320\241 <1k\320\235z\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[{0}, n\320\276w {1}\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[\320\240W\320\234 \320\260lw\320\260\321\203s\346\265\213\350\257\225\346\265\213\350\257\225]\000" @@ -4864,6 +4913,8 @@ constexpr char Text_en_XA[] = "[\320\240\320\265ri\320\276d\346\265\213\350\257\225\346\265\213]\000" "[\320\240uls\320\265s (rising \320\265dg\320\265s)\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[R\320\234S\346\265\213\350\257\225]\000" + "[R\320\234S (n\320\276t in \320\220\320\241 fun\321\201ti\320\276ns)\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" + "[R\320\234S (n\320\276t \320\220\320\241)\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[\320\242\320\276\321\200 (r\320\276bust high)\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[\320\234\320\225\320\220SUR\320\225\320\234\320\225N\320\242\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[\320\234\320\225\320\220SUR\320\225\320\234\320\225N\320\242S\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" @@ -5033,8 +5084,11 @@ constexpr char Text_en_XA[] = "[DIS\320\241\320\236NN\320\225\320\241\320\242 S\320\241\320\236\320\240\320\225 IN\320\240U\320\242S?\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[Dis\321\201\320\276nn\320\265\321\201t SWD d\320\265bugg\320\265r b\320\265f\320\276r\320\265 \320\265n\320\260bling\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[Dis\321\201\320\276nn\320\265\321\201t th\320\265 ti\321\200 fr\320\276m th\320\265 sign\320\260l\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" + "[D\320\234\320\234 \320\260l\320\276n\320\265: trigg\320\265r \320\220ut\320\276\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[D\320\234\320\234 fun\321\201ti\320\276n s\320\265l\320\265\321\201ti\320\276n f\320\260il\320\265d\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" + "[D\320\234\320\234 r\320\265\320\260dings b\320\265\321\203\320\276nd its l\320\260rg\320\265st s\321\201\320\260l\320\265\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[D\320\234\320\234 st\320\276\321\200\321\200\320\265d r\320\265s\321\200\320\276nding: r\320\265st\320\260rt\320\265d\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" + "[D\320\234\320\234 z\320\265r\320\276 l\320\265\320\260v\320\265s n\320\276 r\320\276\320\276m: m\320\276v\320\265 it\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[Dr\320\260wing...\346\265\213\350\257\225\346\265\213]\000" "[\320\225n\320\260bl\320\265 RUN \320\260nd finish \320\276th\320\265r \320\276\321\200\320\265r\320\260ti\320\276ns\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[\320\225n\320\260bl\320\265 RUN \320\260nd st\320\276\321\200 G\320\225N / \320\276th\320\265r \320\276\321\200\320\265r\320\260ti\320\276ns\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" @@ -5100,6 +5154,7 @@ constexpr char Text_en_XA[] = "[Inv\320\260lid \320\276r d\320\260m\320\260g\320\265d \320\240NG\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[Jum\321\200\346\265\213\350\257\225]\000" "[L\320\260ngu\320\260g\320\265 f\320\276nts n\320\276t f\320\276und; inst\320\260ll th\320\265 firmw\320\260r\320\265 .\320\236S\320\241 in R\320\265\321\201\320\276v\320\265r\321\203\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" + "[L\320\260rg\320\265st D\320\234\320\234 s\321\201\320\260l\320\265\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[List\346\265\213\350\257\225]\000[L\320\276\320\260d\346\265\213\350\257\225]\000" "[L\320\276\320\260ding im\320\260g\320\265...\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[L\320\236GS dir\320\265\321\201t\320\276r\321\203 r\320\265\320\260d f\320\260il\320\265d\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" @@ -5118,6 +5173,7 @@ constexpr char Text_en_XA[] = "[N\320\276 \320\220WG \320\276n this g\320\265n\320\265r\320\260t\320\276r\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[N\320\276 \320\220WG w\320\260v\320\265f\320\276rm l\320\276\320\260d\320\265d\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[N\320\276 \320\241SV fil\320\265s\346\265\213\350\257\225\346\265\213\350\257\225]\000" + "[N\320\276 D\320\234\320\234 r\320\265\320\260dings \320\276n s\321\201r\320\265\320\265n\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[N\320\276 D\320\234\320\234 s\320\265ssi\320\276ns\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[N\320\276 fil\320\265 \320\276\321\200\320\265n\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[N\320\276 fil\320\265 s\320\265l\320\265\321\201t\320\265d\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" @@ -5146,6 +5202,7 @@ constexpr char Text_en_XA[] = "[\320\236ffs\320\265t \320\276utsid\320\265 +-16 \321\201\320\276d\320\265s\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[\320\236th\320\265r fil\320\265s in \320\241\320\220\320\240\320\242UR\320\225S \320\260r\320\265 k\320\265\321\200t\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[\320\236ut\346\265\213\350\257\225]\000" + "[\320\240\320\260st 20 s/div: R\320\276ll, trigg\320\265r \320\220ut\320\276\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[\320\240NG \320\225N\320\241\320\236DING F\320\220IL\320\225D\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[\320\240r\320\265trigg\320\265r: n\320\276t in R\320\276ll\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[\320\240r\320\276fil\320\265 f\320\260il\320\265d th\320\265 t\320\276n\320\265 \321\201h\320\265\321\201ks.\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" @@ -5160,6 +5217,7 @@ constexpr char Text_en_XA[] = "[R\320\265f\320\265r\320\265n\321\201\320\265 n\320\265\320\265ds \320\260 \321\201\320\276m\321\200l\320\265t\320\265d fr\320\260m\320\265\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[R\320\265f\320\265r\320\265n\321\201\320\265 n\320\265\320\265ds \320\260 visibl\320\265 Y-\320\242 \321\201h\320\260nn\320\265l\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[R\320\225L n\320\265\320\265ds \320\260 v\320\260lid \321\201urr\320\265nt r\320\265\320\260ding\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" + "[R\320\265l\320\265\320\260s\320\265 \320\235\320\236LD in th\320\265 D\320\234\320\234 t\320\276 \321\201h\320\260ng\320\265 fun\321\201ti\320\276n\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[R\320\265l\320\265\320\260s\320\265 \320\235\320\236LD t\320\276 \321\201h\320\260ng\320\265 fun\321\201ti\320\276n\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[R\320\265l\320\265\320\260s\320\265 US\320\222 w\320\260v\320\265f\320\276rm t\320\276 r\320\265st\320\276r\320\265\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[R\320\265st\320\260rt \320\260ft\320\265r s\320\260ving t\320\276 \320\260\321\200\321\200l\321\203\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" @@ -5209,6 +5267,7 @@ constexpr char Text_en_XA[] = "[S\320\265ttings n\320\276t s\320\260v\320\265d; \321\200\320\276w\320\265ring \320\276ff\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[S\320\265ttings r\320\265st\320\276r\320\265d fr\320\276m \320\260 b\320\260\321\201ku\321\200 \321\201\320\276\321\200\321\203\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[S\320\265tu\321\200\346\265\213\350\257\225]\000" + "[Sm\320\260ll\320\265st D\320\234\320\234 s\321\201\320\260l\320\265\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[S\320\276ftw\320\260r\320\265 z\320\265r\320\276 \320\276ff; h\320\260rdw\320\260r\320\265 z\320\265r\320\276 k\320\265\321\200t\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[St\320\265\320\260d\321\203 in\321\200ut; this \321\201l\320\276\321\201k \320\276nl\321\203\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[St\320\276\321\200 G\320\225N / \321\201\320\260libr\320\260t\320\265\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" @@ -5228,6 +5287,7 @@ constexpr char Text_en_XA[] = "[\320\242h\320\265m\320\265 l\320\276\320\260d\320\265d; \321\200l\320\276t \321\201h\320\260ng\320\265s dis\321\201\320\260rd\320\265d\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[\320\242\320\235\320\225\320\234\320\225 R\320\225S\320\242\320\236R\320\225D; \320\241\320\220NN\320\236\320\242 WRI\320\242\320\225 \320\242\320\235\320\225\320\234\320\225 JS\320\236N\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[\320\242h\320\265m\320\265 r\320\265st\320\276r\320\265d fr\320\276m \321\200r\320\265vi\320\276us \321\201\320\276\321\200\321\203\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" + "[\320\242h\320\265rm\320\276\321\201\320\276u\321\200l\320\265: s\320\265t \320\234\320\260nu\320\260l jun\321\201ti\320\276n in th\320\265 D\320\234\320\234's \320\234\320\225NU\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[\320\242h\320\265rm\320\276\321\201\320\276u\321\200l\320\265: s\320\265t \320\234\320\260nu\320\260l jun\321\201ti\320\276n in \320\234\320\225NU\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[\320\242\320\276\320\276 m\320\260n\321\203 r\320\276ws: l\320\276ng\320\265r int\320\265rv\320\260l \320\276r sh\320\276rt\320\265r dur\320\260ti\320\276n\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[L\320\276ng\320\265st tr\320\265nd wind\320\276w\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" @@ -5343,6 +5403,7 @@ constexpr char Text_en_XA[] = "[\320\241\320\2351\346\265\213]\000[\320\241\320\2352\346\265\213]\000" "[Di\320\260l \320\260r\321\201\346\265\213\350\257\225\346\265\213]\000" "[Di\320\260l ti\321\201ks\346\265\213\350\257\225\346\265\213\350\257\225]\000" + "[D\320\234\320\234\346\265\213\350\257\225]\000" "[Fun\321\201ti\320\276n sign\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[Inf\320\276 lin\320\265\346\265\213\350\257\225\346\265\213\350\257\225]\000" "[\320\234\320\260th\346\265\213\350\257\225]\000" @@ -5555,7 +5616,7 @@ constexpr char Text_en_XA[] = "[\320\225n\320\260bl\320\265d ({0} \320\234\320\235z \320\276nl\321\203)\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[{0}, \320\276ff \320\260t {1}\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" "[{0}, \320\276ff \320\276n \320\235SI\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213]\000" - "[\320\222\320\276th\346\265\213\350\257\225]\000[D\320\234\320\234\346\265\213\350\257\225]\000" + "[\320\222\320\276th\346\265\213\350\257\225]\000" "[S\321\201\320\276\321\200\320\265\346\265\213\350\257\225]\000" "[W\320\260v\320\265\346\265\213\350\257\225]\000" "[W\320\260v\320\265f\320\276rm {0} n\320\265\320\265ds {1} \320\232i\320\222, {2} \320\232i\320\222 fr\320\265\320\265\012\320\242r\321\203 \320\241SV.gz \320\276r R\320\220W.gz.\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225\346\265\213\350\257\225]\000" @@ -5609,167 +5670,168 @@ constexpr uint32_t Offsets_en_XA[TextCount * VariantCount] = { 6485, 6485, 6485, 6562, 6562, 6562, 6632, 6632, 6632, 6704, 6704, 6704, 6782, 6782, 6782, 6883, 6883, 6883, 6979, 6979, 6979, 7039, 7039, 7039, 7093, 7093, 7093, 7158, 7158, 7158, 7219, 7219, 7219, 7298, 7298, 7298, 7383, 7383, 7383, 7416, 7416, 7416, 7441, 7441, 7441, 7463, 7463, 7463, 7490, 7490, 7490, 7513, 7513, 7513, 7533, 7533, 7533, 7553, 7553, 7553, 7574, 7574, 7574, 7600, 7600, 7600, 7626, 7626, 7626, 7639, 7639, 7639, - 7659, 7659, 7659, 7682, 7682, 7682, 7703, 7703, 7703, 7728, 7728, 7728, 7789, 7789, 7789, 7850, 7850, 7850, 7872, 7872, 7872, 7902, 7902, 7902, - 7954, 7954, 7954, 7985, 7985, 7985, 8037, 8037, 8037, 8065, 8065, 8065, 8093, 8093, 8093, 8116, 8116, 8116, 8156, 8156, 8156, 8173, 8173, 8173, - 8189, 8189, 8189, 8206, 8206, 8206, 8206, 8206, 8206, 8221, 8221, 8221, 8237, 8237, 8237, 8250, 8250, 8250, 8266, 8266, 8266, 8292, 8292, 8292, - 8221, 8221, 8221, 8307, 8307, 8307, 8322, 8322, 8322, 8343, 8343, 8343, 8237, 8237, 8237, 8361, 8361, 8361, 8380, 8380, 8380, 8393, 8393, 8393, - 8413, 8413, 8413, 8428, 8428, 8428, 8448, 8448, 8448, 8469, 8469, 8469, 8505, 8505, 8505, 8542, 8542, 8542, 8572, 8572, 8572, 8603, 8603, 8603, - 8625, 8625, 8625, 8660, 8660, 8660, 8689, 8689, 8689, 8715, 8715, 8715, 8738, 8738, 8738, 8767, 8767, 8767, 8797, 8797, 8797, 8842, 8842, 8842, - 8887, 8887, 8887, 8908, 8908, 8908, 8944, 8944, 8944, 8960, 8960, 8960, 8984, 8984, 8984, 9005, 9005, 9005, 9021, 9021, 9021, 9038, 9038, 9038, - 9060, 9060, 9060, 9101, 9101, 9101, 9125, 9125, 9125, 9146, 9146, 9146, 9172, 9172, 9172, 9184, 9184, 9184, 9211, 9211, 9211, 9248, 9248, 9248, - 9274, 9274, 9274, 9304, 9304, 9304, 9318, 9318, 9318, 9367, 9367, 9367, 9394, 9394, 9394, 9421, 9421, 9421, 9453, 9453, 9453, 9481, 9481, 9481, - 9510, 9510, 9510, 9549, 9549, 9549, 9588, 9588, 9588, 9630, 9630, 9630, 9673, 9673, 9673, 9708, 9708, 9708, 9725, 9725, 9725, 9760, 9760, 9760, - 9783, 9783, 9783, 9829, 9829, 9829, 9896, 9896, 9896, 9967, 9967, 9967, 10012, 10012, 10012, 10060, 10060, 10060, 10107, 10107, 10107, 10133, 10133, 10133, - 10155, 10155, 10155, 10190, 10190, 10190, 10227, 10227, 10227, 10262, 10262, 10262, 10297, 10297, 10297, 10333, 10333, 10333, 10368, 10368, 10368, 10382, 10382, 10382, - 10431, 10431, 10431, 10486, 10486, 10486, 10514, 10514, 10514, 10527, 10527, 10527, 10561, 10561, 10561, 10597, 10597, 10597, 10625, 10625, 10625, 10654, 10654, 10654, - 10681, 10681, 10681, 10728, 10728, 10728, 10743, 10743, 10743, 10757, 10757, 10757, 10770, 10770, 10770, 10786, 10786, 10786, 10823, 10823, 10823, 10836, 10836, 10836, - 10853, 10853, 10853, 10868, 10868, 10868, 10890, 10890, 10890, 10912, 10912, 10912, 10936, 10936, 10936, 10975, 10975, 10975, 11011, 11011, 11011, 11046, 11046, 11046, - 11066, 11066, 11066, 11104, 11104, 11104, 11147, 11147, 11147, 11173, 11173, 11173, 11222, 11222, 11222, 4422, 4422, 4422, 11275, 11275, 11275, 11303, 11303, 11303, - 11337, 11337, 11337, 11357, 11357, 11357, 11385, 11385, 11385, 11432, 11432, 11432, 11454, 11454, 11454, 11476, 11476, 11476, 11490, 11490, 11490, 11510, 11510, 11510, - 11538, 11538, 11538, 11572, 11572, 11572, 11602, 11602, 11602, 11620, 11620, 11620, 11647, 11647, 11647, 11669, 11669, 11669, 11683, 11683, 11683, 11723, 11723, 11723, - 11764, 11764, 11764, 11779, 11779, 11779, 11792, 11792, 11792, 11818, 11818, 11818, 11849, 11849, 11849, 11875, 11875, 11875, 11954, 11954, 11954, 12024, 12024, 12024, - 12107, 12107, 12107, 12176, 12176, 12176, 12250, 12250, 12250, 12310, 12310, 12310, 12352, 12352, 12352, 12409, 12409, 12409, 12459, 12459, 12459, 12527, 12527, 12527, - 12584, 12584, 12584, 12643, 12643, 12643, 12724, 12724, 12724, 12769, 12769, 12769, 12810, 12810, 12810, 12866, 12866, 12866, 12913, 12913, 12913, 12965, 12965, 12965, - 13010, 13010, 13010, 13058, 13058, 13058, 13108, 13108, 13108, 13180, 13180, 13180, 13239, 13239, 13239, 2476, 2476, 2476, 13298, 13298, 13298, 13315, 13315, 13315, - 13332, 13332, 13332, 13374, 13374, 13374, 13390, 13390, 13390, 13412, 13412, 13412, 13433, 13433, 13433, 13448, 13448, 13448, 13466, 13466, 13466, 13484, 13484, 13484, - 13513, 13513, 13513, 13541, 13541, 13541, 13577, 13577, 13577, 13600, 13600, 13600, 13621, 13621, 13621, 13714, 13714, 13714, 13786, 13786, 13786, 13815, 13815, 13815, - 13910, 13910, 13910, 14006, 14006, 14006, 14085, 14085, 14085, 14164, 14164, 14164, 14190, 14190, 14190, 14243, 14243, 14243, 14326, 14326, 14326, 14359, 14359, 14359, - 14386, 14386, 14386, 14426, 14426, 14426, 14462, 14462, 14462, 14519, 14519, 14519, 14545, 14545, 14545, 14630, 14630, 14630, 14661, 14661, 14661, 14687, 14687, 14687, - 14769, 14769, 14769, 14845, 14845, 14845, 14935, 14935, 14935, 15023, 15023, 15023, 15112, 15112, 15112, 15181, 15181, 15181, 15196, 15196, 15196, 15219, 15219, 15219, - 15269, 15269, 15269, 15306, 15306, 15306, 15358, 15358, 15358, 15409, 15409, 15409, 15424, 15424, 15424, 15451, 15451, 15451, 15474, 15474, 15474, 15500, 15500, 15500, - 15522, 15522, 15522, 15550, 15550, 15550, 15576, 15576, 15576, 15591, 15591, 15591, 15621, 15621, 15621, 15668, 15668, 15668, 15695, 15695, 15695, 15726, 15726, 15726, - 15754, 15754, 15754, 15783, 15783, 15783, 15818, 15818, 15818, 15847, 15847, 15847, 15876, 15876, 15876, 15911, 15911, 15911, 15939, 15939, 15939, 15983, 15983, 15983, - 16007, 16007, 16007, 16021, 16021, 16021, 16108, 16108, 16108, 16152, 16152, 16152, 16177, 16177, 16177, 16206, 16206, 16206, 16240, 16240, 16240, 16267, 16267, 16267, - 16293, 16293, 16293, 16335, 16335, 16335, 16457, 16457, 16457, 16534, 16534, 16534, 16609, 16609, 16609, 16715, 16715, 16715, 16811, 16811, 16811, 16929, 16929, 16929, - 17032, 17032, 17032, 17113, 17113, 17113, 17134, 17134, 17134, 17149, 17149, 17149, 10853, 10853, 10853, 17164, 17164, 17164, 17177, 17177, 17177, 17195, 17195, 17195, - 17212, 17212, 17212, 17238, 17238, 17238, 17294, 17294, 17294, 17324, 17324, 17324, 17359, 17359, 17359, 17389, 17389, 17389, 17446, 17446, 17446, 17469, 17469, 17469, - 17519, 17519, 17519, 17542, 17542, 17542, 17571, 17571, 17571, 17597, 17597, 17597, 17616, 17616, 17616, 17648, 17648, 17648, 17671, 17671, 17671, 17692, 17692, 17692, - 17737, 17737, 17737, 17773, 17773, 17773, 17798, 17798, 17798, 17825, 17825, 17825, 17874, 17874, 17874, 17910, 17910, 17910, 17942, 17942, 17942, 17963, 17963, 17963, - 390, 390, 390, 17999, 17999, 17999, 18015, 18015, 18015, 18042, 18042, 18042, 18082, 18082, 18082, 18107, 18107, 18107, 18132, 18132, 18132, 18160, 18160, 18160, - 18174, 18174, 18174, 18190, 18190, 18190, 18292, 18292, 18292, 18338, 18338, 18338, 1317, 1317, 1317, 18369, 18369, 18369, 18399, 18399, 18399, 18413, 18413, 18413, - 18435, 18435, 18435, 17999, 17999, 17999, 18449, 18449, 18449, 18470, 18470, 18470, 18493, 18493, 18493, 2476, 2476, 2476, 18508, 18508, 18508, 18595, 18595, 18595, - 18610, 18610, 18610, 18652, 18652, 18652, 18679, 18679, 18679, 18721, 18721, 18721, 18758, 18758, 18758, 18786, 18786, 18786, 18815, 18815, 18815, 18843, 18843, 18843, - 18859, 18859, 18859, 18892, 18892, 18892, 18926, 18926, 18926, 18959, 18959, 18959, 18993, 18993, 18993, 19026, 19026, 19026, 19055, 19055, 19055, 19092, 19092, 19092, - 19122, 19122, 19122, 19151, 19151, 19151, 19227, 19227, 19227, 19298, 19298, 19298, 19328, 19328, 19328, 19370, 19370, 19370, 19414, 19414, 19414, 19429, 19429, 19429, - 19497, 19497, 19497, 19527, 19527, 19527, 19613, 19613, 19613, 19691, 19691, 19691, 19780, 19780, 19780, 19850, 19850, 19850, 19934, 19934, 19934, 19996, 19996, 19996, - 20053, 20053, 20053, 20072, 20072, 20072, 20087, 20087, 20087, 20149, 20149, 20149, 20224, 20224, 20224, 20276, 20276, 20276, 20313, 20313, 20313, 20358, 20358, 20358, - 20373, 20373, 20373, 20408, 20408, 20408, 20456, 20456, 20456, 20482, 20482, 20482, 20551, 20551, 20551, 20601, 20601, 20601, 20691, 20691, 20691, 20724, 20724, 20724, - 20788, 20788, 20788, 20834, 20834, 20834, 20879, 20879, 20879, 20894, 20894, 20894, 20930, 20930, 20930, 20979, 20979, 20979, 21029, 21029, 21029, 21066, 21066, 21066, - 21124, 21124, 21124, 21149, 21149, 21149, 21188, 21188, 21188, 21263, 21263, 21263, 21390, 21390, 21390, 21483, 21483, 21483, 21561, 21561, 21561, 21577, 21577, 21577, - 21622, 21622, 21622, 21641, 21641, 21641, 21667, 21667, 21667, 21728, 21728, 21728, 21764, 21764, 21764, 21781, 21781, 21781, 21817, 21817, 21817, 21840, 21840, 21840, - 21862, 21862, 21862, 21907, 21907, 21907, 21927, 21927, 21927, 21963, 21963, 21963, 22000, 22000, 22000, 22079, 22079, 22079, 22116, 22116, 22116, 22208, 22208, 22208, - 22290, 22290, 22290, 22367, 22367, 22367, 22447, 22447, 22447, 22531, 22531, 22531, 22624, 22624, 22624, 22641, 22641, 22641, 22664, 22664, 22664, 22692, 22692, 22692, - 22725, 22725, 22725, 22799, 22799, 22799, 22878, 22878, 22878, 22945, 22945, 22945, 23028, 23028, 23028, 23068, 23068, 23068, 23083, 23083, 23083, 23103, 23103, 23103, - 23132, 23132, 23132, 23161, 23161, 23161, 23176, 23176, 23176, 23215, 23215, 23215, 23232, 23232, 23232, 23261, 23261, 23261, 23305, 23305, 23305, 23343, 23343, 23343, - 23393, 23393, 23393, 23464, 23464, 23464, 23540, 23540, 23540, 23641, 23641, 23641, 23738, 23738, 23738, 23835, 23835, 23835, 23925, 23925, 23925, 24017, 24017, 24017, - 24051, 24051, 24051, 24150, 24150, 24150, 24168, 24168, 24168, 24190, 24190, 24190, 24204, 24204, 24204, 24226, 24226, 24226, 24241, 24241, 24241, 24278, 24278, 24278, - 16007, 16007, 16007, 24297, 24297, 24297, 24320, 24320, 24320, 24357, 24357, 24357, 24375, 24375, 24375, 24396, 24396, 24396, 24414, 24414, 24414, 24444, 24444, 24444, - 24483, 24483, 24483, 20879, 20879, 20879, 13374, 13374, 13374, 24504, 24504, 24504, 24524, 24524, 24524, 24570, 24570, 24570, 24648, 24648, 24648, 24676, 24676, 24676, - 24690, 24690, 24690, 24703, 24703, 24703, 24780, 24780, 24780, 24869, 24869, 24869, 24890, 24890, 24890, 24913, 24913, 24913, 24938, 24938, 24938, 24963, 24963, 24963, - 24979, 24979, 24979, 24999, 24999, 24999, 25030, 25030, 25030, 25046, 25046, 25046, 25070, 25070, 25070, 25103, 25103, 25103, 25129, 25129, 25129, 25145, 25145, 25145, - 25173, 25173, 25173, 25173, 25173, 25173, 25198, 25198, 25198, 25310, 25310, 25310, 25387, 25387, 25387, 25495, 25495, 25495, 25516, 25516, 25516, 25540, 25540, 25540, - 25580, 25580, 25580, 25619, 25619, 25619, 25657, 25657, 25657, 25683, 25683, 25683, 25717, 25717, 25717, 25751, 25751, 25751, 25801, 25801, 25801, 25857, 25857, 25857, - 25883, 25883, 25883, 25914, 25914, 25914, 25935, 25935, 25935, 26008, 26008, 26008, 26045, 26045, 26045, 26076, 26076, 26076, 26099, 26099, 26099, 26146, 26146, 26146, - 26173, 26173, 26173, 26202, 26202, 26202, 26303, 26303, 26303, 26397, 26397, 26397, 26469, 26469, 26469, 26492, 26492, 26492, 26529, 26529, 26529, 26578, 26578, 26578, - 26678, 26678, 26678, 26729, 26729, 26729, 26765, 26765, 26765, 26796, 26796, 26796, 26832, 26832, 26832, 26867, 26867, 26867, 26909, 26909, 26909, 26967, 26967, 26967, - 26996, 26996, 26996, 27024, 27024, 27024, 27102, 27102, 27102, 27190, 27190, 27190, 27266, 27266, 27266, 27326, 27326, 27326, 27359, 27359, 27359, 27390, 27390, 27390, - 27463, 27463, 27463, 27549, 27549, 27549, 27598, 27598, 27598, 27616, 27616, 27616, 27676, 27676, 27676, 27721, 27721, 27721, 18399, 18399, 18399, 2476, 2476, 2476, - 27786, 27786, 27786, 27808, 27808, 27808, 27824, 27824, 27824, 27844, 27844, 27844, 27880, 27880, 27880, 27914, 27914, 27914, 27935, 27935, 27935, 27984, 27984, 27984, - 27997, 27997, 27997, 28039, 28039, 28039, 28075, 28075, 28075, 28112, 28112, 28112, 28142, 28142, 28142, 28163, 28163, 28163, 28191, 28191, 28191, 28228, 28228, 28228, - 28260, 28260, 28260, 28289, 28289, 28289, 28317, 28317, 28317, 28337, 28337, 28337, 28378, 28378, 28378, 28392, 28392, 28392, 28433, 28433, 28433, 28467, 28467, 28467, - 28490, 28490, 28490, 28517, 28517, 28517, 28539, 28539, 28539, 28565, 28565, 28565, 28581, 28581, 28581, 28628, 28628, 28628, 28654, 28654, 28654, 28703, 28703, 28703, - 28734, 28734, 28734, 28775, 28775, 28775, 28802, 28802, 28802, 28831, 28831, 28831, 28848, 28848, 28848, 28875, 28875, 28875, 28903, 28903, 28903, 28954, 28954, 28954, - 28970, 28970, 28970, 28990, 28990, 28990, 29063, 29063, 29063, 29154, 29154, 29154, 29242, 29242, 29242, 29277, 29277, 29277, 29293, 29293, 29293, 29313, 29313, 29313, - 29413, 29413, 29413, 29471, 29471, 29471, 29484, 29484, 29484, 29560, 29560, 29560, 29647, 29647, 29647, 29723, 29723, 29723, 29765, 29765, 29765, 29843, 29843, 29843, - 29921, 29921, 29921, 29958, 29958, 29958, 30038, 30038, 30038, 30070, 30070, 30070, 30122, 30122, 30122, 30185, 30185, 30185, 30249, 30249, 30249, 30356, 30356, 30356, - 30449, 30449, 30449, 30540, 30540, 30540, 30647, 30647, 30647, 30663, 30663, 30663, 30724, 30724, 30724, 30770, 30770, 30770, 30835, 30835, 30835, 30908, 30908, 30908, - 30934, 30934, 30934, 30994, 30994, 30994, 31107, 31107, 31107, 31182, 31182, 31182, 31248, 31248, 31248, 31328, 31328, 31328, 31433, 31433, 31433, 31516, 31516, 31516, - 31591, 31591, 31591, 31662, 31662, 31662, 31774, 31774, 31774, 31819, 31819, 31819, 31923, 31923, 31923, 31996, 31996, 31996, 32071, 32071, 32071, 32200, 32200, 32200, - 32314, 32314, 32314, 32376, 32376, 32376, 32465, 32465, 32465, 32567, 32567, 32567, 32655, 32655, 32655, 32754, 32754, 32754, 32828, 32828, 32828, 5718, 5718, 5718, - 32910, 32910, 32910, 32958, 32958, 32958, 33025, 33025, 33025, 33115, 33115, 33115, 33179, 33179, 33179, 33251, 33251, 33251, 33330, 33330, 33330, 33380, 33380, 33380, - 33469, 33469, 33469, 33538, 33538, 33538, 33619, 33619, 33619, 33715, 33715, 33715, 33771, 33771, 33771, 33826, 33826, 33826, 33897, 33897, 33897, 33941, 33941, 33941, - 33987, 33987, 33987, 34038, 34038, 34038, 34101, 34101, 34101, 34184, 34184, 34184, 34263, 34263, 34263, 34325, 34325, 34325, 34390, 34390, 34390, 34467, 34467, 34467, - 34528, 34528, 34528, 34603, 34603, 34603, 34717, 34717, 34717, 34790, 34790, 34790, 34853, 34853, 34853, 34920, 34920, 34920, 34985, 34985, 34985, 35078, 35078, 35078, - 35138, 35138, 35138, 35199, 35199, 35199, 35267, 35267, 35267, 35324, 35324, 35324, 35411, 35411, 35411, 35447, 35447, 35447, 35538, 35538, 35538, 35596, 35596, 35596, - 35666, 35666, 35666, 35726, 35726, 35726, 35786, 35786, 35786, 35856, 35856, 35856, 35934, 35934, 35934, 36012, 36012, 36012, 36088, 36088, 36088, 36139, 36139, 36139, - 36183, 36183, 36183, 36266, 36266, 36266, 36367, 36367, 36367, 36456, 36456, 36456, 36502, 36502, 36502, 36588, 36588, 36588, 36691, 36691, 36691, 36768, 36768, 36768, - 36820, 36820, 36820, 36908, 36908, 36908, 36969, 36969, 36969, 37006, 37006, 37006, 37097, 37097, 37097, 37183, 37183, 37183, 37272, 37272, 37272, 37318, 37318, 37318, - 37390, 37390, 37390, 37411, 37411, 37411, 37468, 37468, 37468, 37522, 37522, 37522, 37579, 37579, 37579, 37641, 37641, 37641, 37705, 37705, 37705, 37753, 37753, 37753, - 37805, 37805, 37805, 37863, 37863, 37863, 37959, 37959, 37959, 38023, 38023, 38023, 38133, 38133, 38133, 38215, 38215, 38215, 38283, 38283, 38283, 38325, 38325, 38325, - 38390, 38390, 38390, 38485, 38485, 38485, 38567, 38567, 38567, 38642, 38642, 38642, 38726, 38726, 38726, 38749, 38749, 38749, 38843, 38843, 38843, 38944, 38944, 38944, - 39012, 39012, 39012, 39027, 39027, 39027, 39107, 39107, 39107, 39181, 39181, 39181, 39263, 39263, 39263, 39443, 39443, 39443, 39536, 39536, 39536, 39649, 39649, 39649, - 39731, 39731, 39731, 39825, 39825, 39825, 39878, 39878, 39878, 39920, 39920, 39920, 39994, 39994, 39994, 40057, 40057, 40057, 40158, 40158, 40158, 40237, 40237, 40237, - 40294, 40294, 40294, 40360, 40360, 40360, 40424, 40424, 40424, 40464, 40464, 40464, 40476, 40476, 40476, 10823, 10823, 10823, 40552, 40552, 40552, 40636, 40636, 40636, - 40707, 40707, 40707, 40794, 40794, 40794, 40890, 40890, 40890, 40945, 40945, 40945, 41032, 41032, 41032, 41146, 41146, 41146, 41243, 41243, 41243, 41353, 41353, 41353, - 41438, 41438, 41438, 41480, 41480, 41480, 41590, 41590, 41590, 41656, 41656, 41656, 41685, 41685, 41685, 41746, 41746, 41746, 41841, 41841, 41841, 41954, 41954, 41954, - 42031, 42031, 42031, 42109, 42109, 42109, 42159, 42159, 42159, 42206, 42206, 42206, 42270, 42270, 42270, 42316, 42316, 42316, 42344, 42344, 42344, 42389, 42389, 42389, - 42455, 42455, 42455, 42499, 42499, 42499, 42590, 42590, 42590, 42598, 42598, 42598, 42666, 42666, 42666, 42708, 42708, 42708, 42792, 42792, 42792, 42881, 42881, 42881, - 42921, 42921, 42921, 42982, 42982, 42982, 43043, 43043, 43043, 43103, 43103, 43103, 43158, 43158, 43158, 43172, 43172, 43172, 43318, 43318, 43318, 43331, 43331, 43331, - 43346, 43346, 43346, 43384, 43384, 43384, 43452, 43452, 43452, 43535, 43535, 43535, 43550, 43550, 43550, 43585, 43585, 43585, 43653, 43653, 43653, 43689, 43689, 43689, - 43752, 43752, 43752, 43824, 43824, 43824, 43910, 43910, 43910, 43943, 43943, 43943, 44019, 44019, 44019, 44103, 44103, 44103, 44201, 44201, 44201, 44259, 44259, 44259, - 44316, 44316, 44316, 44346, 44346, 44346, 44387, 44387, 44387, 44419, 44419, 44419, 44462, 44462, 44462, 44521, 44521, 44521, 44566, 44566, 44566, 44649, 44649, 44649, - 44739, 44739, 44739, 44808, 44808, 44808, 44853, 44853, 44853, 44898, 44898, 44898, 44927, 44927, 44927, 45008, 45008, 45008, 45063, 45063, 45063, 45097, 45097, 45097, - 45141, 45141, 45141, 45172, 45172, 45172, 45276, 45276, 45276, 45368, 45368, 45368, 45487, 45487, 45487, 45579, 45579, 45579, 45662, 45662, 45662, 45752, 45752, 45752, - 45847, 45847, 45847, 45962, 45962, 45962, 46063, 46063, 46063, 9005, 9005, 9005, 46122, 46122, 46122, 46202, 46202, 46202, 46215, 46215, 46215, 46264, 46264, 46264, - 46319, 46319, 46319, 46397, 46397, 46397, 46449, 46449, 46449, 46529, 46529, 46529, 46557, 46557, 46557, 46605, 46605, 46605, 46731, 46731, 46731, 46829, 46829, 46829, - 46913, 46913, 46913, 47004, 47004, 47004, 47091, 47091, 47091, 47183, 47183, 47183, 47264, 47264, 47264, 47343, 47343, 47343, 47422, 47422, 47422, 47494, 47494, 47494, - 47622, 47622, 47622, 47747, 47747, 47747, 47886, 47886, 47886, 48028, 48028, 48028, 48077, 48077, 48077, 48122, 48122, 48122, 48134, 48134, 48134, 48193, 48193, 48193, - 48236, 48236, 48236, 48326, 48326, 48326, 48428, 48428, 48428, 48527, 48527, 48527, 48562, 48562, 48562, 48608, 48608, 48608, 48697, 48697, 48697, 48762, 48762, 48762, - 48844, 48844, 48844, 48910, 48910, 48910, 48951, 48951, 48951, 48994, 48994, 48994, 49023, 49023, 49023, 49051, 49051, 49051, 49120, 49120, 49120, 49178, 49178, 49178, - 49247, 49247, 49247, 49328, 49328, 49328, 49431, 49431, 49431, 49520, 49520, 49520, 49578, 49578, 49578, 49682, 49682, 49682, 49750, 49750, 49750, 49821, 49821, 49821, - 49884, 49884, 49884, 49927, 49927, 49927, 50011, 50011, 50011, 50060, 50060, 50060, 50135, 50135, 50135, 50188, 50188, 50188, 50249, 50249, 50249, 50310, 50310, 50310, - 50391, 50391, 50391, 50468, 50468, 50468, 50558, 50558, 50558, 50634, 50634, 50634, 50725, 50725, 50725, 50741, 50741, 50741, 50833, 50833, 50833, 5223, 5223, 5223, - 50904, 50904, 50904, 50955, 50955, 50955, 51000, 51000, 51000, 51060, 51060, 51060, 51146, 51146, 51146, 51228, 51228, 51228, 51284, 51284, 51284, 51380, 51380, 51380, - 51462, 51462, 51462, 51534, 51534, 51534, 51586, 51586, 51586, 51603, 51603, 51603, 51620, 51620, 51620, 51707, 51707, 51707, 51743, 51743, 51743, 51835, 51835, 51835, - 51940, 51940, 51940, 52026, 52026, 52026, 52127, 52127, 52127, 52246, 52246, 52246, 52297, 52297, 52297, 52349, 52349, 52349, 52392, 52392, 52392, 52493, 52493, 52493, - 52584, 52584, 52584, 52655, 52655, 52655, 52668, 52668, 52668, 52738, 52738, 52738, 52806, 52806, 52806, 52880, 52880, 52880, 52947, 52947, 52947, 53009, 53009, 53009, - 53098, 53098, 53098, 53164, 53164, 53164, 53214, 53214, 53214, 53271, 53271, 53271, 53319, 53319, 53319, 53391, 53391, 53391, 53428, 53428, 53428, 53489, 53489, 53489, - 53569, 53569, 53569, 53613, 53613, 53613, 53658, 53658, 53658, 11669, 11669, 11669, 53701, 53701, 53701, 53783, 53783, 53783, 2582, 2582, 2582, 53837, 53837, 53837, - 53880, 53880, 53880, 53916, 53916, 53916, 53951, 53951, 53951, 53992, 53992, 53992, 54081, 54081, 54081, 54149, 54149, 54149, 54234, 54234, 54234, 54330, 54330, 54330, - 11764, 11764, 11764, 54413, 54413, 54413, 54483, 54483, 54483, 54536, 54536, 54536, 54582, 54582, 54582, 54607, 54607, 54607, 54664, 54664, 54664, 54687, 54687, 54687, - 54709, 54709, 54709, 10853, 10853, 10853, 54749, 54749, 54749, 54785, 54785, 54785, 54819, 54819, 54819, 54832, 54832, 54832, 13786, 13786, 13786, 54841, 54841, 54841, - 54861, 54861, 54861, 54926, 54926, 54926, 54942, 54942, 54942, 54968, 54968, 54968, 54981, 54981, 54981, 54990, 54990, 54990, 55008, 55008, 55008, 55041, 55041, 55041, - 55062, 55062, 55062, 55083, 55083, 55083, 55111, 55111, 55111, 55125, 55125, 55125, 55174, 55174, 55174, 55210, 55210, 55210, 55227, 55227, 55227, 55278, 55278, 55278, - 55323, 55323, 55323, 55349, 55349, 55349, 55372, 55372, 55372, 8173, 8173, 8173, 55400, 55400, 55400, 8343, 8343, 8343, 55414, 55414, 55414, 55442, 55442, 55442, - 55479, 55479, 55479, 55511, 55569, 55569, 55611, 55611, 55611, 55636, 55636, 55636, 55679, 55679, 55679, 55777, 55777, 55777, 55798, 55798, 55798, 55818, 55818, 55818, - 55856, 55856, 55856, 55896, 55896, 55896, 55934, 55934, 55934, 55990, 55990, 55990, 56028, 56028, 56028, 56045, 56045, 56045, 56061, 56061, 56061, 56082, 56082, 56082, - 56103, 56103, 56103, 56119, 56119, 56119, 56139, 56139, 56139, 56156, 56192, 56192, 56205, 56246, 56246, 56268, 56311, 56311, 56328, 56328, 56328, 56349, 56349, 56349, - 56370, 56370, 56370, 56398, 56398, 56398, 56438, 56438, 56438, 56472, 56472, 56472, 56518, 56518, 56518, 56532, 56532, 56532, 56542, 56542, 56542, 56552, 56552, 56552, - 56573, 56573, 56573, 56600, 56600, 56600, 56629, 56629, 56629, 56658, 56658, 56658, 56687, 56687, 56687, 56720, 56720, 56720, 56747, 56747, 56747, 56775, 56775, 56775, - 56786, 56786, 56786, 56797, 56797, 56797, 56820, 56820, 56820, 56847, 56847, 56847, 56880, 56880, 56880, 56906, 56906, 56906, 56921, 56921, 56921, 56950, 56950, 56950, - 56977, 56977, 56977, 56998, 56998, 56998, 57019, 57019, 57019, 57048, 57048, 57048, 57082, 57082, 57082, 57108, 57108, 57108, 57143, 57143, 57143, 57172, 57172, 57172, - 57214, 57214, 57214, 57242, 57242, 57242, 57270, 57270, 57270, 57294, 57294, 57294, 52655, 52655, 52655, 57310, 57310, 57310, 57330, 57330, 57330, 57407, 57407, 57407, - 57442, 57442, 57442, 57481, 57481, 57481, 57528, 57528, 57528, 57575, 57575, 57575, 57608, 57608, 57608, 57638, 57638, 57638, 57667, 57667, 57667, 57688, 57688, 57688, - 57713, 57713, 57713, 57750, 57750, 57750, 57797, 57797, 57797, 57858, 57858, 57858, 57930, 57930, 57930, 57991, 57991, 57991, 58026, 58026, 58026, 58043, 58043, 58043, - 58101, 58101, 58101, 58155, 58155, 58155, 2788, 2788, 2788, 58184, 58184, 58184, 58219, 58219, 58219, 58254, 58254, 58254, 58291, 58291, 58291, 58337, 58337, 58337, - 25070, 25070, 25070, 58373, 58373, 58373, 58409, 58409, 58409, 58443, 58443, 58443, 58459, 58459, 58459, 58508, 58508, 58508, 58553, 58553, 58553, 58586, 58586, 58586, - 58611, 58611, 58611, 58649, 58649, 58649, 58695, 58695, 58695, 58718, 58718, 58718, 58753, 58753, 58753, 58794, 58794, 58794, 7850, 7850, 7850, 58821, 58821, 58821, - 58869, 58869, 58869, 58911, 58911, 58911, 58953, 58953, 58953, 58987, 58987, 58987, 59028, 59028, 59028, 455, 455, 455, 59049, 59049, 59049, 59105, 59105, 59105, - 59144, 59144, 59144, 59161, 59161, 59161, 59178, 59178, 59178, 59213, 59213, 59213, 3836, 3836, 3836, 59241, 59241, 59241, 59276, 59276, 59276, 59330, 59330, 59330, - 59374, 59374, 59374, 59422, 59422, 59422, 59460, 59460, 59460, 59483, 59483, 59483, 59521, 59521, 59521, 59577, 59577, 59577, 59624, 59624, 59624, 59654, 59654, 59654, - 59680, 59680, 59680, 59722, 59722, 59722, 59780, 59780, 59780, 59816, 59816, 59816, 59836, 59836, 59836, 59872, 59872, 59872, 59896, 59896, 59896, 9021, 9021, 9021, - 59931, 59931, 59931, 56028, 56028, 56028, 59968, 59968, 59968, 59994, 59994, 59994, 60040, 60040, 60040, 60077, 60077, 60077, 60128, 60128, 60128, 60172, 60172, 60172, - 60214, 60214, 60214, 60275, 60275, 60275, 60327, 60327, 60327, 60371, 60371, 60371, 60415, 60415, 60415, 60455, 60455, 60455, 60496, 60496, 60496, 60518, 60518, 60518, - 60533, 60533, 60533, 60549, 60549, 60549, 60576, 60576, 60576, 60625, 60625, 60625, 60667, 60667, 60667, 60700, 60700, 60700, 60736, 60736, 60736, 60782, 60782, 60782, - 60804, 60804, 60804, 60837, 60837, 60837, 60864, 60864, 60864, 60907, 60907, 60907, 60935, 60935, 60935, 60975, 60975, 60975, 61004, 61004, 61004, 61046, 61046, 61046, - 61089, 61089, 61089, 61133, 61133, 61133, 61147, 61147, 61147, 61197, 61197, 61197, 61224, 61224, 61224, 61265, 61265, 61265, 61292, 61292, 61292, 61319, 61319, 61319, - 61354, 61354, 61354, 61380, 61380, 61380, 61394, 61394, 61394, 61414, 61414, 61414, 61440, 61440, 61440, 61480, 61480, 61480, 61512, 61512, 61512, 2504, 2504, 2504, - 61551, 61551, 61551, 61643, 61643, 61643, 61680, 61680, 61680, 61708, 61708, 61708, 61721, 61721, 61721, 61736, 61736, 61736, 61749, 61749, 61749, 61780, 61780, 61780, - 61814, 61814, 61814, 61863, 61863, 61863, 61901, 61901, 61901, 61946, 61946, 61946, 61992, 61992, 61992, 62048, 62048, 62048, 62073, 62073, 62073, 62116, 62116, 62116, - 62148, 62148, 62148, 62191, 62191, 62191, 62226, 62226, 62226, 62281, 62281, 62281, 62296, 62296, 62296, 62310, 62310, 62310, 62345, 62345, 62345, 62382, 62382, 62382, - 62427, 62427, 62427, 62451, 62451, 62451, 62495, 62495, 62495, 62537, 62537, 62537, 62590, 62590, 62590, 62621, 62621, 62621, 62660, 62660, 62660, 62699, 62699, 62699, - 62721, 62721, 62721, 62772, 62772, 62772, 62795, 62795, 62795, 62808, 62808, 62808, 62868, 62868, 62868, 62933, 62933, 62933, 62980, 62980, 62980, 63052, 63052, 63052, - 63066, 63066, 63066, 63092, 63092, 63092, 63116, 63116, 63116, 63139, 63139, 63139, 63178, 63178, 63178, 63201, 63201, 63201, 63216, 63216, 63216, 63230, 63230, 63230, - 63250, 63250, 63250, 63278, 63278, 63278, 63304, 63304, 63304, 63331, 63331, 63331, 63359, 63359, 63359, 63387, 63387, 63387, 63413, 63413, 63413, 56119, 56119, 56119, - 63448, 63448, 63448, 63469, 63469, 63469, 63496, 63496, 63496, 63522, 63522, 63522, 63550, 63550, 63550, 63578, 63578, 63578, 63600, 63600, 63600, 63614, 63614, 63614, - 63632, 63632, 63632, 63645, 63645, 63645, 63664, 63664, 63664, 63681, 63681, 63681, 13433, 13433, 13433, 63702, 63702, 63702, 63723, 63723, 63723, 63758, 63758, 63758, - 63775, 63775, 63775, 63804, 63804, 63804, 63820, 63820, 63820, 63847, 63847, 63847, 63870, 63870, 63870, 63892, 63892, 63892, 63909, 63909, 63909, 63926, 63926, 63926, - 63940, 63940, 63940, 63955, 63955, 63955, 63985, 63985, 63985, 64010, 64010, 64010, 64030, 64030, 64030, 64107, 64107, 64126, 64138, 64138, 64138, 64184, 64184, 64184, - 64237, 64237, 64237, 64272, 64272, 64272, 64308, 64308, 64308, 64323, 64323, 64323, 64337, 64337, 64337, 64355, 64355, 64355, 64370, 64370, 64370, 64517, 64517, 64517, - 64670, 64670, 64670, 64767, 64767, 64767, 64914, 64914, 64914, 65040, 65040, 65040, 65148, 65148, 65148, 65234, 65234, 65234, 65261, 65261, 65261, 65333, 65333, 65333, - 65439, 65439, 65439, 65505, 65505, 65505, 65573, 65573, 65573, 65601, 65601, 65601, 65658, 65658, 65658, 65685, 65685, 65685, 65783, 65783, 65783, 65883, 65883, 65883, - 65914, 65914, 65914, 66020, 66020, 66020, 66046, 66046, 66046, 66073, 66073, 66073, 66098, 66098, 66098, 66122, 66122, 66122, 66138, 66138, 66138, 66151, 66151, 66151, - 66187, 66187, 66187, 66223, 66223, 66223, + 7659, 7659, 7659, 7682, 7682, 7682, 7703, 7703, 7703, 7728, 7728, 7728, 7789, 7789, 7789, 7850, 7850, 7850, 7872, 7872, 7872, 7897, 7897, 7897, + 7927, 7927, 7927, 7955, 7955, 7955, 8007, 8007, 8007, 8038, 8038, 8038, 8090, 8090, 8090, 8118, 8118, 8118, 8146, 8146, 8146, 8169, 8169, 8169, + 8209, 8209, 8209, 8226, 8226, 8226, 8242, 8242, 8242, 8259, 8259, 8259, 8259, 8259, 8259, 8274, 8274, 8274, 8290, 8290, 8290, 8303, 8303, 8303, + 8319, 8319, 8319, 8345, 8345, 8345, 8274, 8274, 8274, 8360, 8360, 8360, 8375, 8375, 8375, 8396, 8396, 8396, 8290, 8290, 8290, 8414, 8414, 8414, + 8433, 8433, 8433, 8446, 8446, 8446, 8466, 8466, 8466, 8481, 8481, 8481, 8501, 8501, 8501, 8522, 8522, 8522, 8558, 8558, 8558, 8595, 8595, 8595, + 8625, 8625, 8625, 8656, 8656, 8656, 8678, 8678, 8678, 8713, 8713, 8713, 8742, 8742, 8742, 8768, 8768, 8768, 8791, 8791, 8791, 8820, 8820, 8820, + 8850, 8850, 8850, 8895, 8895, 8895, 8940, 8940, 8940, 8961, 8961, 8961, 8997, 8997, 8997, 9013, 9013, 9013, 9037, 9037, 9037, 9058, 9058, 9058, + 9074, 9074, 9074, 9091, 9091, 9091, 9113, 9113, 9113, 9154, 9154, 9154, 9178, 9178, 9178, 9199, 9199, 9199, 9225, 9225, 9225, 9237, 9237, 9237, + 9264, 9264, 9264, 9301, 9301, 9301, 9327, 9327, 9327, 9357, 9357, 9357, 9371, 9371, 9371, 9420, 9420, 9420, 9447, 9447, 9447, 9474, 9474, 9474, + 9506, 9506, 9506, 9534, 9534, 9534, 9563, 9563, 9563, 9602, 9602, 9602, 9641, 9641, 9641, 9683, 9683, 9683, 9726, 9726, 9726, 9761, 9761, 9761, + 9778, 9778, 9778, 9813, 9813, 9813, 9836, 9836, 9836, 9882, 9882, 9882, 9949, 9949, 9949, 10020, 10020, 10020, 10065, 10065, 10065, 10113, 10113, 10113, + 10160, 10160, 10160, 10186, 10186, 10186, 10208, 10208, 10208, 10243, 10243, 10243, 10280, 10280, 10280, 10315, 10315, 10315, 10350, 10350, 10350, 10386, 10386, 10386, + 10421, 10421, 10421, 10435, 10435, 10435, 10484, 10484, 10484, 10539, 10539, 10539, 10567, 10567, 10567, 10580, 10580, 10580, 10614, 10614, 10614, 10650, 10650, 10650, + 10678, 10678, 10678, 10707, 10707, 10707, 10734, 10734, 10734, 10781, 10781, 10781, 10796, 10796, 10796, 10810, 10810, 10810, 10823, 10823, 10823, 10839, 10839, 10839, + 10876, 10876, 10876, 10889, 10889, 10889, 10906, 10906, 10906, 10921, 10921, 10921, 10943, 10943, 10943, 10965, 10965, 10965, 10989, 10989, 10989, 11028, 11028, 11028, + 11064, 11064, 11064, 11099, 11099, 11099, 11119, 11119, 11119, 11157, 11157, 11157, 11200, 11200, 11200, 11226, 11226, 11226, 11275, 11275, 11275, 4422, 4422, 4422, + 11328, 11328, 11328, 11356, 11356, 11356, 11390, 11390, 11390, 11410, 11410, 11410, 11438, 11438, 11438, 11485, 11485, 11485, 11507, 11507, 11507, 11529, 11529, 11529, + 11543, 11543, 11543, 11563, 11563, 11563, 11591, 11591, 11591, 11625, 11625, 11625, 11655, 11655, 11655, 11673, 11673, 11673, 11700, 11700, 11700, 11722, 11722, 11722, + 11736, 11736, 11736, 11776, 11776, 11776, 11817, 11817, 11817, 11832, 11832, 11832, 11845, 11845, 11845, 11871, 11871, 11871, 11902, 11902, 11902, 11928, 11928, 11928, + 12007, 12007, 12007, 12077, 12077, 12077, 12160, 12160, 12160, 12229, 12229, 12229, 12303, 12303, 12303, 12363, 12363, 12363, 12405, 12405, 12405, 12462, 12462, 12462, + 12512, 12512, 12512, 12580, 12580, 12580, 12637, 12637, 12637, 12696, 12696, 12696, 12777, 12777, 12777, 12822, 12822, 12822, 12863, 12863, 12863, 12919, 12919, 12919, + 12966, 12966, 12966, 13018, 13018, 13018, 13063, 13063, 13063, 13111, 13111, 13111, 13161, 13161, 13161, 13233, 13233, 13233, 13292, 13292, 13292, 2476, 2476, 2476, + 13351, 13351, 13351, 13368, 13368, 13368, 13385, 13385, 13385, 13427, 13427, 13427, 13443, 13443, 13443, 13465, 13465, 13465, 13486, 13486, 13486, 13501, 13501, 13501, + 13519, 13519, 13519, 13537, 13537, 13537, 13566, 13566, 13566, 13594, 13594, 13594, 13630, 13630, 13630, 13653, 13653, 13653, 13674, 13674, 13674, 13767, 13767, 13767, + 13839, 13839, 13839, 13868, 13868, 13868, 13963, 13963, 13963, 14059, 14059, 14059, 14138, 14138, 14138, 14217, 14217, 14217, 14243, 14243, 14243, 14296, 14296, 14296, + 14379, 14379, 14379, 14412, 14412, 14412, 14439, 14439, 14439, 14479, 14479, 14479, 14515, 14515, 14515, 14572, 14572, 14572, 14598, 14598, 14598, 14683, 14683, 14683, + 14714, 14714, 14714, 14740, 14740, 14740, 14822, 14822, 14822, 14898, 14898, 14898, 14988, 14988, 14988, 15076, 15076, 15076, 15165, 15165, 15165, 15234, 15234, 15234, + 15249, 15249, 15249, 15272, 15272, 15272, 15322, 15322, 15322, 15359, 15359, 15359, 15411, 15411, 15411, 15462, 15462, 15462, 15477, 15477, 15477, 15504, 15504, 15504, + 15527, 15527, 15527, 15553, 15553, 15553, 15575, 15575, 15575, 15603, 15603, 15603, 15629, 15629, 15629, 15644, 15644, 15644, 15674, 15674, 15674, 15721, 15721, 15721, + 15748, 15748, 15748, 15779, 15779, 15779, 15807, 15807, 15807, 15836, 15836, 15836, 15871, 15871, 15871, 15900, 15900, 15900, 15929, 15929, 15929, 15964, 15964, 15964, + 15992, 15992, 15992, 16036, 16036, 16036, 16060, 16060, 16060, 16074, 16074, 16074, 16161, 16161, 16161, 16205, 16205, 16205, 16230, 16230, 16230, 16259, 16259, 16259, + 16293, 16293, 16293, 16320, 16320, 16320, 16346, 16346, 16346, 16388, 16388, 16388, 16510, 16510, 16510, 16587, 16587, 16587, 16662, 16662, 16662, 16768, 16768, 16768, + 16864, 16864, 16864, 16982, 16982, 16982, 17085, 17085, 17085, 17166, 17166, 17166, 17187, 17187, 17187, 17202, 17202, 17202, 10906, 10906, 10906, 17217, 17217, 17217, + 17230, 17230, 17230, 17248, 17248, 17248, 17265, 17265, 17265, 17291, 17291, 17291, 17347, 17347, 17347, 17377, 17377, 17377, 17412, 17412, 17412, 17442, 17442, 17442, + 17499, 17499, 17499, 17522, 17522, 17522, 17572, 17572, 17572, 17595, 17595, 17595, 17624, 17624, 17624, 17650, 17650, 17650, 17669, 17669, 17669, 17701, 17701, 17701, + 17724, 17724, 17724, 17745, 17745, 17745, 17790, 17790, 17790, 17826, 17826, 17826, 17851, 17851, 17851, 17878, 17878, 17878, 17927, 17927, 17927, 17963, 17963, 17963, + 17995, 17995, 17995, 18016, 18016, 18016, 390, 390, 390, 18052, 18052, 18052, 18068, 18068, 18068, 18095, 18095, 18095, 18135, 18135, 18135, 18160, 18160, 18160, + 18185, 18185, 18185, 18213, 18213, 18213, 18227, 18227, 18227, 18243, 18243, 18243, 18345, 18345, 18345, 18386, 18386, 18386, 18432, 18432, 18432, 1317, 1317, 1317, + 18463, 18463, 18463, 18493, 18493, 18493, 18507, 18507, 18507, 18529, 18529, 18529, 18052, 18052, 18052, 18543, 18543, 18543, 18564, 18564, 18564, 18587, 18587, 18587, + 2476, 2476, 2476, 18602, 18602, 18602, 18689, 18689, 18689, 18704, 18704, 18704, 18746, 18746, 18746, 18773, 18773, 18773, 18815, 18815, 18815, 18852, 18852, 18852, + 18880, 18880, 18880, 18909, 18909, 18909, 18937, 18937, 18937, 18953, 18953, 18953, 18986, 18986, 18986, 19020, 19020, 19020, 19053, 19053, 19053, 19087, 19087, 19087, + 19120, 19120, 19120, 19149, 19149, 19149, 19186, 19186, 19186, 19216, 19216, 19216, 19245, 19245, 19245, 19321, 19321, 19321, 19392, 19392, 19392, 19422, 19422, 19422, + 19464, 19464, 19464, 19508, 19508, 19508, 19523, 19523, 19523, 19591, 19591, 19591, 19621, 19621, 19621, 19707, 19707, 19707, 19785, 19785, 19785, 19874, 19874, 19874, + 19944, 19944, 19944, 20028, 20028, 20028, 20090, 20090, 20090, 20147, 20147, 20147, 20166, 20166, 20166, 20181, 20181, 20181, 20243, 20243, 20243, 20318, 20318, 20318, + 20370, 20370, 20370, 20407, 20407, 20407, 20452, 20452, 20452, 20467, 20467, 20467, 20502, 20502, 20502, 20550, 20550, 20550, 20576, 20576, 20576, 20645, 20645, 20645, + 20695, 20695, 20695, 20785, 20785, 20785, 20818, 20818, 20818, 20882, 20882, 20882, 20928, 20928, 20928, 20973, 20973, 20973, 20988, 20988, 20988, 21024, 21024, 21024, + 21073, 21073, 21073, 21123, 21123, 21123, 21160, 21160, 21160, 21218, 21218, 21218, 21243, 21243, 21243, 21282, 21282, 21282, 21357, 21357, 21357, 21484, 21484, 21484, + 21577, 21577, 21577, 21655, 21655, 21655, 21671, 21671, 21671, 21716, 21716, 21716, 21735, 21735, 21735, 21761, 21761, 21761, 21822, 21822, 21822, 21858, 21858, 21858, + 21875, 21875, 21875, 21911, 21911, 21911, 21934, 21934, 21934, 21956, 21956, 21956, 22001, 22001, 22001, 22021, 22021, 22021, 22057, 22057, 22057, 22094, 22094, 22094, + 22173, 22173, 22173, 22210, 22210, 22210, 22302, 22302, 22302, 22384, 22384, 22384, 22461, 22461, 22461, 22541, 22541, 22541, 22625, 22625, 22625, 22718, 22718, 22718, + 22735, 22735, 22735, 22758, 22758, 22758, 22786, 22786, 22786, 22819, 22819, 22819, 22893, 22893, 22893, 22972, 22972, 22972, 23039, 23039, 23039, 23122, 23122, 23122, + 23162, 23162, 23162, 23177, 23177, 23177, 23197, 23197, 23197, 23226, 23226, 23226, 23255, 23255, 23255, 23270, 23270, 23270, 23309, 23309, 23309, 23326, 23326, 23326, + 23355, 23355, 23355, 23399, 23399, 23399, 23437, 23437, 23437, 23487, 23487, 23487, 23558, 23558, 23558, 23634, 23634, 23634, 23735, 23735, 23735, 23832, 23832, 23832, + 23929, 23929, 23929, 24019, 24019, 24019, 24111, 24111, 24111, 24145, 24145, 24145, 24244, 24244, 24244, 24262, 24262, 24262, 24284, 24284, 24284, 24298, 24298, 24298, + 24320, 24320, 24320, 24335, 24335, 24335, 24372, 24372, 24372, 16060, 16060, 16060, 24391, 24391, 24391, 24414, 24414, 24414, 24451, 24451, 24451, 24469, 24469, 24469, + 24490, 24490, 24490, 24508, 24508, 24508, 24538, 24538, 24538, 24577, 24577, 24577, 20973, 20973, 20973, 13427, 13427, 13427, 24598, 24598, 24598, 24618, 24618, 24618, + 24664, 24664, 24664, 24742, 24742, 24742, 24770, 24770, 24770, 24784, 24784, 24784, 24797, 24797, 24797, 24874, 24874, 24874, 24963, 24963, 24963, 24984, 24984, 24984, + 25007, 25007, 25007, 25032, 25032, 25032, 25057, 25057, 25057, 25073, 25073, 25073, 25093, 25093, 25093, 25124, 25124, 25124, 25140, 25140, 25140, 25164, 25164, 25164, + 25197, 25197, 25197, 25223, 25223, 25223, 25239, 25239, 25239, 25267, 25267, 25267, 25267, 25267, 25267, 25292, 25292, 25292, 25404, 25404, 25404, 25481, 25481, 25481, + 25589, 25589, 25589, 25610, 25610, 25610, 25634, 25634, 25634, 25674, 25674, 25674, 25713, 25713, 25713, 25751, 25751, 25751, 25777, 25777, 25777, 25811, 25811, 25811, + 25845, 25845, 25845, 25895, 25895, 25895, 25951, 25951, 25951, 25977, 25977, 25977, 26008, 26008, 26008, 26029, 26029, 26029, 26102, 26102, 26102, 26139, 26139, 26139, + 26170, 26170, 26170, 26193, 26193, 26193, 26240, 26240, 26240, 26267, 26267, 26267, 26296, 26296, 26296, 26397, 26397, 26397, 26491, 26491, 26491, 26563, 26563, 26563, + 26586, 26586, 26586, 26623, 26623, 26623, 26672, 26672, 26672, 26772, 26772, 26772, 26823, 26823, 26823, 26859, 26859, 26859, 26890, 26890, 26890, 26926, 26926, 26926, + 26961, 26961, 26961, 27003, 27003, 27003, 27061, 27061, 27061, 27090, 27090, 27090, 27118, 27118, 27118, 27196, 27196, 27196, 27284, 27284, 27284, 27360, 27360, 27360, + 27420, 27420, 27420, 27453, 27453, 27453, 27484, 27484, 27484, 27557, 27557, 27557, 27643, 27643, 27643, 27692, 27692, 27692, 27710, 27710, 27710, 27770, 27770, 27770, + 27815, 27815, 27815, 18493, 18493, 18493, 2476, 2476, 2476, 27880, 27880, 27880, 27902, 27902, 27902, 27918, 27918, 27918, 27938, 27938, 27938, 27974, 27974, 27974, + 28008, 28008, 28008, 28029, 28029, 28029, 28078, 28078, 28078, 28091, 28149, 28149, 28180, 28180, 28180, 28222, 28222, 28222, 28258, 28258, 28258, 28295, 28295, 28295, + 28325, 28325, 28325, 28346, 28346, 28346, 28374, 28374, 28374, 28411, 28411, 28411, 28443, 28443, 28443, 28472, 28472, 28472, 28500, 28500, 28500, 28520, 28520, 28520, + 28561, 28561, 28561, 28575, 28575, 28575, 28616, 28616, 28616, 28650, 28650, 28650, 28673, 28673, 28673, 28700, 28700, 28700, 28722, 28722, 28722, 28748, 28748, 28748, + 28764, 28764, 28764, 28811, 28811, 28811, 28837, 28837, 28837, 28886, 28886, 28886, 28917, 28917, 28917, 28958, 28958, 28958, 28985, 28985, 28985, 29014, 29014, 29014, + 29031, 29031, 29031, 29058, 29058, 29058, 29086, 29086, 29086, 29137, 29137, 29137, 29153, 29153, 29153, 29173, 29173, 29173, 29246, 29246, 29246, 29337, 29337, 29337, + 29425, 29425, 29425, 29460, 29460, 29460, 29476, 29476, 29476, 29496, 29496, 29496, 29596, 29596, 29596, 29654, 29654, 29654, 29667, 29667, 29667, 29743, 29743, 29743, + 29830, 29830, 29830, 29906, 29906, 29906, 29948, 29948, 29948, 30026, 30026, 30026, 30104, 30104, 30104, 30141, 30141, 30141, 30221, 30221, 30221, 30253, 30253, 30253, + 30305, 30305, 30305, 30368, 30368, 30368, 30432, 30432, 30432, 30539, 30539, 30539, 30632, 30632, 30632, 30723, 30723, 30723, 30830, 30830, 30830, 30846, 30846, 30846, + 30907, 30907, 30907, 30953, 30953, 30953, 31018, 31018, 31018, 31091, 31091, 31091, 31117, 31117, 31117, 31177, 31177, 31177, 31290, 31290, 31290, 31365, 31365, 31365, + 31431, 31431, 31431, 31511, 31511, 31511, 31616, 31616, 31616, 31699, 31699, 31699, 31774, 31774, 31774, 31845, 31845, 31845, 31957, 31957, 31957, 32002, 32002, 32002, + 32106, 32106, 32106, 32179, 32179, 32179, 32254, 32254, 32254, 32383, 32383, 32383, 32497, 32497, 32497, 32559, 32559, 32559, 32648, 32648, 32648, 32750, 32750, 32750, + 32838, 32838, 32838, 32937, 32937, 32937, 33011, 33011, 33011, 5718, 5718, 5718, 33093, 33093, 33093, 33141, 33141, 33141, 33208, 33208, 33208, 33298, 33298, 33298, + 33362, 33362, 33362, 33434, 33434, 33434, 33513, 33513, 33513, 33563, 33563, 33563, 33652, 33652, 33652, 33721, 33721, 33721, 33802, 33802, 33802, 33898, 33898, 33898, + 33954, 33954, 33954, 34009, 34009, 34009, 34080, 34080, 34080, 34124, 34124, 34124, 34170, 34170, 34170, 34221, 34221, 34221, 34284, 34284, 34284, 34367, 34367, 34367, + 34446, 34446, 34446, 34508, 34508, 34508, 34573, 34573, 34573, 34650, 34650, 34650, 34711, 34711, 34711, 34786, 34786, 34786, 34900, 34900, 34900, 34973, 34973, 34973, + 35036, 35036, 35036, 35103, 35103, 35103, 35168, 35168, 35168, 35261, 35261, 35261, 35321, 35321, 35321, 35382, 35382, 35382, 35450, 35450, 35450, 35507, 35507, 35507, + 35594, 35594, 35594, 35630, 35630, 35630, 35721, 35721, 35721, 35779, 35779, 35779, 35849, 35849, 35849, 35909, 35909, 35909, 35969, 35969, 35969, 36039, 36039, 36039, + 36117, 36117, 36117, 36195, 36195, 36195, 36271, 36271, 36271, 36322, 36322, 36322, 36366, 36366, 36366, 36449, 36449, 36449, 36550, 36550, 36550, 36639, 36639, 36639, + 36685, 36685, 36685, 36771, 36771, 36771, 36874, 36874, 36874, 36951, 36951, 36951, 37003, 37003, 37003, 37091, 37091, 37091, 37152, 37152, 37152, 37189, 37189, 37189, + 37280, 37280, 37280, 37366, 37366, 37366, 37455, 37455, 37455, 37501, 37501, 37501, 37573, 37573, 37573, 37594, 37594, 37594, 37651, 37651, 37651, 37705, 37705, 37705, + 37762, 37762, 37762, 37824, 37824, 37824, 37888, 37888, 37888, 37936, 37936, 37936, 37988, 37988, 37988, 38046, 38046, 38046, 38142, 38142, 38142, 38206, 38206, 38206, + 38316, 38316, 38316, 38398, 38398, 38398, 38466, 38466, 38466, 38508, 38508, 38508, 38573, 38573, 38573, 38668, 38668, 38668, 38750, 38750, 38750, 38808, 38808, 38808, + 38883, 38883, 38883, 38974, 38974, 38974, 39058, 39058, 39058, 39135, 39135, 39135, 39158, 39158, 39158, 39252, 39252, 39252, 39353, 39353, 39353, 39421, 39421, 39421, + 39436, 39436, 39436, 39516, 39516, 39516, 39590, 39590, 39590, 39672, 39672, 39672, 39852, 39852, 39852, 39945, 39945, 39945, 40058, 40058, 40058, 40140, 40140, 40140, + 40234, 40234, 40234, 40287, 40287, 40287, 40329, 40329, 40329, 40403, 40403, 40403, 40466, 40466, 40466, 40567, 40567, 40567, 40646, 40646, 40646, 40703, 40703, 40703, + 40769, 40769, 40769, 40833, 40833, 40833, 40873, 40873, 40873, 40885, 40885, 40885, 10876, 10876, 10876, 40961, 40961, 40961, 41045, 41045, 41045, 41116, 41116, 41116, + 41203, 41203, 41203, 41299, 41299, 41299, 41354, 41354, 41354, 41441, 41441, 41441, 41555, 41555, 41555, 41652, 41652, 41652, 41762, 41762, 41762, 41847, 41847, 41847, + 41889, 41889, 41889, 41999, 41999, 41999, 42065, 42065, 42065, 42094, 42094, 42094, 42155, 42155, 42155, 42250, 42250, 42250, 42363, 42363, 42363, 42440, 42440, 42440, + 42518, 42518, 42518, 42568, 42568, 42568, 42615, 42615, 42615, 42679, 42679, 42679, 42725, 42725, 42725, 42753, 42753, 42753, 42798, 42798, 42798, 42864, 42864, 42864, + 42908, 42908, 42908, 42999, 42999, 42999, 43007, 43007, 43007, 43075, 43075, 43075, 43117, 43117, 43117, 43201, 43201, 43201, 43290, 43290, 43290, 43330, 43330, 43330, + 43391, 43391, 43391, 43452, 43452, 43452, 43512, 43512, 43512, 43567, 43567, 43567, 43581, 43581, 43581, 43727, 43727, 43727, 43772, 43772, 43772, 43785, 43785, 43785, + 43800, 43800, 43800, 43838, 43838, 43838, 43906, 43906, 43906, 43989, 43989, 43989, 44004, 44004, 44004, 44039, 44039, 44039, 44107, 44107, 44107, 44143, 44143, 44143, + 44206, 44206, 44206, 44278, 44278, 44278, 44364, 44364, 44364, 44397, 44397, 44397, 44473, 44473, 44473, 44557, 44557, 44557, 44655, 44655, 44655, 44713, 44713, 44713, + 44770, 44770, 44770, 44800, 44800, 44800, 44864, 44864, 44864, 44905, 44905, 44905, 44937, 44937, 44937, 44980, 44980, 44980, 45039, 45039, 45039, 45084, 45084, 45084, + 45167, 45167, 45167, 45257, 45257, 45257, 45326, 45326, 45326, 45371, 45371, 45371, 45416, 45416, 45416, 45445, 45445, 45445, 45526, 45526, 45526, 45581, 45581, 45581, + 45615, 45615, 45615, 45659, 45659, 45659, 45690, 45690, 45690, 45794, 45794, 45794, 45886, 45886, 45886, 46005, 46005, 46005, 46097, 46097, 46097, 46180, 46180, 46180, + 46270, 46270, 46270, 46365, 46365, 46365, 46480, 46480, 46480, 46581, 46581, 46581, 9058, 9058, 9058, 46640, 46640, 46640, 46720, 46720, 46720, 46733, 46733, 46733, + 46805, 46805, 46805, 46854, 46854, 46854, 46909, 46909, 46909, 46987, 46987, 46987, 47039, 47039, 47039, 47119, 47119, 47119, 47147, 47147, 47147, 47195, 47195, 47195, + 47321, 47321, 47321, 47419, 47419, 47419, 47503, 47503, 47503, 47594, 47594, 47594, 47681, 47681, 47681, 47773, 47773, 47773, 47854, 47854, 47854, 47956, 47956, 47956, + 48035, 48035, 48035, 48114, 48114, 48114, 48186, 48186, 48186, 48314, 48314, 48314, 48439, 48439, 48439, 48578, 48578, 48578, 48720, 48720, 48720, 48769, 48769, 48769, + 48814, 48814, 48814, 48826, 48826, 48826, 48885, 48885, 48885, 48928, 48928, 48928, 49018, 49018, 49018, 49120, 49120, 49120, 49219, 49219, 49219, 49254, 49254, 49254, + 49300, 49300, 49300, 49389, 49389, 49389, 49454, 49454, 49454, 49536, 49536, 49536, 49602, 49602, 49602, 49643, 49643, 49643, 49686, 49686, 49686, 49715, 49715, 49715, + 49743, 49743, 49743, 49812, 49812, 49812, 49870, 49870, 49870, 49939, 49939, 49939, 50020, 50020, 50020, 50123, 50123, 50123, 50212, 50212, 50212, 50270, 50270, 50270, + 50374, 50374, 50374, 50442, 50442, 50442, 50513, 50513, 50513, 50576, 50576, 50576, 50619, 50619, 50619, 50703, 50703, 50703, 50752, 50752, 50752, 50827, 50827, 50827, + 50880, 50880, 50880, 50941, 50941, 50941, 51002, 51002, 51002, 51083, 51083, 51083, 51160, 51160, 51160, 51250, 51250, 51250, 51326, 51326, 51326, 51417, 51417, 51417, + 51433, 51433, 51433, 51482, 51482, 51482, 51574, 51574, 51574, 5223, 5223, 5223, 51645, 51645, 51645, 51696, 51696, 51696, 51741, 51741, 51741, 51801, 51801, 51801, + 51887, 51887, 51887, 51969, 51969, 51969, 52025, 52025, 52025, 52121, 52121, 52121, 52203, 52203, 52203, 52275, 52275, 52275, 52327, 52327, 52327, 52344, 52344, 52344, + 52361, 52361, 52361, 52448, 52448, 52448, 52484, 52484, 52484, 52576, 52576, 52576, 52681, 52681, 52681, 52767, 52767, 52767, 52890, 52890, 52890, 52991, 52991, 52991, + 53110, 53110, 53110, 53161, 53161, 53161, 53213, 53213, 53213, 53256, 53256, 53256, 53357, 53357, 53357, 53448, 53448, 53448, 53519, 53519, 53519, 53532, 53532, 53532, + 53602, 53602, 53602, 53670, 53670, 53670, 53744, 53744, 53744, 53811, 53811, 53811, 53873, 53873, 53873, 53962, 53962, 53962, 54028, 54028, 54028, 54078, 54078, 54078, + 54135, 54135, 54135, 54183, 54183, 54183, 54255, 54255, 54255, 54292, 54292, 54292, 54353, 54353, 54353, 54433, 54433, 54433, 54477, 54477, 54477, 54522, 54522, 54522, + 11722, 11722, 11722, 54565, 54565, 54565, 54647, 54647, 54647, 2582, 2582, 2582, 54701, 54701, 54701, 54744, 54744, 54744, 54780, 54780, 54780, 54815, 54815, 54815, + 54856, 54856, 54856, 54945, 54945, 54945, 55013, 55013, 55013, 55098, 55098, 55098, 55194, 55194, 55194, 11817, 11817, 11817, 55277, 55277, 55277, 55347, 55347, 55347, + 55400, 55400, 55400, 55446, 55446, 55446, 55471, 55471, 55471, 55528, 55528, 55528, 55551, 55551, 55551, 55573, 55573, 55573, 10906, 10906, 10906, 55613, 55613, 55613, + 55649, 55649, 55649, 55683, 55683, 55683, 55696, 55696, 55696, 13839, 13839, 13839, 55705, 55705, 55705, 55725, 55725, 55725, 55790, 55790, 55790, 55806, 55806, 55806, + 55832, 55832, 55832, 55845, 55845, 55845, 55854, 55854, 55854, 55872, 55872, 55872, 55905, 55905, 55905, 55926, 55926, 55926, 55947, 55947, 55947, 55975, 55975, 55975, + 55989, 55989, 55989, 56038, 56038, 56038, 56074, 56074, 56074, 56091, 56091, 56091, 56142, 56142, 56142, 56187, 56187, 56187, 56213, 56213, 56213, 56236, 56236, 56236, + 8226, 8226, 8226, 56264, 56264, 56264, 8396, 8396, 8396, 56278, 56278, 56278, 56306, 56306, 56306, 56343, 56343, 56343, 56375, 56433, 56433, 56475, 56475, 56475, + 56500, 56500, 56500, 56543, 56543, 56543, 56641, 56641, 56641, 56662, 56662, 56662, 56682, 56682, 56682, 56720, 56720, 56720, 56760, 56760, 56760, 56798, 56798, 56798, + 56854, 56854, 56854, 56892, 56892, 56892, 56909, 56909, 56909, 56925, 56925, 56925, 56946, 56946, 56946, 56967, 56967, 56967, 56983, 56983, 56983, 57003, 57003, 57003, + 57020, 57056, 57056, 57069, 57110, 57110, 57132, 57175, 57175, 57192, 57192, 57192, 57213, 57213, 57213, 57234, 57234, 57234, 57262, 57262, 57262, 57302, 57302, 57302, + 57336, 57336, 57336, 57382, 57382, 57382, 57396, 57396, 57396, 57406, 57406, 57406, 57416, 57416, 57416, 57437, 57437, 57437, 57464, 57464, 57464, 57493, 57493, 57493, + 57522, 57522, 57522, 57551, 57551, 57551, 57584, 57584, 57584, 57611, 57611, 57611, 57639, 57639, 57639, 57650, 57650, 57650, 57661, 57661, 57661, 57684, 57684, 57684, + 57711, 57711, 57711, 57725, 57725, 57725, 57758, 57758, 57758, 57784, 57784, 57784, 57799, 57799, 57799, 57828, 57828, 57828, 57855, 57855, 57855, 57876, 57876, 57876, + 57897, 57897, 57897, 57926, 57926, 57926, 57960, 57960, 57960, 57986, 57986, 57986, 58021, 58021, 58021, 58050, 58050, 58050, 58092, 58092, 58092, 58120, 58120, 58120, + 58148, 58148, 58148, 58172, 58172, 58172, 53519, 53519, 53519, 58188, 58188, 58188, 58208, 58208, 58208, 58285, 58285, 58285, 58320, 58320, 58320, 58359, 58359, 58359, + 58406, 58406, 58406, 58453, 58453, 58453, 58486, 58486, 58486, 58516, 58516, 58516, 58545, 58545, 58545, 58566, 58566, 58566, 58591, 58591, 58591, 58628, 58628, 58628, + 58675, 58675, 58675, 58736, 58736, 58736, 58808, 58808, 58808, 58869, 58869, 58869, 58904, 58904, 58904, 58921, 58921, 58921, 58979, 58979, 58979, 59033, 59033, 59033, + 2788, 2788, 2788, 59062, 59062, 59062, 59097, 59097, 59097, 59132, 59132, 59132, 59169, 59169, 59169, 59215, 59215, 59215, 25164, 25164, 25164, 59251, 59251, 59251, + 59287, 59287, 59287, 59321, 59321, 59321, 59337, 59337, 59337, 59386, 59386, 59386, 59431, 59431, 59431, 59464, 59464, 59464, 59489, 59489, 59489, 59527, 59527, 59527, + 59573, 59573, 59573, 59596, 59596, 59596, 59631, 59631, 59631, 59672, 59672, 59672, 7850, 7850, 7850, 59699, 59699, 59699, 59747, 59747, 59747, 59789, 59789, 59789, + 59831, 59831, 59831, 59865, 59865, 59865, 59906, 59906, 59906, 455, 455, 455, 59927, 59927, 59927, 59983, 59983, 59983, 60022, 60022, 60022, 60039, 60039, 60039, + 60056, 60056, 60056, 60091, 60091, 60091, 3836, 3836, 3836, 60119, 60119, 60119, 60154, 60154, 60154, 60208, 60208, 60208, 60252, 60252, 60252, 60300, 60300, 60300, + 60338, 60338, 60338, 60361, 60361, 60361, 60399, 60399, 60399, 60455, 60455, 60455, 60502, 60502, 60502, 60532, 60532, 60532, 60558, 60558, 60558, 60600, 60600, 60600, + 60658, 60658, 60658, 60694, 60694, 60694, 60714, 60714, 60714, 60750, 60750, 60750, 60774, 60774, 60774, 9074, 9074, 9074, 60809, 60809, 60809, 56892, 56892, 56892, + 60846, 60846, 60846, 60872, 60872, 60872, 60918, 60918, 60918, 60955, 60955, 60955, 61006, 61006, 61006, 61050, 61050, 61050, 61092, 61092, 61092, 61153, 61153, 61153, + 61205, 61205, 61205, 61249, 61249, 61249, 61293, 61293, 61293, 61333, 61333, 61333, 61374, 61374, 61374, 61396, 61396, 61396, 61411, 61411, 61411, 61427, 61427, 61427, + 61454, 61454, 61454, 61503, 61503, 61503, 61545, 61545, 61545, 61578, 61578, 61578, 61614, 61614, 61614, 61660, 61660, 61660, 61682, 61682, 61682, 61715, 61715, 61715, + 61742, 61742, 61742, 61785, 61785, 61785, 61813, 61813, 61813, 61853, 61853, 61853, 61882, 61882, 61882, 61924, 61924, 61924, 61967, 61967, 61967, 62011, 62011, 62011, + 62025, 62025, 62025, 62075, 62075, 62075, 62102, 62102, 62102, 62143, 62143, 62143, 62170, 62170, 62170, 62197, 62197, 62197, 62232, 62232, 62232, 62258, 62258, 62258, + 62272, 62272, 62272, 62292, 62292, 62292, 62318, 62318, 62318, 62358, 62358, 62358, 62390, 62390, 62390, 2504, 2504, 2504, 62429, 62429, 62429, 62521, 62521, 62521, + 62558, 62558, 62558, 62586, 62586, 62586, 62599, 62599, 62599, 62614, 62614, 62614, 62627, 62627, 62627, 62658, 62658, 62658, 62692, 62692, 62692, 62741, 62741, 62741, + 62779, 62779, 62779, 62824, 62824, 62824, 62870, 62870, 62870, 62926, 62926, 62926, 62951, 62951, 62951, 62994, 62994, 62994, 63026, 63026, 63026, 63069, 63069, 63069, + 63104, 63104, 63104, 63159, 63159, 63159, 63174, 63174, 63174, 63188, 63188, 63188, 63223, 63223, 63223, 63260, 63260, 63260, 63305, 63305, 63305, 63329, 63329, 63329, + 63373, 63373, 63373, 63415, 63415, 63415, 63468, 63468, 63468, 63499, 63499, 63499, 63538, 63538, 63538, 63577, 63577, 63577, 63599, 63599, 63599, 63650, 63650, 63650, + 63673, 63673, 63673, 63686, 63686, 63686, 63746, 63746, 63746, 63811, 63811, 63811, 63858, 63858, 63858, 63930, 63930, 63930, 63944, 63944, 63944, 63970, 63970, 63970, + 63994, 63994, 63994, 64017, 64017, 64017, 64056, 64056, 64056, 64079, 64079, 64079, 64094, 64094, 64094, 64108, 64108, 64108, 64128, 64128, 64128, 64156, 64156, 64156, + 64182, 64182, 64182, 64209, 64209, 64209, 64237, 64237, 64237, 64265, 64265, 64265, 64291, 64291, 64291, 56983, 56983, 56983, 64326, 64326, 64326, 64347, 64347, 64347, + 64374, 64374, 64374, 64400, 64400, 64400, 64428, 64428, 64428, 64456, 64456, 64456, 64478, 64478, 64478, 64492, 64492, 64492, 64510, 64510, 64510, 64523, 64523, 64523, + 64542, 64542, 64542, 64559, 64559, 64559, 13486, 13486, 13486, 64580, 64580, 64580, 64601, 64601, 64601, 64636, 64636, 64636, 64653, 64653, 64653, 64682, 64682, 64682, + 64698, 64698, 64698, 64725, 64725, 64725, 64748, 64748, 64748, 64770, 64770, 64770, 64787, 64787, 64787, 64804, 64804, 64804, 64818, 64818, 64818, 64833, 64833, 64833, + 64863, 64863, 64863, 64888, 64888, 64888, 64908, 64908, 64908, 64985, 64985, 65004, 65016, 65016, 65016, 65062, 65062, 65062, 65115, 65115, 65115, 65150, 65150, 65150, + 65186, 65186, 65186, 57711, 57711, 57711, 65201, 65201, 65201, 65219, 65219, 65219, 65234, 65234, 65234, 65381, 65381, 65381, 65534, 65534, 65534, 65631, 65631, 65631, + 65778, 65778, 65778, 65904, 65904, 65904, 66012, 66012, 66012, 66098, 66098, 66098, 66125, 66125, 66125, 66197, 66197, 66197, 66303, 66303, 66303, 66369, 66369, 66369, + 66437, 66437, 66437, 66465, 66465, 66465, 66522, 66522, 66522, 66549, 66549, 66549, 66647, 66647, 66647, 66747, 66747, 66747, 66778, 66778, 66778, 66884, 66884, 66884, + 66910, 66910, 66910, 66937, 66937, 66937, 66962, 66962, 66962, 66986, 66986, 66986, 67002, 67002, 67002, 67015, 67015, 67015, 67051, 67051, 67051, 67087, 67087, 67087, }; #endif } // namespace diff --git a/src/instrument/clock_users.cpp b/src/instrument/clock_users.cpp index 50c0ca96..d7e80553 100644 --- a/src/instrument/clock_users.cpp +++ b/src/instrument/clock_users.cpp @@ -52,6 +52,9 @@ bool DataAccess::restartClockUsers(bool generator, bool measurement) { // RUN, Normal, Single and Roll plan their capture from the new clocks; a capture that // waits for the memory of a frame still on show or read stays active (activateScope). ok = activateScope() && ok; + // The DMM trace's chip stayed powered: only its UART stopped (baud rate from PCLK1). One + // that does not start is LinkWatchdog's (its silence power-cycles the chip), not the clock's. + if (meterTraceRunning_ && !watchdog_.off()) startMeterUart(); } else ok = activate(measurement_) && ok; } if (serialRetime_) ok = serial_.start(meter_.latest().sequence) && ok; diff --git a/src/instrument/data_access.cpp b/src/instrument/data_access.cpp index 12c7b3e0..0ce3e1a0 100644 --- a/src/instrument/data_access.cpp +++ b/src/instrument/data_access.cpp @@ -78,6 +78,7 @@ bool DataAccess::select(MeasurementMode view) { status_ = DataStatus::HardwareError; return false; } + stopMeterTrace(); // Its chip unpowered under the scope word, before another word replaces it. if (!uart_.stop()) { status_ = DataStatus::HardwareError; return false; @@ -121,8 +122,10 @@ bool DataAccess::activate(MeasurementMode view) { restartTriggerEvents(); // A record captured before this entry is no trigger of it. return activateScope(); } +// The chip powered or not by the word in force: in the Scope (parallel, its DMM trace) bit 13 of the +// scope word, else the DMM word with the generator's bits. void DataAccess::applyMeterPower(bool enabled) { - if (parallel_) { + if (scopeEnabled()) { frontend_.scopeMeterPower(enabled); } else if (enabled) { // Keep the ZT706S module enabled until it acknowledges the zero frame on leaving Scope. @@ -293,10 +296,15 @@ bool DataAccess::selectDmmFunction(dmm::Function function) { // Also while off: const uint32_t waitMs = dmmActivatedAtUs_ > timeUs_ ? uint32_t(std::min((dmmActivatedAtUs_ - timeUs_) / 1000, dmm::FunctionSelector::PowerOnWaitMs)) : 0; const bool thermocouple = function == dmm::Function::Temperature; const auto physical = thermocouple ? dmm::Function::MillivoltsDc : function; - if (!active_ || !meterEnabled() || - (thermocouple && !meter_.temperatureSettings().configured()) || + if (!meterLinked() || (thermocouple && !meter_.temperatureSettings().configured()) || !dmm_.selectFunction(physical, meter_.latest(), Board::milliseconds() + waitMs, dmmActivatedAtUs_)) return false; meter_.thermocouple(thermocouple, timeUs_); + // The Scope's DMM trace in the function selected (restartMeterLine): at once, not at its first + // reading; under HOLD, which keeps the readings its frame shows, at the first reading after it. + if (measurement_ == MeasurementMode::Oscilloscope) { + meterTraceFunction_ = function; + if (!scopeHeld_) restartMeterLine(); + } // Accepted (a refusal above changes nothing): the statistics period starts with this function. meter_.restart(function, timeUs_ + (uint64_t(dmm::FunctionSelector::DeadlineMs) + waitMs) * 1000); return true; @@ -386,6 +394,7 @@ void DataAccess::beginShutdown() { serial_.stop(); counters_.stop(); stopCapture(true); + stopMeterTrace(); if (!dmmClosing_) stopDmmUart(); heldFrame_.release(); recordPending_ = false; diff --git a/src/instrument/meter_trace.cpp b/src/instrument/meter_trace.cpp new file mode 100644 index 00000000..e3e537a4 --- /dev/null +++ b/src/instrument/meter_trace.cpp @@ -0,0 +1,142 @@ +#include "openosc/instrument/data_access.hpp" +#include "openosc/measurement/meter_function.hpp" +#include "openosc/platform/board.hpp" +#include + +// The Scope's DMM trace: the DMM chip powered beside the capture, its packets into the DMM's session, +// and the readings its line is drawn from. +namespace openosc { +namespace { +#ifndef OPENOSC_USB_TRACE +// ITCM, the CPU's alone: Reset_Handler zeroes it in 64-bit ECC words, no capture or DMA reaches it. +__attribute__((section(".meter_trace"), aligned(8))) dmm::ReadingTrace::Reading meterReadingMemory[dmm::ReadingTrace::Capacity]; +// The copy of them a save's dmm column is written from (meterColumn), beside them. +__attribute__((section(".meter_trace"), aligned(8))) ScopeRecorder::MeterPoint meterColumnMemory[dmm::ReadingTrace::Capacity]; +#endif +} // namespace +dmm::ReadingTrace::Reading *DataAccess::meterTraceMemory() { +#ifdef OPENOSC_USB_TRACE + return nullptr; // The USB trace ring takes this ITCM (usb_trace.cpp): the DMM trace keeps no readings. +#else + return meterReadingMemory; +#endif +} +// Each pass: started while asked for in a running Scope, stopped otherwise. While it runs, as the DMM: +// the packets into the session, LinkWatchdog (power by bit 13 alone) and the function commands. A +// clock change leaves it running with its UART stopped until restartClockUsers. Parallel mode runs the +// DMM itself (poll()): the trace then leaves the chip as it is and does not run. +void DataAccess::serviceMeterTrace(uint32_t now) { + if (clockSuspended_) return; + if (parallel_) { + if (meterTraceRunning_) breakMeterTrace(); + meterTraceRunning_ = false; + return; + } + if (!meterTraceAsked_ || !initialized_ || !active_ || stopping_ || measurement_ != MeasurementMode::Oscilloscope) { + stopMeterTrace(); + return; + } + if (!meterTraceRunning_) { + meterTraceRunning_ = true; + ++meterTraceStarts_; + breakMeterTrace(); + dmm_.abandon(); + framer_.reset(); + meter_.expire(timeUs_); // A reading from before is not current, as on entering the DMM (activate()). + uint32_t remainingMs = 0; + // Unpowered too recently (a DMM left just now): LinkWatchdog powers it once OffMs has passed. + if (watchdog_.activate(now, timeUs_, remainingMs)) dmmActivatedAtUs_ = timeUs_ + uint64_t(remainingMs) * 1000; + else { + dmmActivatedAtUs_ = timeUs_; + applyMeterPower(true); // Powered first, then its UART. + startMeterUart(); // Refused: LinkWatchdog's silence power-cycles the chip. + } + } + receiveFaults(); + uint8_t packet[dmm::Packet::Bytes]; + for (unsigned budget = 256; framePacket(packet, budget);) + if (meter_.accept(packet, sizeof packet, timeUs_)) traceReading(); + meter_.service(timeUs_); + serviceDmmWatchdog(now); + dmm_.service(uart_, meter_.latest(), now); +} +// Its UART first, then the chip's power, as select() leaves the DMM. The chip is unpowered from now +// on (LinkWatchdog::left): the DMM entered next keeps it off for the rest of OffMs. +void DataAccess::stopMeterTrace() { + if (!meterTraceRunning_) return; + meterTraceRunning_ = false; + dmm_.abandon(); + uart_.stop(); + frontend_.scopeMeterPower(false); + watchdog_.left(Board::milliseconds()); // Off already (a power cycle, a deferred power-on): since then. + watchdog_.deactivate(); + framer_.reset(); + breakMeterTrace(); +} +// The readings stop now (the trace stopped or started, the chip power-cycled, its UART restarted): the +// line ends here, not at the next reading (a level held from before the stop or a slope across it). +// HOLD keeps every reading its frame shows: the next reading marks the gap then. +void DataAccess::breakMeterTrace() { + meterGap_ = true; + if (!scopeHeld_) meterReadings_.gap(uint32_t(timeUs_ / 1000)); +} +// The line in the function selected: started again when that function or its quantity is not the +// line's (its scale, units and cursors with it); the same one (the trace's start, a restart's +// reselection) keeps it. +void DataAccess::restartMeterLine() { + const auto quantity = dmm::Functions::reading(meterTraceFunction_); + if (quantity == Quantity::Unknown || (meterTraceFunction_ == meterLineFunction_ && quantity == meterReadings_.quantity())) return; + meterReadings_.reset(quantity); + meterGap_ = false; + meterLineFunction_ = meterTraceFunction_; +} +void DataAccess::traceReading() { + const auto &reading = meter_.live(); + if (reading.sequence != meter_.latest().sequence) return; // Not shown: an overload's settling (OverloadSettle). + // HOLD (none of the readings a held frame shows is overwritten), or the old function's readings while a + // selection runs. + if (scopeHeld_ || dmm_.selectionStatus() == DataStatus::Busy) { meterGap_ = true; return; } + if (meterTraceFunction_ != meterLineFunction_) restartMeterLine(); // A selection made under HOLD. + const auto &primary = reading.primary; + const auto ms = uint32_t(reading.timestampUs / 1000); + if (primary.quantity != Quantity::Unknown && primary.quantity != meterReadings_.quantity()) { + meterReadings_.reset(primary.quantity); + meterGap_ = false; + } + // At a slow timebase an entry is the mean of the readings within its span (ReadingTrace::push). + const uint32_t span = dmm::ReadingTrace::spanMs(request_.timebaseNs); + if (meterGap_) meterReadings_.gap(ms, span); + meterGap_ = false; + meterReadings_.push(ms, primary.valid() ? float(primary.si) : NAN, span); +} +// A scope CSV's or CSV.gz's dmm column while the DMM trace shows (ScopeRecorder::Meter): the readings +// over `record`, from the one in force at its first point to the last by its last, each with the first +// row it holds from, copied as the write starts (the ring goes on meanwhile) into meterColumnMemory, which +// no capture, trial or gzip stream uses. The USB trace build keeps no readings and no column. +bool DataAccess::meterColumn(const scope::FrameMetadata &record, ScopeRecorder::Meter &meter) { +#ifdef OPENOSC_USB_TRACE + (void)record; (void)meter; + return false; +#else + using Point = ScopeRecorder::MeterPoint; + if (!meterTraceAsked_ || !record.valid()) return false; + const double rate = record.samplesPerSecond.value(), last = double(record.samples - 1); + const uint32_t originMs = uint32_t(record.timestampUs / 1000); + const double originUs = double(record.timestampUs % 1000); + uint32_t count = 0; + for (size_t i = 0; i < meterReadings_.size(); ++i) { + const auto reading = meterReadings_[i]; + // Its place among the record's points, as plot::MeterAxis places it on the plot. + const double point = (double(int32_t(reading.ms - originMs)) * 1000 - originUs) * rate / 1e6; + if (point > last) break; + if (point <= 0) count = 0; // Of the readings before the record only the last holds at its start. + const Point held{point <= 0 ? 0U : uint32_t(std::ceil(point)), reading.value}; + meterColumnMemory[count++] = held; + } + const auto function = dmm::Functions::identify(meter_.latest()); + meter = {meterColumnMemory, count, + function < dmm::Function::Unknown ? MeterFunctions[unsigned(function)].key : "unknown", meterReadings_.quantity()}; + return true; +#endif +} +} // namespace openosc diff --git a/src/instrument/poll.cpp b/src/instrument/poll.cpp index 034dbbfb..8275a61a 100644 --- a/src/instrument/poll.cpp +++ b/src/instrument/poll.cpp @@ -15,10 +15,12 @@ void DataAccess::followMeterGenerator() { void DataAccess::restartDmmUart() { dmm_.abandon(); meter_.interruptCharge(); // Readings are lost across the restart. + breakMeterTrace(); if (uart_.stop()) startMeterUart(); else reportMeterStatus(DataStatus::HardwareError); } -// dmm::LinkWatchdog's decision carried out: a silent chip power-cycled, a deferred power-on, a UART restart. +// dmm::LinkWatchdog's decision carried out: a silent chip power-cycled, a deferred power-on, a UART +// restart. In the Scope its status stays the capture's (a failed UART shows as no readings). void DataAccess::serviceDmmWatchdog(uint32_t now) { using Action = dmm::LinkWatchdog::Action; switch (watchdog_.service(now, timeUs_, dmmActivatedAtUs_, uart_.status() == DataStatus::HardwareError, @@ -36,11 +38,34 @@ void DataAccess::serviceDmmWatchdog(uint32_t now) { dmm_.abandon(); meter_.interruptCharge(); // The DMM chip goes off: no reading until it is back. applyMeterPower(false); + breakMeterTrace(); dmmActivatedAtUs_ = timeUs_ + uint64_t(dmm::LinkWatchdog::OffMs) * 1000; reportMeterStatus(DataStatus::NoData); return; } } +bool DataAccess::receiveFaults() { + if (receiveErrors_ == uart_.errors() && receiveOverflows_ == uart_.overflows()) return false; + framer_.reset(); // A lost byte breaks the packet it fell in. + meter_.interruptCharge(); // Bytes were lost: the ampere-hour run ends here, its charge stays. + receiveErrors_ = uart_.errors(); + receiveOverflows_ = uart_.overflows(); + return true; +} +bool DataAccess::framePacket(uint8_t (&packet)[dmm::Packet::Bytes], unsigned &budget) { + uint8_t byte; + for (; budget && uart_.read(byte); --budget) { + const uint32_t rejected = framer_.rejected(); + const bool framed = framer_.push(byte, packet); + if (framer_.rejected() != rejected) meter_.interruptCharge(); // A packet failed its check: a reading lost. + if (framed) { + --budget; + watchdog_.packet(timeUs_); + return true; + } + } + return false; +} // The streams: no FAT, no UI and no LVGL. Also run while a refresh waits on DMA2D. bool DataAccess::referenceAllowed() const { return generator::ReferencePolicy::allowed({initialized_, active_, stopping_, clockSuspended_, @@ -69,37 +94,28 @@ void DataAccess::serviceBackground(uint32_t now) { void DataAccess::poll(uint32_t now) { serviceStreams(now); if (active_ && !stopping_ && meterEnabled()) { - if (receiveErrors_ != uart_.errors() || receiveOverflows_ != uart_.overflows()) { - framer_.reset(); - meter_.interruptCharge(); // Bytes were lost: the ampere-hour run ends here, its charge stays. - receiveErrors_ = uart_.errors(); - receiveOverflows_ = uart_.overflows(); - reportMeterStatus(DataStatus::Overflow); - } - uint8_t byte, packet[dmm::Packet::Bytes]; - for (unsigned n = 0; n < 256 && uart_.read(byte); ++n) { - const uint32_t rejected = framer_.rejected(); - const bool framed = framer_.push(byte, packet); - if (framer_.rejected() != rejected) meter_.interruptCharge(); // A packet failed its check: a reading lost. - if (!framed) continue; - watchdog_.packet(timeUs_); + if (receiveFaults()) reportMeterStatus(DataStatus::Overflow); + uint8_t packet[dmm::Packet::Bytes]; + for (unsigned budget = 256; framePacket(packet, budget);) if (meter_.accept(packet, sizeof packet, timeUs_, dmm_.functionPending(meter_.latest()))) { reportMeterStatus(meter_.latest().primary.status); const auto &reading = meter_.live().primary.quantity == Quantity::Temperature ? meter_.live() : meter_.latest(); if (logger_.active()) logger_.append(reading, meter_.userHeld()); session_.observe(reading, meterFunction(), thermocoupleType()); } - } meter_.service(timeUs_); // The hold mode's countdown and freshness, with or without packets. serviceDmmWatchdog(now); dmm_.service(uart_, meter_.latest(), now); } + serviceMeterTrace(now); if (dmmClosing_) serviceDmmClose(now); // Shutdown: the owed 21 before the UART stops. if (recordPending_ && !stopping_) { scope::FrameLease lease; if (timeUs_ >= recordDeadlineUs_) { recordStatus_ = DataStatus::Timeout; recordPending_ = false; } else if (acquireScope(lease)) { - if (!recorder_.begin(std::move(lease), recordFormat_, &arena_)) + ScopeRecorder::Meter meter; + const bool column = !ScopeRecorder::raw(recordFormat_) && meterColumn(lease.view().metadata(), meter); + if (!recorder_.begin(std::move(lease), recordFormat_, &arena_, column ? &meter : nullptr)) recordStatus_ = recorder_.status(); recordPending_ = false; } diff --git a/src/instrument/rolling.cpp b/src/instrument/rolling.cpp index 08ca31d1..8b0d6015 100644 --- a/src/instrument/rolling.cpp +++ b/src/instrument/rolling.cpp @@ -22,12 +22,14 @@ void DataAccess::serviceRolling(uint32_t now) { if (rolling_.size()==rolling_.capacity()) rollingLost_=false; status_=rollingLost_ ? DataStatus::Overflow : DataStatus::Ok; } - if (!rolling_.size() || rollingConsumed_==rollingPublished_ || !store_.writable() || uint32_t(now-rollingAt_)<16) return; + // Published when a point was stored (an averaged Roll stores one per Timebases::averaging consumed). + const uint64_t stored=rolling_.dropped()+rolling_.size(); + if (!rolling_.size() || stored==rollingPublished_ || !store_.writable() || uint32_t(now-rollingAt_)<16) return; const auto snapshot=rolling_.snapshot(); metadata=snapshot.metadata(); metadata.sequence=++sequence_; const uint16_t *banks[]={snapshot.bank(0),nullptr,nullptr,nullptr}; if (store_.beginLinear({metadata,banks,rolling_.capacity()},now)) { - rollingAt_=now; rollingPublished_=rollingConsumed_; + rollingAt_=now; rollingPublished_=stored; } } } // namespace openosc diff --git a/src/instrument/scope_capture.cpp b/src/instrument/scope_capture.cpp index 3ab2f64e..34ce453b 100644 --- a/src/instrument/scope_capture.cpp +++ b/src/instrument/scope_capture.cpp @@ -23,8 +23,8 @@ bool sameCh1Range(const ScopeRequest &a, const ScopeRequest &b) { } } bool DataAccess::validateScope(const ScopeRequest &r) const { - if (r.timebaseNs < 10 || r.timebaseNs > 20000000000ULL || !scope::RecordBudget::valid(r.recordPoints) || - !r.trigger.valid()) + if (r.timebaseNs < 10 || r.timebaseNs > scope::Timebases::Maximum || !scope::RecordBudget::valid(r.recordPoints) || + !r.trigger.valid() || (r.timebaseNs > scope::Timebases::SampledMaximum && !r.rolling())) return false; for (unsigned c = 0; c < 2; ++c) if (!r.probeNumerator[c] || !r.probeDenominator[c] || r.frontend.range[c] > 10 || @@ -137,7 +137,8 @@ bool DataAccess::zeroTrial() const { return phase==calibration::ZeroOperation::Phase::Applying || phase==calibration::ZeroOperation::Phase::Collecting; } // The plan of the next capture: a record of the request's per-channel depth, the fixed trial -// depth, or a Roll window (at most RollWindow points per channel, as Roll keeps 16-bit history). +// depth, or a Roll window (at most RollWindow points per channel, as Roll keeps 16-bit history; past +// Timebases::SampledMaximum the ADC runs that timebase's plan and Roll averages it, RollingBuffer). // A buffer the DMA cannot fill at the full rate (AcquisitionArena::fullRate) is planned at half // of it; a ring shorter than the depth (the compact 128K one, a split ring's capacity) keeps the record // within it, less the headroom at the full rate. @@ -156,7 +157,8 @@ bool DataAccess::samplePlan(scope::SamplePlan &plan, const scope::CaptureBuffer const uint32_t depth = internalCapture() ? buffer.ringPoints() : rolling ? std::min(request_.depth(), scope::AcquisitionArena::RollWindow) : std::min(request_.depth(), capacity & ~(4*perTransfer-1)); - return scope::SamplePlan::calculate(request_.timebaseNs,depth,maximumRate,capacity,plan, + const uint64_t timebase = rolling ? scope::Timebases::sampled(request_.timebaseNs) : request_.timebaseNs; + return scope::SamplePlan::calculate(timebase,depth,maximumRate,capacity,plan, rolling ? scope::SamplePlan::FullSpeedHeadroom : scope::SamplePlan::headroom(buffer,maximumRate*perTransfer), perTransfer, rolling || internalCapture() ? 0 : request_.windowPoints(), @@ -431,6 +433,8 @@ bool DataAccess::describeNext(scope::FrameMetadata &metadata) { bool rolling=false; if (!planCapture(plan,buffer,rolling) || !scope::CaptureTiming::points(TimerClock::apb1(),plan.rate,buffer.pointsPerTransfer(),timing,rate)) return false; + // An averaged Roll's records (RollingBuffer): a point per Timebases::averaging of the ADC's. + if (rolling && !rate.scaled(1,scope::Timebases::averaging(request_.timebaseNs),rate)) return false; auto next=metadata; next.samples=next.ring=plan.count; next.origin=0; next.samplesPerSecond=rate; next.timebaseNs=request_.timebaseNs; @@ -564,7 +568,8 @@ bool DataAccess::startCapture() { metadata.rolling=rolling; if (rolling) metadata.samples=metadata.ring=buffer.ringPoints(); // Roll runs the DMA ring continuously. metadata.samplesPerSecond = plan.rate; - metadata.timebaseNs = request_.timebaseNs; + // The capture's own: an averaged Roll's is the ADC's (Timebases::sampled), its records the request's. + metadata.timebaseNs = rolling ? scope::Timebases::sampled(request_.timebaseNs) : request_.timebaseNs; // The budget the user's record was planned for: the status bar names it, never the request staged // later. Roll and internal captures (zero calibration, AutoSetup trials) name only what they hold. static_assert(scope::RecordBudget::Minimum % 1024 == 0 && scope::RecordBudget::Maximum / 1024 <= UINT16_MAX); @@ -615,10 +620,15 @@ bool DataAccess::startCapture() { staged_ = false; // This capture runs the current request. if (!zeroBusy()) counters_.start(); configuration_.samples=configuration_.ring=plan.count; - if (rolling) { configuration_.layout=scope::Layout::Linear; configuration_.interleaveOffset=0; } + const uint32_t averaging=scope::Timebases::averaging(request_.timebaseNs); + if (rolling) { + configuration_.layout=scope::Layout::Linear; configuration_.interleaveOffset=0; + configuration_.timebaseNs=request_.timebaseNs; // As its records (RollingBuffer::snapshot) are. + configuration_.samplesPerSecond.scaled(1,averaging,configuration_.samplesPerSecond); + } rollingActive_=rolling; if (rolling) { - rolling_.reset(plan.count); rollingConsumed_=rollingPublished_=0; rollingLost_=false; + rolling_.reset(plan.count,averaging); rollingConsumed_=rollingPublished_=0; rollingLost_=false; rollingAt_=Board::milliseconds()-16; } if (!holdPending_) status_ = DataStatus::Ok; // A pending HOLD's retry keeps the fault until a record arrives. diff --git a/src/scpi/channel.cpp b/src/scpi/channel.cpp index 85b9fd5a..2bab8245 100644 --- a/src/scpi/channel.cpp +++ b/src/scpi/channel.cpp @@ -21,11 +21,12 @@ bool Engine::channelCommand(const Command &c) { else if (!backend_.counter(channel,reading)) error(-230,true); else number(reading.hertz); } else if (display) { - if (c.query) reply("%u", f.enabled[channel]); + if (c.query) reply("%u", backend_.channelShown(channel)); else { bool value; if (boolean(c, value)) { - // The panel's rule: never the last channel off; the trigger follows the remaining one. - if (!r.setChannel(channel, value)) error(-221); - else apply(r); + // The panel's rule: the last channel shown off only with the DMM trace on; the trigger follows. + backend_.releaseFrame(); + preambleChannels_ = 0; + if (const int16_t code = backend_.showChannel(channel, value)) error(code); } } } else if (coupling) { if (c.query) reply("%s", f.coupling[channel] == scope::Coupling::Ac ? "AC" : "DC"); diff --git a/src/scpi/common.cpp b/src/scpi/common.cpp index 8b6ee502..c86cf00a 100644 --- a/src/scpi/common.cpp +++ b/src/scpi/common.cpp @@ -89,6 +89,20 @@ bool Engine::common(const Command &c) { else if (ms < Backend::KeyMinMs || ms > Backend::KeyMaxMs || ms != unsigned(ms)) error(-222); else if (!backend_.pressKey(keys[index].key, unsigned(ms))) error(-221); } + } else if (match("DISPlay:TEXT") || match("DISPlay:TEXT:DATA")) { + // A message for the person at the device (Backend::message), as a quoted string; "" takes it away. + const size_t size = std::strlen(c.argument); + if (c.query) reply("\"%s\"", backend_.message()); + else if (!size) error(-109); + else if (size < 2 || (*c.argument != '"' && *c.argument != '\'') || c.argument[size - 1] != *c.argument) error(-104); + else { + char text[sizeof c.argument]; + std::memcpy(text, c.argument + 1, size - 2); text[size - 2] = 0; + if (!backend_.message(text)) error(-200); + } + } else if (match("DISPlay:TEXT:CLEar")) { + if (c.query || *c.argument) error(-108, c.query); + else if (!backend_.message("")) error(-200); } else if (match("SYSTem:STALl")) { char text[ReplyBytes - 1]; // Whole entries that fit the reply (StallLog::text). if (!c.query || *c.argument) error(-108,c.query); diff --git a/src/scpi/scope.cpp b/src/scpi/scope.cpp index 35261bb8..022ee608 100644 --- a/src/scpi/scope.cpp +++ b/src/scpi/scope.cpp @@ -55,6 +55,11 @@ bool Engine::scopeCommand(const Command &c) { if (channelCommand(c) || waveformCommand(c)) return true; const auto match = [&](const char *pattern) { return Header::matches(c.header, pattern); }; auto request = backend_.scopeRequest(); + // Auto is the only trigger mode past Timebases::SampledMaximum (Roll only) and with the DMM trace + // alone (no channel shown): Normal and Single are refused there. + const auto autoOnly = [&] { + return request.timebaseNs > scope::Timebases::SampledMaximum || (!backend_.channelShown(0) && !backend_.channelShown(1)); + }; if (match("MEASure:FCNT:QUALity") || match("MEASure:COUNter:QUALity")) { scope::CounterReading reading; static constexpr const char *Names[] = {"CLEAN", "FILTERED", "UNVERIFIED", "UNCERTAIN", "CHANGING"}; @@ -68,6 +73,7 @@ bool Engine::scopeCommand(const Command &c) { else number(reading.hertz); } else if (match("RUN") || match("SINGle") || match("STOP")) { if (c.query || *c.argument) error(-108, c.query); + else if (match("SINGle") && autoOnly()) error(-221); else { backend_.releaseFrame(); if (match("STOP")) backend_.stop(); else if (!backend_.run(match("SINGle"))) error(-221); } } else if (match("TFORce") || match("TRIGger:FORCe")) { if (c.query || *c.argument) error(-108, c.query); @@ -84,7 +90,7 @@ bool Engine::scopeCommand(const Command &c) { request.trigger.mode == scope::TriggerMode::Auto ? "AUTO" : "RUN"); // Rigol's TD|WAIT|RUN|AUTO|STOP. } else if (match("TIMebase:SCALe") || match("TIMebase:MAIN:SCALe")) { if (c.query) number(request.timebaseNs / 1e9); - else { double value; if (argument(c, value, Header::Unit::Time)) { if (value < 1e-8 || value > 20) error(-222); else { request.timebaseNs = scope::Timebases::nearest(value * 1e9); apply(request); } } } + else { double value; if (argument(c, value, Header::Unit::Time)) { if (value < 1e-8 || value > scope::Timebases::Maximum / 1e9) error(-222); else { request.timebaseNs = scope::Timebases::nearest(value * 1e9); apply(request); } } } } else if (match("TIMebase:MAIN:OFFSet") || match("TIMebase:OFFSet")) { const double span=request.timebaseNs/1e8; if (c.query) number((.5-request.trigger.position/1000.0)*span); @@ -210,7 +216,9 @@ bool Engine::scopeCommand(const Command &c) { else { if (Header::word(c.argument, "AUTO")) request.trigger.mode = scope::TriggerMode::Auto; else if (Header::word(c.argument, "NORMal")) request.trigger.mode = scope::TriggerMode::Normal; else if (Header::word(c.argument, "SINGle")) request.trigger.mode = scope::TriggerMode::Single; - else { error(-224); return true; } apply(request); } + else { error(-224); return true; } + if (request.trigger.mode != scope::TriggerMode::Auto && autoOnly()) error(-221); + else apply(request); } } else if (match("TRIGger:EDGE:SOURce")) { if (c.query) reply("CHAN%u", unsigned(request.trigger.channel) + 1); else { unsigned ch; if (!Header::matches(c.argument, "CHANnel#", &ch) || ch < 1 || ch > 2) error(-224); diff --git a/src/settings/instrument_json.cpp b/src/settings/instrument_json.cpp index 5e84936e..42b9dd4b 100644 --- a/src/settings/instrument_json.cpp +++ b/src/settings/instrument_json.cpp @@ -462,6 +462,14 @@ bool InstrumentJson::parse(JsonObjectConst scope, JsonObjectConst meter, Prefere } } } + if (scope.containsKey("dmm_measurements")) { // The DMM trace's readouts; absent (at the defaults, older files): the defaults. + const auto readouts=scope["dmm_measurements"].as(); + if (readouts.size()!=scope::ReadoutSelection::PerChannel) return false; + for (unsigned i=0; i() || !scope::MeterReadoutSelection::kind(readouts[i].as())) return false; + s.meterMeasurements.values[i]=uint8_t(readouts[i].as()); + } + } if (scope.containsKey("measure_basis")) { const char *basis=scope["measure_basis"] | ""; if (!std::strcmp(basis,"screen")) s.measurements.basis=scope::ReadoutBasis::Screen; @@ -509,6 +517,10 @@ void InstrumentJson::encode(JsonObject scope, JsonObject meter, const Preference auto row=measurements.createNestedArray(); for (auto value : channel) row.add(value); } + if (!s.meterMeasurements.same(scope::MeterReadoutSelection{})) { // Absent at the defaults. + auto readouts = scope.createNestedArray("dmm_measurements"); + for (auto value : s.meterMeasurements.values) readouts.add(unsigned(value)); + } scope["measure_basis"] = s.measurements.basis==scope::ReadoutBasis::Record ? "record" : "screen"; if (s.measurements.shortWindowCounter) scope["measure_short_window_counter"] = true; // Only On. arrangement(scope, "arrangement", s.arrangement); diff --git a/src/settings/instrument_preferences.cpp b/src/settings/instrument_preferences.cpp index af5cc724..b07405d0 100644 --- a/src/settings/instrument_preferences.cpp +++ b/src/settings/instrument_preferences.cpp @@ -11,7 +11,7 @@ bool ScopePreferences::valid() const { triggerVideoLine > scope::TriggerSettings::videoLines(scope::VideoStandard(triggerVideoStandard())) || triggerMinimumNs < scope::TriggerSettings::MinimumNs || triggerMinimumNs > scope::TriggerSettings::MaximumNs || triggerMaximumNs < scope::TriggerSettings::MinimumNs || triggerMaximumNs > scope::TriggerSettings::MaximumNs || - !measurements.valid() || + !measurements.valid() || !meterMeasurements.valid() || runMode>=RunModeCount || rollAuto>1 || longerRecord > 1 || interleave>(board::Current::Features.interleaveControl() ? 2U : 1U) || factoryRecordFormat>3 || !arrangement.valid() || !appearance.valid() || !decoder.valid() || !keys.valid()) return false; for (unsigned c = 0; c < 2; ++c) diff --git a/src/settings/instrument_state.cpp b/src/settings/instrument_state.cpp index c87acad2..e337c7fd 100644 --- a/src/settings/instrument_state.cpp +++ b/src/settings/instrument_state.cpp @@ -29,6 +29,7 @@ ScopeRequest InstrumentState::scope(const Preferences &p) { request.probeDenominator[c] = p.scope.probeDenominator[c]; } request.followChannels(); // A file may name a trigger source that is switched off. + request.followTimebase(); return request; } void InstrumentState::capture(const ScopeRequest &r, Preferences &p) { diff --git a/src/settings/plot_json.cpp b/src/settings/plot_json.cpp index aa3ab5a4..12fe6889 100644 --- a/src/settings/plot_json.cpp +++ b/src/settings/plot_json.cpp @@ -47,6 +47,13 @@ void PlotJson::encode(JsonObject root, const plot::Options &o) { if (o.counter.estimate) counter["estimate"]=o.counter.estimate; // #172, #173: written only when on. if (o.counter.timed) counter["timed"]=o.counter.timed; if (o.counter.decimals) counter["decimals"]=o.counter.decimals; // #229: written only when not Auto. + auto meter = root.createNestedObject("dmm"); // The DMM trace; older firmware ignores it. + meter["shown"] = o.meter.shown; + meter["position"] = o.meter.position; + meter["axis"] = o.meter.axis; // The channel kept only as its time axis: 0 CH1, 1 CH2, 2 none. + auto scales = meter.createNestedObject("per_division"); // Units/div in each quantity's SI unit. + for (unsigned i = 0; i < plot::MeterScale::Quantities; ++i) + scales[plot::MeterScale::Spans[i].key] = plot::MeterScale::perDivision(o.meter.scales[i]); auto channels = root.createNestedArray("channels"); for (const auto &c : o.channels) { auto item = channels.createNestedObject(); diff --git a/src/settings/plot_parser.cpp b/src/settings/plot_parser.cpp index e6611283..55673736 100644 --- a/src/settings/plot_parser.cpp +++ b/src/settings/plot_parser.cpp @@ -102,6 +102,21 @@ bool PlotJson::parse(JsonObjectConst object, plot::Options &output) { !integer(input,"estimate",o.counter.estimate) || !integer(input,"timed",o.counter.timed) || !integer(input,"decimals",o.counter.decimals)) return false; // #172, #173: absent reads 0; #229: 0 (Auto) or 2..6 (valid()). } + if (object.containsKey("dmm")) { // Absent in older themes: off, at the middle line, the initial scales. + if (!object["dmm"].is()) return false; + const auto input = object["dmm"].as(); + if (!flag(input, "shown", o.meter.shown) || !integer(input, "position", o.meter.position) || + !integer(input, "axis", o.meter.axis)) return false; + if (input.containsKey("per_division")) { + if (!input["per_division"].is()) return false; + const auto scales = input["per_division"].as(); + for (unsigned i = 0; i < plot::MeterScale::Quantities; ++i) { + const char *key = plot::MeterScale::Spans[i].key; + if (!scales.containsKey(key)) continue; + if (!scales[key].is() || !plot::MeterScale::step(i, scales[key].as(), o.meter.scales[i])) return false; + } + } + } if (object.containsKey("channels")) { auto channels = object["channels"].as(); if (channels.size() != 2) diff --git a/src/settings/preferences_json.cpp b/src/settings/preferences_json.cpp index dba57111..5bc28448 100644 --- a/src/settings/preferences_json.cpp +++ b/src/settings/preferences_json.cpp @@ -142,7 +142,7 @@ bool PreferencesJson::parse(const char *input, size_t bytes, Preferences &output if (!number(timing,"timebase_us",microseconds)) return false; candidate.timebaseNs=uint64_t(microseconds)*1000; } - if (candidate.timebaseNs >= 10 && candidate.timebaseNs <= 20000000000ULL) + if (candidate.timebaseNs >= 10 && candidate.timebaseNs <= scope::Timebases::Maximum) candidate.timebaseNs = scope::Timebases::nearest(double(candidate.timebaseNs)); if (root.containsKey("mode")) { if (!root["mode"].is()) diff --git a/src/settings/scope_appearance.cpp b/src/settings/scope_appearance.cpp index 365d609c..d094b214 100644 --- a/src/settings/scope_appearance.cpp +++ b/src/settings/scope_appearance.cpp @@ -8,8 +8,8 @@ constexpr ScopeRoleInfo roles[ScopeAppearance::Roles] = { {T::RoleBackground, "background"}, {T::RolePanels, "panel"}, {T::RoleText, "text"}, {T::RoleSecondaryText, "secondary"}, {T::ControlsGrid, "grid"}, {T::RoleChannel1, "channel1"}, {T::RoleChannel2, "channel2"}, {T::RoleMath, "math"}, {T::MatchReference, "reference"}, - {T::AnalyzeCursors, "cursor"}, {T::CardTrigger, "trigger"}, {T::RoleSelection, "selection"}, - {T::RoleReadouts, "readout"}, {T::RoleTagText, "tag_text"}}; + {T::RoleDmm, "dmm"}, {T::AnalyzeCursors, "cursor"}, {T::CardTrigger, "trigger"}, + {T::RoleSelection, "selection"}, {T::RoleReadouts, "readout"}, {T::RoleTagText, "tag_text"}}; constexpr T schemeNames[] = {T::SchemeCurrent, T::ContrastHigh, T::SchemeDaylight, T::PaletteAmber}; constexpr const char *schemeKeys[] = {"current", "high_contrast", "daylight", "amber"}; static_assert(sizeof schemeKeys / sizeof *schemeKeys == unsigned(ScopeScheme::Count)); diff --git a/src/startup/startup.cpp b/src/startup/startup.cpp index 89a48312..a48fd899 100644 --- a/src/startup/startup.cpp +++ b/src/startup/startup.cpp @@ -9,8 +9,8 @@ extern uint32_t _sidma_data, _sdma_data, _edma_data; #ifdef OPENOSC_APPLICATION // ITCM workspaces using 64-bit ECC words. extern uint64_t _sdecode_workspace, _edecode_workspace, _susb_trace, _eusb_trace; -extern uint64_t _sscope_glow, _escope_glow; extern uint64_t _sbode, _ebode, _sscpi_measure, _escpi_measure, _sdmm_log, _edmm_log; +extern uint64_t _smeter_trace, _emeter_trace; #endif void Reset_Handler(); void Bootstrap_Fault(); @@ -68,10 +68,10 @@ void Reset_Handler() { __DSB(); __ISB(); for (auto* p = &_sdecode_workspace; p < &_edecode_workspace; ++p) *p = 0; for (auto* p = &_susb_trace; p < &_eusb_trace; ++p) *p = 0; - for (auto* p = &_sscope_glow; p < &_escope_glow; ++p) *p = 0; for (auto* p = &_sbode; p < &_ebode; ++p) *p = 0; for (auto* p = &_sscpi_measure; p < &_escpi_measure; ++p) *p = 0; for (auto* p = &_sdmm_log; p < &_edmm_log; ++p) *p = 0; + for (auto* p = &_smeter_trace; p < &_emeter_trace; ++p) *p = 0; __DSB(); #endif for (unsigned i = 0; i < 256; ++i) diff --git a/src/ui/application_view.cpp b/src/ui/application_view.cpp index f125c9a8..078f18f8 100644 --- a/src/ui/application_view.cpp +++ b/src/ui/application_view.cpp @@ -20,6 +20,7 @@ void ApplicationView::build(const Theme &theme) { if (menu_) lv_obj_delete(menu_); menuContent_.reset(); menuRetained_=false; draftPreviewObject_=nullptr; menuUptime_=nullptr; sessionTrendLive_=false; if (toast_) lv_obj_delete(toast_); + if (message_) lv_obj_delete(message_); if (generatorIndicator_) lv_obj_delete(generatorIndicator_); if (usbIndicator_) lv_obj_delete(usbIndicator_); if (fps_) lv_obj_delete(fps_); @@ -58,6 +59,14 @@ void ApplicationView::build(const Theme &theme) { ui::Elements::overlayPanel(toast_, shown()); lv_obj_set_style_pad_all(toast_, ToastPadding, 0); lv_obj_set_hidden(toast_, true); + message_ = label(screen, "", 0, 0); // As the toast, wrapped to the lines its text takes, centred. + lv_obj_set_width(message_, 304); + lv_label_set_long_mode(message_, LV_LABEL_LONG_MODE_WRAP); + lv_obj_set_style_text_font(message_, font(14), 0); + ui::Elements::overlayPanel(message_, shown()); + lv_obj_set_style_pad_all(message_, 6, 0); + lv_obj_align(message_, LV_ALIGN_CENTER, 0, 0); + lv_obj_set_hidden(message_, true); using Layout = ui::StatusBarLayout; generatorIndicator_ = ui::StatusIcons::generator(screen, Layout::Generator.x, 4, theme.generator); lv_obj_set_hidden(generatorIndicator_, true); @@ -109,8 +118,8 @@ void ApplicationView::refreshIndicators() { overview_.visible(scope); const bool trigger = scope && trigger_ && edge_ && Layout::trigger(statusRight_); if (trigger_) lv_obj_set_hidden(trigger_, !trigger); - if (edge_) lv_obj_set_hidden(edge_, !trigger); - if (channelTag_) lv_obj_set_hidden(channelTag_, !trigger || channelTagChannel_ == NoTriggerChannel); + if (edge_) lv_obj_set_hidden(edge_, !trigger || !triggerSource_); + if (channelTag_) lv_obj_set_hidden(channelTag_, !trigger || !triggerSource_ || channelTagChannel_ == NoTriggerChannel); placeFps(); placeClock(); } @@ -216,24 +225,26 @@ void ApplicationView::refreshTriggerColors(unsigned channel) { if (!channelTag_ || channel >= NoTriggerChannel) return; const uint32_t color = scopeLook_.trigger(host_.channelView().slot(channel) ? scopeTheme_.channel2 : scopeTheme_.channel1); const uint32_t ink = scopeLook_.tagText(color); - ui::Elements::textColor(trigger_, color); + ui::Elements::textColor(trigger_, triggerSource_ ? color : shown().foreground); // "AUTO" of no channel: neutral. if (channel == channelTagChannel_ && color == channelTagColor_ && ink == channelTagInk_) return; const bool first = channelTagChannel_ == NoTriggerChannel; channelTagChannel_ = channel; channelTagColor_ = color; channelTagInk_ = ink; - if (first) lv_obj_set_hidden(channelTag_, lv_obj_is_hidden(trigger_)); + if (first) lv_obj_set_hidden(channelTag_, lv_obj_is_hidden(trigger_) || !triggerSource_); lv_obj_invalidate(channelTag_); } -void ApplicationView::scopeTrigger(const scope::TriggerSettings &trigger, const scope::ChannelMetadata &channel) { +void ApplicationView::scopeTrigger(const scope::TriggerSettings &trigger, const scope::ChannelMetadata &channel, bool source) { const auto threshold = trigger.comparatorLevel(); char level[24]; - if (!channel.calibrated || !channel.probeDenominator || + if (!source) std::snprintf(level, sizeof level, "AUTO"); + else if (!channel.calibrated || !channel.probeDenominator || !plot::Format::quantity(scope::TriggerLevel::shownVolts(threshold, channel), "V", level, sizeof level, 3)) std::snprintf(level, sizeof level, "%d", threshold); if (!trigger_ || !edge_) return; scope_.triggerType(trigger.type); if (std::strcmp(lv_label_get_text(trigger_), level)) { lv_label_set_text(trigger_, level); placeFps(); } + if (source != triggerSource_) { triggerSource_ = source; refreshIndicators(); } refreshTriggerColors(unsigned(trigger.channel)); static const lv_point_precise_t rising[] = {{0, 9}, {3, 9}, {3, 1}, {7, 1}}, falling[] = {{0, 1}, {3, 1}, {3, 9}, {7, 9}}; const auto *points = trigger.comparatorEdge() == scope::Edge::Rising ? rising : falling; @@ -264,6 +275,7 @@ void ApplicationView::paintShell() { lv_obj_set_style_bg_color(menu_, lv_color_hex(t.background), 0); lv_obj_set_style_border_color(menu_, lv_color_hex(t.grid), 0); ui::Elements::overlayPanel(toast_, t); + ui::Elements::overlayPanel(message_, t); lv_obj_set_style_image_recolor(usbIndicator_, lv_color_hex(t.accent), 0); lv_obj_set_style_image_recolor(generatorIndicator_, lv_color_hex(t.generator), 0); lv_obj_set_style_line_color(edge_, lv_color_hex(t.muted), 0); @@ -362,12 +374,26 @@ void ApplicationView::dismissNotice(Notice kind) { lv_obj_set_hidden(toast_, true); notice_ = Notice::None; } +void ApplicationView::message(const char *text) { + if (!message_) return; + if (!*text) { dismissMessage(); return; } + if (std::strcmp(lv_label_get_text(message_), text)) lv_label_set_text(message_, text); + lv_obj_set_hidden(message_, false); // Raised by service(). +} +bool ApplicationView::dismissMessage() { + if (!messageShowing()) return false; + lv_obj_set_hidden(message_, true); + return true; +} void ApplicationView::service(uint32_t now) { host_.waveform().service(now); // The overview follows the projection itself, so HOLD pan and zoom move it without a new frame. if (mode_ == MeasurementMode::Oscilloscope && !host_.overlayActive()) overview_.update(host_.waveform().model(), host_.channelView()); if (statusRight_ != host_.statusRight()) refreshIndicators(); // Also catches states set by the screens. - // Panels that refresh themselves must not bury a message the user has yet to read. + // Panels that refresh themselves must not bury a message the user has yet to read: the remote + // message (DISPlay:TEXT), then the notice over it. + if (messageShowing() && lv_obj_get_index(message_) + (toastShowing() ? 2 : 1) != int32_t(lv_obj_get_child_count(lv_obj_get_parent(message_)))) + lv_obj_move_foreground(message_); if (toastShowing() && lv_obj_get_index(toast_)+1!=int32_t(lv_obj_get_child_count(lv_obj_get_parent(toast_)))) lv_obj_move_foreground(toast_); if (toastShowing() && int32_t(now - toastUntil_) >= 0) dismissNotice(notice_); diff --git a/src/ui/components/footer_pages.cpp b/src/ui/components/footer_pages.cpp index 95e50112..07a66929 100644 --- a/src/ui/components/footer_pages.cpp +++ b/src/ui/components/footer_pages.cpp @@ -6,44 +6,59 @@ namespace { bool selected(uint32_t value) { return value < scope::Measurements::Count && value != unsigned(scope::Measurement::Off); } } // namespace // Fixed cells (plan S06): a readout keeps its place, an Off one leaves its cell empty. Two channels on: -// two cells each, readouts 1-2 then 3-4 (REL); one channel: its four in the four cells, one page. -bool FooterPages::plan(const scope::ReadoutSelection &selection, const bool (&enabled)[2], bool spectrum, bool scales) { - bool chosen[2][scope::ReadoutSelection::PerChannel]{}; - bool any = false, later = false; // A readout on an enabled channel; one of its 3-4: the second page. - for (unsigned c = 0; c < 2; ++c) - for (unsigned i = 0; i < scope::ReadoutSelection::PerChannel; ++i) { - chosen[c][i] = selected(selection.values[c][i]); - any = any || (enabled[c] && chosen[c][i]); - later = later || (enabled[c] && chosen[c][i] && i >= PerChannel); +// two cells each, readouts 1-2 then 3-4 (REL); one channel: its four in the four cells, one page. The +// DMM trace in the panel of a channel that is off counts as that channel; with both on, its own page. +bool FooterPages::plan(const scope::ReadoutSelection &selection, const scope::MeterReadoutSelection &meterSelection, const bool (&enabled)[2], + bool spectrum, bool scales, bool meter) { + constexpr unsigned Slots = scope::ReadoutSelection::PerChannel; + bool chosen[Sources][Slots]{}; + for (unsigned i = 0; i < Slots; ++i) { + for (unsigned c = 0; c < 2; ++c) chosen[c][i] = selected(selection.values[c][i]); + chosen[Meter][i] = selected(meterSelection.values[i]); + } + // What the readout pages show: the channels on, and the DMM trace in a panel of a channel that is off. + const bool shown[Sources] = {enabled[0], enabled[1], meter && !(enabled[0] && enabled[1])}; + bool any = false, later = false; // A readout shown there; one of its 3-4: the second page. + for (unsigned s = 0; s < Sources; ++s) + for (unsigned i = 0; i < Slots; ++i) { + any = any || (shown[s] && chosen[s][i]); + later = later || (shown[s] && chosen[s][i] && i >= PerChannel); } - // Both channels off: one page that says so ("CHn Off"); every readout Off: none (scales only). - const unsigned pages = !enabled[0] && !enabled[1] ? 1 : !any ? 0 : enabled[0] != enabled[1] || !later ? 1 : 2; - const unsigned count = pages + (scales ? 1 : 0) + (spectrum ? 1 : 0); - bool changed = count != count_ || spectrum != spectrum_ || scales != scales_; + const bool wide = meter ? !enabled[0] && !enabled[1] : enabled[0] != enabled[1]; + // Both channels off without the DMM trace: one page that says so ("CHn Off"); every readout Off: none (scales only). + const unsigned pages = !enabled[0] && !enabled[1] && !meter ? 1 : !any ? 0 : wide || !later ? 1 : 2; + const unsigned meterPages = meter && enabled[0] && enabled[1] && std::find(chosen[Meter], chosen[Meter] + Slots, true) != chosen[Meter] + Slots; + const unsigned count = pages + meterPages + (scales ? 1 : 0) + (spectrum ? 1 : 0); + bool changed = count != count_ || spectrum != spectrum_ || scales != scales_ || meter != meter_ || meterPages != meterPages_; + for (unsigned s = 0; s < Sources; ++s) { + changed = changed || !std::equal(chosen[s], chosen[s] + Slots, chosen_[s]); + std::copy(chosen[s], chosen[s] + Slots, chosen_[s]); + } for (unsigned c = 0; c < 2; ++c) { - changed = changed || enabled[c] != enabled_[c] || !std::equal(chosen[c], chosen[c] + scope::ReadoutSelection::PerChannel, chosen_[c]); - std::copy(chosen[c], chosen[c] + scope::ReadoutSelection::PerChannel, chosen_[c]); + changed = changed || enabled[c] != enabled_[c]; enabled_[c] = enabled[c]; } - spectrum_ = spectrum; scales_ = scales; readoutPages_ = pages; count_ = count; + spectrum_ = spectrum; scales_ = scales; meter_ = meter; readoutPages_ = pages; meterPages_ = meterPages; count_ = count; if (page_ >= count_) page_ = 0; return changed; } FooterPages::Kind FooterPages::kind(unsigned page) const { if (spectrum_ && !page) return Kind::Spectrum; - return page - (spectrum_ ? 1 : 0) < readoutPages_ ? Kind::Readouts : Kind::Scales; + return page - (spectrum_ ? 1 : 0) < readoutPages_ + meterPages_ ? Kind::Readouts : Kind::Scales; } FooterPages::Cell FooterPages::cell(unsigned page, unsigned index) const { Cell cell; if (index >= Cells || kind(page) != Kind::Readouts) return cell; - if (wide()) { // The one channel on: readout i in cell i. - cell.channel = enabled_[1]; + const unsigned readouts = page - (spectrum_ ? 1 : 0); // The readout page's index. + if (wide() || readouts == readoutPages_) { // One source (the DMM trace's own page too): readout i in cell i. + cell.channel = uint8_t(readouts == readoutPages_ || meter_ ? Meter : enabled_[1]); if (chosen_[cell.channel][index]) cell.slot = uint8_t(index); return cell; } - cell.channel = uint8_t(view_.input(index / PerChannel)); - if (!enabled_[cell.channel]) { cell.slot = index % PerChannel ? Empty : ChannelOff; return cell; } - const unsigned slot = (page - (spectrum_ ? 1 : 0)) * PerChannel + index % PerChannel; + const unsigned panel = index / PerChannel, input = view_.input(panel); // The input on screen in that panel. + cell.channel = uint8_t(enabled_[input] || !meter_ ? input : Meter); + if (cell.channel != Meter && !enabled_[cell.channel]) { cell.slot = index % PerChannel ? Empty : ChannelOff; return cell; } + const unsigned slot = readouts * PerChannel + index % PerChannel; if (slot < scope::ReadoutSelection::PerChannel && chosen_[cell.channel][slot]) cell.slot = uint8_t(slot); return cell; } diff --git a/src/ui/components/parameter_bar.cpp b/src/ui/components/parameter_bar.cpp index fc8563fd..abd484cb 100644 --- a/src/ui/components/parameter_bar.cpp +++ b/src/ui/components/parameter_bar.cpp @@ -167,6 +167,7 @@ uint32_t ParameterBar::accent(unsigned index) const { case Tint::Channel2: return channels_[1]; case Tint::Neutral: return neutral_; case Tint::Math: return math_; + case Tint::Meter: return meter_; default: return highlight_; } } diff --git a/src/ui/components/readout_row.cpp b/src/ui/components/readout_row.cpp index 02a65a28..eb3fd63c 100644 --- a/src/ui/components/readout_row.cpp +++ b/src/ui/components/readout_row.cpp @@ -10,7 +10,7 @@ namespace { bool narrower(const ReadoutRow::Item &item, unsigned from, int than, unsigned size, bool gap, unsigned &index, ReadoutParts &parts) { for (unsigned i = from; i < ReadoutText::Forms; ++i) if (ReadoutText::form(item.kind, item.valid, item.value, item.mark, i, parts, size, item.limit, - ReadoutText::Prefer{item.prefer}, gap, item.counterDecimals) && + ReadoutText::Prefer{item.prefer}, gap, item.counterDecimals, item.unit) && (than < 0 || parts.width() < than)) { index = i; return true; diff --git a/src/ui/components/readout_text.cpp b/src/ui/components/readout_text.cpp index 2a4c5d37..88b9894b 100644 --- a/src/ui/components/readout_text.cpp +++ b/src/ui/components/readout_text.cpp @@ -70,15 +70,16 @@ bool ReadoutText::fit(const char *tag, bool valid, double value, const char *uni } unsigned ReadoutText::digits(unsigned index) { return index < Overflow ? Steps[Shapes[index].step].precision : 0; } bool ReadoutText::form(unsigned kind, bool valid, double value, const char *mark, unsigned index, ReadoutParts &output, unsigned size, - unsigned limit, Prefer prefer, bool gap, unsigned counterDecimals) { + unsigned limit, Prefer prefer, bool gap, unsigned counterDecimals, const char *unit) { output = {}; output.size = size; if (index >= Forms || kind >= scope::Measurements::Count || kind == unsigned(scope::Measurement::Off)) return false; const bool overflow = index == Overflow; const auto shape = overflow ? Shape{0, false} : Shapes[index]; + const char *units = unit ? unit : scope::Measurements::Units[kind]; if (overflow) { // Only for a value no other form can write (far outside the instrument's range). for (unsigned i = 0; i < Overflow; ++i) - if (form(kind, valid, value, mark, i, output, size, limit, prefer, gap, counterDecimals)) return false; + if (form(kind, valid, value, mark, i, output, size, limit, prefer, gap, counterDecimals, unit)) return false; output = {}; output.size = size; std::snprintf(output.value, sizeof output.value, "OVR"); @@ -91,14 +92,14 @@ bool ReadoutText::form(unsigned kind, bool valid, double value, const char *mark const bool timed = kind == unsigned(scope::Measurement::CounterFrequency) && limit > scope::Measurements::MaximumDigits; const unsigned offered = timed ? TimedDigits[shape.step] : step.precision; const unsigned precision = limit && !step.coarse ? std::min(offered, limit) : offered; - if (!plot::Format::quantity(value, scope::Measurements::Units[kind], output.value, sizeof output.value, precision, step.coarse, + if (!plot::Format::quantity(value, units, output.value, sizeof output.value, precision, step.coarse, prefer.index, &output.prefix)) return false; // A percent just under 100 that rounds to "100%" would read as DC: its bound instead, with // the decimals the form keeps (">99.9%" at three digits, ">99.99%" at two decimals). A form // with no decimal to spare (">99%") says too little of an exact value: not offered unbounded; // bounded to two digits it is all the value supports. - if (std::strstr(output.value, "100") == output.value && std::abs(value) < 100 && !std::strcmp(scope::Measurements::Units[kind], "%")) { + if (std::strstr(output.value, "100") == output.value && std::abs(value) < 100 && !std::strcmp(units, "%")) { const unsigned nines = step.coarse ? precision : precision > 2 ? precision - 2 : 0; if (!nines && !limit) return false; char decimals[8] = ""; @@ -107,7 +108,8 @@ bool ReadoutText::form(unsigned kind, bool valid, double value, const char *mark } if (limit && significant(output.value) > limit) return false; } else std::snprintf(output.value, sizeof output.value, "--"); - std::snprintf(output.tag, sizeof output.tag, "%s%s", shape.shortTag ? ShortTags[kind] : scope::Measurements::Tags[kind], mark ? mark : ""); + const bool shortTag = shape.shortTag || (unit && kind == unsigned(scope::Measurement::PeakToPeak)); + std::snprintf(output.tag, sizeof output.tag, "%s%s", shortTag ? ShortTags[kind] : scope::Measurements::Tags[kind], mark ? mark : ""); output.tagWidth = Elements::textWidth(output.tag, size) + (gap && !shape.shortTag ? TagGap : 0); output.valueWidth = Elements::textWidth(output.value, size); return true; diff --git a/src/ui/components/scope_footer.cpp b/src/ui/components/scope_footer.cpp index 25b2a8ca..fd451349 100644 --- a/src/ui/components/scope_footer.cpp +++ b/src/ui/components/scope_footer.cpp @@ -3,6 +3,7 @@ #include "openosc/ui/scope/counter_estimate.hpp" #include "openosc/ui/scope/display_scale.hpp" #include "openosc/ui/scope/format.hpp" +#include "openosc/ui/scope/trace_move.hpp" #include #include @@ -46,8 +47,8 @@ void ScopeFooter::clear() { model_ = nullptr; resultValid_ = false; indicator_ = {}; replan(); paint(); } -void ScopeFooter::selection(const scope::ReadoutSelection &selection) { - selection_ = selection; resultValid_ = false; indicator_ = {}; // Until ReadoutScheduler publishes for it. +void ScopeFooter::selection(const scope::ReadoutSelection &selection, const scope::MeterReadoutSelection &meter) { + selection_ = selection; meterSelection_ = meter; resultValid_ = false; indicator_ = {}; // Until ReadoutScheduler publishes for it. replan(); paint(); } void ScopeFooter::frame(const plot::Model &model) { @@ -71,6 +72,19 @@ void ScopeFooter::view(const plot::ChannelView &view) { view_ = view; pages_.view(view); paint(); } +void ScopeFooter::meter(const plot::MeterReadouts &meter) { + if (meter == meter_) return; + meter_ = meter; + if (replan() || meterShown()) paint(); +} +bool ScopeFooter::meterShown() const { + if (!pages_.count()) return false; + if (pages_.kind() == FooterPages::Kind::Scales) return pages_.meterPanel() < Panels; + if (pages_.kind() != FooterPages::Kind::Readouts) return false; + for (unsigned p = 0; p < Panels; ++p) + if (pages_.cell(p * PerChannel).channel == FooterPages::Meter) return true; + return false; +} void ScopeFooter::nextPage() { pages_.next(); paint(); @@ -79,16 +93,19 @@ bool ScopeFooter::replan() { bool enabled[2] = {true, true}; bool spectrum = false, scales = false; if (model_) { - for (unsigned c = 0; c < 2; ++c) enabled[c] = model_->metadata().channels[c].enabled; - spectrum = model_->options().mode == plot::Mode::Spectrum; + for (unsigned c = 0; c < 2; ++c) enabled[c] = this->enabled(c); + spectrum = model_->options().mode == plot::Mode::Spectrum && this->enabled(model_->options().spectrum.channel); scales = model_->options().showScale; } else if (countersValid_) for (unsigned c = 0; c < 2; ++c) enabled[c] = counters_.enabled & (1U << c); - return pages_.plan(selection_, enabled, spectrum, scales); + return pages_.plan(selection_, meterSelection_, enabled, spectrum, scales, meter_.shown); } +// The DMM trace's hidden time axis (MeterTraceOptions::axis) is off here too. bool ScopeFooter::enabled(unsigned channel) const { - return model_ ? model_->metadata().channels[channel].enabled : !countersValid_ || (counters_.enabled & (1U << channel)); + return model_ ? plot::ChannelDisplay::shown(model_->metadata(), model_->options(), channel) + : !countersValid_ || (counters_.enabled & (1U << channel)); } uint32_t ScopeFooter::channelColor(unsigned channel) const { + if (channel == FooterPages::Meter) return meterColor_; return !enabled(channel) ? theme_->muted : view_.slot(channel) ? theme_->channel2 : theme_->channel1; } void ScopeFooter::look(unsigned channel, const uint32_t *color) { @@ -130,10 +147,11 @@ void ScopeFooter::readoutPage() { for (unsigned c = 0; c < Panels; ++c) readoutPanel(c); } // The hardware counter's slots read the last snapshot even before a frame; the computed values -// wait for a frame and its result. -// p: the panel; its channel is the cells' (the one channel on fills both). +// wait for a frame and its result; the DMM trace's are its own (meter()), in its unit. +// p: the panel; its channel is the cells' (the one channel on fills both; the DMM trace may too). void ScopeFooter::readoutPanel(unsigned p) { const unsigned c = pages_.cell(p * PerChannel).channel; + const bool meter = c == FooterPages::Meter; const uint32_t color = channelColor(c); look(p, &color); if (pages_.cell(p * PerChannel).slot == FooterPages::ChannelOff) { @@ -141,13 +159,17 @@ void ScopeFooter::readoutPanel(unsigned p) { return; } ReadoutRow::Item items[ReadoutRow::Items]; - const bool computed = resultValid_ && result_.valid && result_.computed[c]; + const bool computed = !meter && resultValid_ && result_.valid && result_.computed[c]; for (unsigned k = 0; k < PerChannel; ++k) { const auto place = pages_.cell(p * PerChannel + k); if (place.slot == FooterPages::Empty || place.slot == FooterPages::ChannelOff) continue; auto &item = items[k]; - const unsigned kind = selection_.values[c][place.slot]; - if (kind == unsigned(scope::Measurement::CounterFrequency)) { + const unsigned kind = meter ? meterSelection_.values[place.slot] : selection_.values[c][place.slot]; + if (meter) { + if (!meter_.offers(scope::Measurement(kind))) continue; // RMS of an AC function's readings: its cell stays empty. + item.valid = meter_.value(scope::Measurement(kind), item.value); + item.unit = meter_.unit; + } else if (kind == unsigned(scope::Measurement::CounterFrequency)) { if (!countersValid_) continue; const auto &reading = counters_.channels[c]; item.valid = reading.valid && (counters_.enabled & (1U << c)); @@ -179,11 +201,12 @@ void ScopeFooter::readoutPanel(unsigned p) { heldChannel_[p] = c; ReadoutRow::Placed placed[ReadoutRow::Items]; ReadoutRow::fit(items, Layout::TextWidth, Layout::CellWidth, placed, &held_[p]); - // A stale Full result: both shades go grey; the counter has its own snapshot and keeps its colour. + // A stale Full result: both shades go grey; the counter and the DMM trace have their own data and + // keep their colour. for (unsigned k = 0; k < PerChannel; ++k) { if (!placed[k].shown) continue; - const bool counter = items[k].kind == unsigned(scope::Measurement::CounterFrequency); - const uint32_t value = indicator_.stale && !counter ? theme_->muted : color; + const bool apart = meter || items[k].kind == unsigned(scope::Measurement::CounterFrequency); + const uint32_t value = indicator_.stale && !apart ? theme_->muted : color; const auto &parts = placed[k].parts; // A tag is its value's colour dimmed towards a dark background; on a light one it keeps the // full (dark) colour, so the names stay as readable as the values. @@ -191,7 +214,7 @@ void ScopeFooter::readoutPanel(unsigned p) { panels_[p].add(placed[k].x + parts.tagWidth, parts.value, value, parts.size); } // Full: the bottom rail, whole (a first pass: as far as it has come); grey with stale values. - if (indicator_.full && model_ && enabled(c)) + if (indicator_.full && model_ && !meter && enabled(c)) panels_[p].rail(Layout::rail(int(p)).width * indicator_.percent / 100, indicator_.stale ? theme_->muted : color); } const char *ScopeFooter::samples(const plot::Model &model, unsigned channel) { @@ -208,10 +231,16 @@ void ScopeFooter::scalesPage() { for (unsigned p = 0; p < 2; ++p) { // A panel per on-screen slot; X and Y stay the inputs' (X-Y). const unsigned c = view_.input(p); const auto &channel = metadata.channels[c]; + char text[48], probe[24]; + if (p == pages_.meterPanel()) { // The DMM trace in the panel of a channel that is off. + look(p, &meterColor_); + meterScale(text, sizeof text); + panels_[p].add(0, text, meterColor_); + continue; + } const uint32_t color = channelColor(c); look(p, &color); - char text[48], probe[24]; - if (!channel.enabled) i18n::format(text, sizeof text, i18n::Integer(long(view_.number(c)))); + if (!enabled(c)) i18n::format(text, sizeof text, i18n::Integer(long(view_.number(c)))); else { const auto scale = plot::DisplayScale::channel(channel, model_->options().channels[c]); plot::DisplayScale::probe(channel, probe, sizeof probe); @@ -222,6 +251,15 @@ void ScopeFooter::scalesPage() { panels_[p].add(0, text, color); } } +// "DMM", its function and units/div, as a channel's coupling, probe and V/div; without the function +// where that does not fit. +void ScopeFooter::meterScale(char *text, size_t capacity) const { + char tag[40]; + std::snprintf(tag, sizeof tag, "DMM %s", meter_.function); + const bool scaled = meter_.perDivision > 0; + if (!ReadoutText::fit(tag, scaled, meter_.perDivision, meter_.unit, Layout::TextWidth, text, capacity)) + ReadoutText::fit("DMM", scaled, meter_.perDivision, meter_.unit, Layout::TextWidth, text, capacity); +} // The plot's own header names the channel, window and length: the footer adds the peak (in the // spectrum channel's panel) and the frequency span of a division (in a plain one). void ScopeFooter::spectrumPage() { diff --git a/src/ui/components/scope_styles.cpp b/src/ui/components/scope_styles.cpp index 84533831..dc3a020b 100644 --- a/src/ui/components/scope_styles.cpp +++ b/src/ui/components/scope_styles.cpp @@ -7,13 +7,16 @@ using R = ScopeRole; constexpr unsigned SchemeRoles = unsigned(R::Selection) + 1; // Background .. Selection; the rest derive. // Each scheme's own colours, Background .. Selection (Trigger is always the source's colour). // Daylight keeps text, cursors and channels deep enough for a light body (WCAG >= 4.5 on text). +// The DMM trace's colour stands apart from both channels, Math, Reference and Selection. constexpr uint32_t schemes[unsigned(ScopeScheme::Count) - 1][SchemeRoles] = { // High contrast - {0x000000, 0x141414, 0xffffff, 0xc8c8c8, 0x404040, 0xffff00, 0x00e5ff, 0xff4dff, 0xb8b8ff, 0xffffff, 0, 0x00ff9c}, + {0x000000, 0x141414, 0xffffff, 0xc8c8c8, 0x404040, 0xffff00, 0x00e5ff, 0xff4dff, 0xb8b8ff, 0xff8c1a, 0xffffff, 0, 0x00ff9c}, // Daylight - {0xf8fafc, 0xe2e8f0, 0x0f172a, 0x475569, 0xcbd5e1, 0xb45309, 0x0369a1, 0x047857, 0x6d28d9, 0x0f172a, 0, 0x1d4ed8}, + {0xf8fafc, 0xe2e8f0, 0x0f172a, 0x475569, 0xcbd5e1, 0xb45309, 0x0369a1, 0x047857, 0x6d28d9, 0xbe123c, 0x0f172a, 0, 0x1d4ed8}, // Amber - {0x0d0800, 0x1f1405, 0xffc46b, 0xa87a3a, 0x3d2a10, 0xffb238, 0xff6b3d, 0xfde047, 0xe9e3d3, 0xfff1d6, 0, 0xffd27a}}; + {0x0d0800, 0x1f1405, 0xffc46b, 0xa87a3a, 0x3d2a10, 0xffb238, 0xff6b3d, 0xfde047, 0xe9e3d3, 0xa3e635, 0xfff1d6, 0, 0xffd27a}}; +// Current: the Theme has no DMM colour (its JSON no key for it); ColorCatalog's Green. +constexpr uint32_t CurrentMeter = 0x4ade80; uint32_t themeColor(const Theme &t, R role) { switch (role) { case R::Background: return t.background; @@ -25,6 +28,7 @@ uint32_t themeColor(const Theme &t, R role) { case R::Channel2: return t.channel2; case R::Math: return t.math; case R::Reference: return t.reference; + case R::Meter: return CurrentMeter; case R::Cursor: return t.cursor; case R::Selection: return t.accent; default: return 0; diff --git a/src/ui/editors/channel_editor.cpp b/src/ui/editors/channel_editor.cpp index 3d17b768..c8be7aa4 100644 --- a/src/ui/editors/channel_editor.cpp +++ b/src/ui/editors/channel_editor.cpp @@ -3,11 +3,14 @@ #include "openosc/acquisition/probe_attenuation.hpp" #include "openosc/ui/scope/format.hpp" #include "openosc/settings/color_value.hpp" +#include "openosc/measurement/meter_function.hpp" +#include "openosc/ui/scope/trace_move.hpp" #include #include namespace openosc::ui { PropertyKind ChannelEditor::kind(unsigned row) const { + if (meter()) return row == Enabled ? PropertyKind::Toggle : PropertyKind::Choice; switch (row) { case Enabled: case Invert: return PropertyKind::Toggle; case Zero: return PropertyKind::Number; @@ -17,11 +20,13 @@ PropertyKind ChannelEditor::kind(unsigned row) const { TextId ChannelEditor::nameId(unsigned row) const { static constexpr TextId names[] = {TextId::Channel, TextId::Enabled, TextId::Coupling, TextId::Probe, TextId::ScalePerDivision, TextId::AnalogZero, TextId::Invert, TextId::TraceBrightness, TextId::Density, TextId::DensityColor}; - return row < Fields ? names[row] : TextId::Count; + return meter() && row == Function ? TextId::ChannelDmmFunction : row < Fields ? names[row] : TextId::Count; } unsigned ChannelEditor::options(unsigned row) const { + if (meter()) return row == Channel ? 3 : row == Enabled ? 2 : row == Function ? MeterFunctionCount : 0; switch (row) { - case Channel: case Coupling: case Enabled: case Invert: return 2; + case Channel: return 3; // CH1, CH2, DMM. + case Coupling: case Enabled: case Invert: return 2; case Probe: return scope::ProbeAttenuation::Count; case Scale: return scope::VoltageRanges::Count; case TraceBrightness: return plot::Brightness::choices(plot::Brightness::LowestTrace); @@ -32,9 +37,10 @@ unsigned ChannelEditor::options(unsigned row) const { } unsigned ChannelEditor::option(unsigned row) const { const auto &f = request_.frontend; + if (meter()) return row == Channel ? Meter : row == Enabled ? plot_.meter.shown : row == Function ? meterFunction_ : 0; switch (row) { case Channel: return channel_; - case Enabled: return f.enabled[channel_]; + case Enabled: return plot::ChannelDisplay::shown(request_, plot_, channel_); case Coupling: return unsigned(f.coupling[channel_]); case Probe: // A ratio outside the list (an older setting) is none of the options until one is chosen. for (unsigned i = 0; i < scope::ProbeAttenuation::Count; ++i) @@ -52,8 +58,12 @@ unsigned ChannelEditor::option(unsigned row) const { } } void ChannelEditor::optionName(unsigned row, unsigned index, char *output, size_t capacity) const { + if (meter() && row == Function) { + i18n::copy(output, capacity, index < MeterFunctionCount ? MeterFunctions[index].name : TextId::Count); + return; + } switch (row) { - case Channel: std::snprintf(output, capacity, "%s", view_.inputLabel(index)); break; + case Channel: if (index == Meter) std::snprintf(output, capacity, "DMM"); else std::snprintf(output, capacity, "%s", view_.inputLabel(index)); break; case Coupling: std::snprintf(output, capacity, "%s", index ? "AC" : "DC"); break; case Probe: std::snprintf(output, capacity, "%lu:1", (unsigned long)scope::ProbeAttenuation::Values[index % scope::ProbeAttenuation::Count]); break; case Scale: @@ -84,12 +94,15 @@ bool ChannelEditor::optionSwatch(unsigned row, unsigned option, uint32_t &rgb) c } void ChannelEditor::value(unsigned row, char *output, size_t capacity) const { const auto &f = request_.frontend; + if (meter()) { PropertyList::value(row, output, capacity); return; } switch (row) { case Enabled: { - // Shows where the record memory goes: this channel's points, or what the other one gets. + // Shows where the record memory goes: this channel's points, or what the other one gets; a + // channel off but captured (the time axis of the DMM trace alone) is hidden. char points[16]; plot::Format::points(request_.depth(), points, sizeof points); - if (f.enabled[channel_]) i18n::format(output, capacity, points); + if (plot::ChannelDisplay::shown(request_, plot_, channel_)) i18n::format(output, capacity, points); + else if (f.enabled[channel_]) i18n::copy(output, capacity, TextId::ChannelOffHidden); else i18n::format(output, capacity, i18n::Integer(long(view_.number(channel_ ^ 1))), points); break; } @@ -102,6 +115,12 @@ void ChannelEditor::value(unsigned row, char *output, size_t capacity) const { bool ChannelEditor::choose(unsigned row, unsigned index) { notice_ = nullptr; if (index >= options(row)) return false; + if (row == Channel) { channel_ = index; return true; } + if (meter()) { + if (row == Function) meterFunction_ = index; + else if (row == Enabled && bool(index) != plot_.meter.shown) adjust(row, 1); + return true; + } if (row == Probe) { request_.probeNumerator[channel_] = scope::ProbeAttenuation::Values[index]; request_.probeDenominator[channel_] = 1; @@ -120,13 +139,18 @@ void ChannelEditor::adjust(unsigned row, int direction) { notice_ = nullptr; if (!direction) return; auto &frontend = request_.frontend; - const unsigned other = channel_ ^ 1; + if (row == Channel) { channel_ = (channel_ + 3 + (direction > 0 ? 1 : -1)) % 3; return; } + if (meter()) { + if (row == Enabled) plot::ChannelDisplay::meter(plot_, !plot_.meter.shown); + else if (row == Function) meterFunction_ = (meterFunction_ + (direction > 0 ? 1 : MeterFunctionCount - 1)) % MeterFunctionCount; + return; + } + const bool shown = plot::ChannelDisplay::shown(request_, plot_, channel_); switch (row) { - case Channel: channel_ ^= 1; break; case Enabled: // The record memory stays the same total: switching a channel redistributes it. - if (frontend.enabled[channel_] && plot_.mode == plot::Mode::XY && frontend.enabled[other]) { notice_ = tr(TextId::XyNeedsBoth); break; } - if (!request_.setChannel(channel_, !frontend.enabled[channel_])) notice_ = tr(view_.slot(channel_) ? TextId::Ch2LastOn : TextId::Ch1LastOn); + if (shown && plot_.mode == plot::Mode::XY && frontend.enabled[channel_ ^ 1]) { notice_ = tr(TextId::XyNeedsBoth); break; } + if (!plot::ChannelDisplay::show(request_, plot_, channel_, !shown)) notice_ = tr(view_.slot(channel_) ? TextId::Ch2LastOn : TextId::Ch1LastOn); break; case Coupling: frontend.coupling[channel_] = scope::Coupling(unsigned(frontend.coupling[channel_]) ^ 1); break; case Zero: frontend.position[channel_] = std::clamp(frontend.position[channel_] + (direction > 0 ? 1 : -1), 0, 160); break; diff --git a/src/ui/scope/column_cache.cpp b/src/ui/scope/column_cache.cpp index fee7744c..cd647e5d 100644 --- a/src/ui/scope/column_cache.cpp +++ b/src/ui/scope/column_cache.cpp @@ -5,7 +5,7 @@ bool ColumnCache::applies(const scope::FrameView &frame, const Options &options, const auto *c = frame.metadata().channels; return (options.mode == Mode::Time || options.mode == Mode::SpectrumOverlay) && options.math == Math::Off && viewport.aggregates() && frame.pairs() && c[0].enabled && c[1].enabled && - options.channels[0].visible && options.channels[1].visible; + options.drawn(0) && options.drawn(1); } bool ColumnCache::reduce(const scope::FrameView &frame, uint32_t first, uint32_t last, scope::ColumnStats (&out)[2]) { auto reader = frame.pairCursor(first); diff --git a/src/ui/scope/control_properties.cpp b/src/ui/scope/control_properties.cpp index 634c8231..b2031bfa 100644 --- a/src/ui/scope/control_properties.cpp +++ b/src/ui/scope/control_properties.cpp @@ -80,7 +80,8 @@ void Controls::name(unsigned row, char *text, size_t capacity) const { unsigned Controls::choices(unsigned row) const { switch (row) { case Section: return unsigned(Group::Count); - case Channel: case FftSource: case FftScale: case CounterEstimate: case CounterTimed: case MathCoupling: return 2; + case Channel: return meterChannel() ? 3 : 2; + case FftSource: case FftScale: case CounterEstimate: case CounterTimed: case MathCoupling: return 2; case View: case GridStyle: case Average: case FftWindow: return 4; case TraceStyle: case MathTrace: case TraceInterpolation: case SampleReduction: case CounterSource: case CounterAverage: return 3; case CounterDecimals: return 1 + CounterOptions::MaximumDecimals - CounterOptions::MinimumDecimals + 1; // Auto, 2..6. @@ -95,7 +96,7 @@ unsigned Controls::choice(unsigned row) const { const auto &c = o.channels[channel]; switch (row) { case Section: return unsigned(group); - case Channel: return channel; + case Channel: return meterChannel() && o.cursors.channel == CursorOptions::Meter ? CursorOptions::Meter : channel; case View: return unsigned(o.mode); case TraceStyle: return unsigned(o.style); case GridStyle: return unsigned(o.grid); @@ -141,7 +142,10 @@ void Controls::choiceName(unsigned row, unsigned i, char *text, size_t capacity) const auto take = [&](const T *names, unsigned n) { i18n::copy(text, capacity, i < n ? names[i] : T::Count); }; switch (row) { case Section: i18n::copy(text, capacity, groupId(i)); break; - case Channel: case FftSource: std::snprintf(text, capacity, "CH%u", view.number(i)); break; + case Channel: case FftSource: + if (row == Channel && i == CursorOptions::Meter) std::snprintf(text, capacity, "DMM"); + else std::snprintf(text, capacity, "CH%u", view.number(i)); + break; case CounterSource: // Off, then each input by its on-screen number. if (i == 1 || i == 2) std::snprintf(text, capacity, "CH%u", view.number(i - 1)); else i18n::copy(text, capacity, i ? T::Count : T::Off); diff --git a/src/ui/scope/controls.cpp b/src/ui/scope/controls.cpp index b2e674ee..8cdeedb8 100644 --- a/src/ui/scope/controls.cpp +++ b/src/ui/scope/controls.cpp @@ -50,6 +50,11 @@ void Controls::adjust(unsigned row, int direction, bool fine) { group = Group((unsigned(group)+unsigned(Group::Count)+direction)%unsigned(Group::Count)); break; case Channel: + if (meterChannel()) { // CH1, CH2, DMM. + cursor.channel = uint8_t((choice(Channel) + 3 + direction) % 3); + if (cursor.channel < 2) channel = cursor.channel; + break; + } channel ^= 1; cursor.channel = channel; break; diff --git a/src/ui/scope/cursor_drawing.cpp b/src/ui/scope/cursor_drawing.cpp index 3470a970..149c2824 100644 --- a/src/ui/scope/cursor_drawing.cpp +++ b/src/ui/scope/cursor_drawing.cpp @@ -1,6 +1,7 @@ #include "openosc/ui/components/elements.hpp" #include "openosc/ui/scope/format.hpp" #include "openosc/ui/scope/painter.hpp" +#include "openosc/measurement/dmm/reading_trace.hpp" #include #include @@ -44,7 +45,21 @@ void Painter::cursors() { } readoutText(textBuffer, palette_.cursor); } - if (c.voltage && (readout.codesValid || readout.decibelsValid)) { + // The DMM trace's level cursors (Y-T, Y-T+FFT): their difference in its divisions times its units/div. + if (c.voltage && c.channel == CursorOptions::Meter && !spectrum && model_.options().meter.shown) { + const auto color = palette_.meter; + const int a = cursorPixel(c.yA, h), b = cursorPixel(c.yB, h); + cursorLine(CursorLine::LevelA, "a", 0, a, w, a, w - 14, std::min(a + 1, h - 14), color); + cursorLine(CursorLine::LevelB, "b", 0, b, w, b, w - 14, std::min(b + 1, h - 14), color); + const auto quantity = meter_ ? meter_->quantity() : Quantity::Unknown; + const unsigned index = MeterScale::scaled(quantity) ? MeterScale::index(quantity) : 0; + if (!MeterScale::scaled(quantity) || + !Format::quantity(double(a - b) / meterDivision() * MeterScale::perDivision(model_.options().meter.scales[index]), + MeterScale::Spans[index].unit, values[0], sizeof values[0])) + std::snprintf(values[0], sizeof values[0], "--"); + std::snprintf(textBuffer, sizeof textBuffer, "dDMM %s", values[0]); + readoutText(textBuffer, color); + } else if (c.voltage && (readout.codesValid || readout.decibelsValid)) { const auto color = palette_.channel(spectrum ? model_.options().spectrum.channel : c.channel); const int a = cursorPixel(c.yA, h), b = cursorPixel(c.yB, h); // FFT: the tags keep clear of the top line, the see-through scale ends and each other. The diff --git a/src/ui/scope/cursors.cpp b/src/ui/scope/cursors.cpp index 01a702e0..6c0f49e5 100644 --- a/src/ui/scope/cursors.cpp +++ b/src/ui/scope/cursors.cpp @@ -36,8 +36,9 @@ CursorReadout Model::cursors() const { out.reciprocalValid = std::isfinite(out.reciprocalHz); } } + if (cursor.channel == CursorOptions::Meter) return out; // The DMM trace's levels: Painter::cursors. const auto &channel = metadata_.channels[cursor.channel]; - if (cursor.voltage && channel.enabled && options_.channels[cursor.channel].visible && + if (cursor.voltage && channel.enabled && options_.drawn(cursor.channel) && axes_[cursor.channel].factor) { const auto &axis = axes_[cursor.channel]; out.deltaCodes = axis.code(cursorPixel(cursor.yB, viewport_.height - 1)) - diff --git a/src/ui/scope/density_drawing.cpp b/src/ui/scope/density_drawing.cpp index 97d02b80..2fcc5980 100644 --- a/src/ui/scope/density_drawing.cpp +++ b/src/ui/scope/density_drawing.cpp @@ -154,7 +154,7 @@ bool Painter::densityShown(unsigned c) const { if (c >= 2 || layer_->color_format != LV_COLOR_FORMAT_RGB565) return false; const auto &o = model_.options().channels[c]; const auto &plane = model_.storage().persistence; - return o.visible && o.opacity && plane.graded(c) && plane.hasPixels(c); + return model_.options().drawn(c) && o.opacity && plane.graded(c) && plane.hasPixels(c); } void Painter::density(unsigned c) { const auto &o = model_.options().channels[c]; diff --git a/src/ui/scope/format.cpp b/src/ui/scope/format.cpp index 2ecd62b3..28732691 100644 --- a/src/ui/scope/format.cpp +++ b/src/ui/scope/format.cpp @@ -12,20 +12,33 @@ bool Format::quantity(double value, const char *unit, char *output, size_t capac constexpr double powers[] = {1e-12, 1e-9, 1e-6, 1e-3, 1, 1e3, 1e6, 1e9}; constexpr const char *prefixes[] = {"p", "n", "u", "m", "", "k", "M", "G"}; double magnitude = std::abs(value); + // Seconds from a minute on in minutes, from an hour on in hours ("1min", "1.5h"), never "3.6ks". The + // unit is chosen by the value as rounded in it to the digits shown (a measured 59.9997 s/div is + // "1min", not "60s"); the value itself is printed unrounded, rounded once. + if (!std::strcmp(unit, "s") && magnitude > 0) { + const auto rounded = [&](double x) { + const double step = std::pow(10.0, std::floor(std::log10(x)) + 1 - double(precision)); + return std::floor(x / step + .5) * step; + }; + if (rounded(magnitude / 3600) >= 1) { if (used) *used = 4; return quantity(value / 3600, "h", output, capacity, precision, coarse); } + if (rounded(magnitude / 60) >= 1) { if (used) *used = 4; return quantity(value / 60, "min", output, capacity, precision, coarse); } + } unsigned index = 4; if (magnitude > 0) { index = 0; while (index < 7 && magnitude >= powers[index + 1]) ++index; } - if (!std::strcmp(unit,"%")) index = 4; + // Percent, degrees Celsius, minutes and hours take no prefix ("100m°C" reads as nonsense). + const bool plain = !std::strcmp(unit, "%") || !std::strcmp(unit, "°C") || !std::strcmp(unit, "min") || !std::strcmp(unit, "h"); + if (plain) index = 4; double scaled = magnitude / powers[index]; - if (index < 7 && std::strcmp(unit, "%")) { // 999.97n rounds to 1000n: that is 1u. + if (index < 7 && !plain) { // 999.97n rounds to 1000n: that is 1u. const unsigned whole = scaled >= 100 ? 3 : scaled >= 10 ? 2 : 1; const double step = std::pow(10.0, double(whole) - double(precision)); if (std::floor(scaled / step + .5) * step >= 1000) { ++index; scaled = magnitude / powers[index]; } } - if (!coarse && magnitude > 0 && prefer >= 0 && prefer < 8 && std::strcmp(unit, "%") && + if (!coarse && magnitude > 0 && prefer >= 0 && prefer < 8 && !plain && ((prefer == int(index) - 1 && magnitude / powers[prefer] < 1050) || (prefer == int(index) + 1 && magnitude / powers[prefer] >= .95))) { index = unsigned(prefer); scaled = magnitude / powers[index]; } @@ -40,7 +53,7 @@ bool Format::quantity(double value, const char *unit, char *output, size_t capac const int n = std::snprintf(output, capacity, "%s%s%%", value < 0 && number[0] != '-' && units ? "-" : "", number); return n > 0 && size_t(n) < capacity; } - if (coarse && index < 7 && std::strcmp(unit, "%")) { // Three integer digits once rounded: 99.9m at 2 digits is 100m. + if (coarse && index < 7 && !plain) { // Three integer digits once rounded: 99.9m at 2 digits is 100m. const unsigned digits = scaled >= 100 ? 3 : scaled >= 10 ? 2 : 1; const double step = std::pow(10.0, -double(precision > digits ? precision - digits : 0)); if (std::floor(scaled / step + .5) * step >= 100) { ++index; scaled = magnitude / powers[index]; } diff --git a/src/ui/scope/glow.cpp b/src/ui/scope/glow.cpp index 0ffd0b0b..37aadbde 100644 --- a/src/ui/scope/glow.cpp +++ b/src/ui/scope/glow.cpp @@ -4,6 +4,7 @@ #include "src/draw/lv_draw_private.h" #include "src/draw/sw/blend/lv_draw_sw_blend_private.h" #include +#include #if defined(__ARM_FEATURE_DSP) #include #endif @@ -15,22 +16,22 @@ constexpr unsigned RowWords = (MaximumWidth + 31) / 32; constexpr unsigned RingRows = 8, BandRows = 4; static_assert(RingRows > Radius && !(RingRows & (RingRows - 1))); // Only the synchronous software draw callback uses this workspace. It is -// cleared per channel and never referenced by a queued task or DMA2D. +// cleared per channel and never referenced by a queued task or DMA2D. It +// lies in the spectrum's FFT work bytes (SpectrumStorage::work). static_assert(LV_USE_OS == LV_OS_NONE); struct GlowScratch { uint32_t silhouette[MaximumHeight][RowWords]; uint32_t rings[Radius][RingRows][RowWords]; uint8_t band[BandRows * MaximumWidth]; }; -#if defined(OPENOSC_APPLICATION) -__attribute__((section(".scope_glow"), aligned(8))) -#endif -GlowScratch scratch; +static_assert(sizeof(GlowScratch) <= sizeof(scope::SpectrumStorage::work), "Glow scratch exceeds the FFT work area"); +static_assert(alignof(GlowScratch) <= alignof(scope::SpectrumStorage::Work), "FFT work area under-aligned for Glow"); class Silhouette { public: - Silhouette(int width, int height) : right_(width - 1), bottom_(height - 1), bounds_{width, height, -1, -1} { - std::memset(scratch.silhouette, 0, height * sizeof(scratch.silhouette[0])); + Silhouette(GlowScratch &scratch, int width, int height) + : scratch_(scratch), right_(width - 1), bottom_(height - 1), bounds_{width, height, -1, -1} { + std::memset(scratch_.silhouette, 0, height * sizeof(scratch_.silhouette[0])); } void segment(int x1, int y1, int x2, int y2) { @@ -43,15 +44,16 @@ class Silhouette { bounds_.x2 = std::max({bounds_.x2, x1, x2}); bounds_.y1 = std::min({bounds_.y1, y1, y2}); bounds_.y2 = std::max({bounds_.y2, y1, y2}); - rasterLine(x1, y1, x2, y2, [](unsigned x, unsigned y) { - scratch.silhouette[y][x / 32] |= 1U << (x % 32); + rasterLine(x1, y1, x2, y2, [this](unsigned x, unsigned y) { + scratch_.silhouette[y][x / 32] |= 1U << (x % 32); }); } - const uint32_t *row(int y) const { return y >= 0 && y <= bottom_ ? scratch.silhouette[y] : empty_; } + const uint32_t *row(int y) const { return y >= 0 && y <= bottom_ ? scratch_.silhouette[y] : empty_; } const lv_area_t &bounds() const { return bounds_; } private: + GlowScratch &scratch_; int right_, bottom_; lv_area_t bounds_; static constexpr uint32_t empty_[RowWords]{}; @@ -76,8 +78,8 @@ class GlowPath { // approximate circles. Only the rows needed by the next stage are retained. class Halo { public: - Halo(unsigned words, unsigned opacity) : words_(words) { - std::memset(scratch.rings, 0, sizeof(scratch.rings)); + Halo(GlowScratch &scratch, unsigned words, unsigned opacity) : scratch_(scratch), words_(words) { + std::memset(scratch_.rings, 0, sizeof(scratch_.rings)); constexpr uint8_t falloff[Radius] = {94, 78, 58, 39, 23, 11}; for (unsigned i = 0; i < Radius; ++i) alpha_[i] = uint8_t((falloff[i] * opacity + 127) / 255); @@ -144,7 +146,7 @@ class Halo { } } - uint32_t *row(unsigned r, int y) { return scratch.rings[r][unsigned(y) % RingRows]; } + uint32_t *row(unsigned r, int y) { return scratch_.rings[r][unsigned(y) % RingRows]; } template void grow(uint32_t *out, const uint32_t *top, const uint32_t *center, const uint32_t *bottom) const { @@ -160,6 +162,7 @@ class Halo { } } + GlowScratch &scratch_; unsigned words_; uint8_t alpha_[Radius]; }; @@ -176,7 +179,8 @@ struct GlowTask { const auto &options = model.options(); const auto &view = model.viewport(); const auto &plot = task->area; - Silhouette shape(view.width, view.height); + auto &scratch = *new (model.drawScratch()) GlowScratch; + Silhouette shape(scratch, view.width, view.height); GlowPath main(shape), extrema(shape); if (options.mode == Mode::XY) xyGeometry(model.storage().xy, model.xyCount(), options.style, main); @@ -190,7 +194,7 @@ struct GlowTask { const int bottom = std::min({ink.y2 + Radius, task->clip_area.y2 - plot.y1, int(view.height) - 1}); if (left > right || top > bottom) return; - Halo halo((view.width + 31) / 32, options.channels[self.channel].opacity); + Halo halo(scratch, (view.width + 31) / 32, options.channels[self.channel].opacity); auto *rows = scratch.band; const int stride = right - left + 1; int bandStart = top; diff --git a/src/ui/scope/markers.cpp b/src/ui/scope/markers.cpp index 9624ffa9..7df2537d 100644 --- a/src/ui/scope/markers.cpp +++ b/src/ui/scope/markers.cpp @@ -1,6 +1,7 @@ #include "openosc/ui/scope/painter.hpp" #include "openosc/ui/scope/tag_digits.hpp" #include +#include namespace openosc::plot { // Position markers sit in the PlotFrame margins (x < 0, x > w, y < 0 in plot coordinates), never @@ -28,22 +29,25 @@ void Painter::markers() { if (traces[c].clippedBottom) text("v", w - 12 - slot * 12, h - 13, color, 12); } - if (o.showZero) { - const int zero[2] = {traces[0].zero, traces[1].zero}; - const bool shown[2] = {traces[0].enabled, traces[1].enabled}; - int centre[2]; + // The DMM trace's line beyond the plot (meterTrace): its marks beside the channels', in its colour. + if (meterAbove_) text("^", w - 36, 0, palette_.meter, 12); + if (meterBelow_) text("v", w - 36, h - 13, palette_.meter, 12); + if (o.showZero) { // CH1, CH2 and the DMM trace (Y-T, Y-T+FFT: X-Y returned above). + const int zero[ZeroTags::Count] = {traces[0].zero, traces[1].zero, int(std::lround(meterZero()))}; + const bool shown[ZeroTags::Count] = {traces[0].enabled, traces[1].enabled, o.meter.shown}; + int centre[ZeroTags::Count]; ZeroTags::place(zero, shown, h + 1, centre); - for (unsigned c = 0; c < 2; ++c) + for (unsigned c = 0; c < ZeroTags::Count; ++c) if (shown[c]) zeroTag(c, zero[c], centre[c], h); if (o.showsMath() && traces[math].enabled) - zeroTag(math, traces[math].zero, ZeroTags::mathCentre(traces[math].zero, h + 1, shown, centre), h); + zeroTag(math, traces[math].zero, ZeroTags::mathCentre(traces[math].zero, h + 1, shown, centre), h, true); } if (o.showsMath() && traces[math].enabled) { if (traces[math].clippedTop) text("^", w - 36, 0, palette_.math, 12); if (traces[math].clippedBottom) text("v", w - 36, h - 13, palette_.math, 12); } const unsigned source = unsigned(model_.triggerChannel()); - if (model_.metadata().rolling || !o.showTrigger || !model_.metadata().channels[source].enabled || !o.channels[source].visible) + if (model_.metadata().rolling || !o.showTrigger || !model_.metadata().channels[source].enabled || !o.drawn(source)) return; const auto color = palette_.triggerColor(source); // The Trigger role, else the source channel's colour. // Trigger level: right margin, pointing at the plot edge. @@ -84,12 +88,11 @@ void Painter::limitBadge(int y, int limit, int h, uint32_t color) { fill({x, y0 + 3, x, y0 + 6}, ink); // The stroke and the dot of "!". fill({x, y0 + 8, x, y0 + 8}, ink); } -// The channel's zero: a box with its digit in the left margin at `centre` and a tip to the plot -// edge at the zero itself (or, for a zero above or below the plot, an arrow that way). -void Painter::zeroTag(unsigned c, int zero, int centre, int h) { - const bool math = c == MathView::TraceIndex; +// The channel's zero (c 2: the DMM trace's): a box with its digit in the left margin at `centre` and +// a tip to the plot edge at the zero itself (or, for a zero above or below the plot, an arrow that way). +void Painter::zeroTag(unsigned c, int zero, int centre, int h, bool math) { const auto color = math ? palette_.math : palette_.channel(c); - const unsigned digit = palette_.view.slot(c); // The on-screen number, as its colour. + const unsigned digit = palette_.view.slot(c); // The on-screen number, as its colour (the DMM trace's "M" stays). const int left = -PlotFrame::Left, half = PlotFrame::TagHeight / 2, tip = left + PlotFrame::TagWidth; fill({area_.x1 + left, area_.y1 + centre - half, area_.x1 + tip - 1, area_.y1 + centre + half}, color); // The digit: TagDigits' raster, centred (two tag pixels on each side), one fill per run. diff --git a/src/ui/scope/meter_readouts.cpp b/src/ui/scope/meter_readouts.cpp new file mode 100644 index 00000000..0a8189db --- /dev/null +++ b/src/ui/scope/meter_readouts.cpp @@ -0,0 +1,67 @@ +#include "openosc/ui/scope/meter_readouts.hpp" +#include "openosc/measurement/dmm/reading_trace.hpp" +#include +#include +#include + +namespace openosc::plot { +bool MeterReadouts::value(scope::Measurement kind, double &output) const { + using M = scope::Measurement; + if (!valid || !offers(kind)) return false; + switch (kind) { + case M::Mean: output = mean; return true; + case M::Minimum: output = minimum; return true; + case M::Maximum: output = maximum; return true; + case M::PeakToPeak: output = maximum - minimum; return true; + case M::Rms: output = rms; return true; + default: return false; + } +} +void MeterReadouts::calculate(const dmm::ReadingTrace &readings, const Model &model) { + valid = false; + perDivision = 0; + unit = ""; + const auto quantity = readings.quantity(); + if (!MeterScale::scaled(quantity)) return; + const unsigned index = MeterScale::index(quantity); + perDivision = MeterScale::perDivision(model.options().meter.scales[index]); + unit = MeterScale::Spans[index].unit; + if (!model.hasFrame()) return; + const MeterAxis axis(model.metadata()); + const auto &view = model.viewport(); + if (!axis.valid() || !view.spanQ16) return; + // The window in record points, cut at the record's first and last points (Painter::meterTrace's line + // spans the record: a reading before it holds its level from the record's start). + const double start = double(view.startQ16) / 65536; + const double first = std::max(start, 0.0), last = std::min(start + double(view.spanQ16) / 65536, axis.last); + if (last < first) return; + double sum = 0, squares = 0; + unsigned count = 0; + float before = NAN; // The reading in force at the window's start. + const auto take = [&](double value) { + minimum = count ? std::min(minimum, value) : value; + maximum = count ? std::max(maximum, value) : value; + sum += value; + squares += value * value; + ++count; + }; + for (size_t i = 0; i < readings.size(); ++i) { + const auto reading = readings[i]; + const double point = axis.point(reading.ms); + if (point > last) break; + if (point < first) before = reading.value; + else if (std::isfinite(reading.value)) take(reading.value); + else before = NAN; // A gap in the window: no level is held across it. + } + if (!count && std::isfinite(before)) take(before); + if (!count) return; + valid = true; + mean = sum / count; + rms = std::sqrt(squares / count); +} +bool MeterReadouts::operator==(const MeterReadouts &o) const { + return shown == o.shown && valid == o.valid && rmsOffered == o.rmsOffered && mean == o.mean && minimum == o.minimum && + maximum == o.maximum && rms == o.rms && perDivision == o.perDivision && !std::strcmp(unit, o.unit) && + !std::strcmp(function, o.function); +} +} // namespace openosc::plot diff --git a/src/ui/scope/meter_scale.cpp b/src/ui/scope/meter_scale.cpp new file mode 100644 index 00000000..cbb5db0b --- /dev/null +++ b/src/ui/scope/meter_scale.cpp @@ -0,0 +1,32 @@ +#include "openosc/ui/scope/meter_scale.hpp" +#include + +namespace openosc::plot { +double MeterScale::perDivision(int step) { + static constexpr double mantissas[] = {1, 2, 5}; + const int decade = step >= 0 ? step / 3 : -((2 - step) / 3); + return mantissas[step - decade * 3] * std::pow(10.0, decade); +} +bool MeterScale::step(unsigned index, double value, int8_t &output) { + if (index >= Quantities || !std::isfinite(value) || value <= 0) return false; + for (int step = Spans[index].lowest; step <= Spans[index].highest; ++step) + if (std::fabs(perDivision(step) - value) <= value * 1e-6) { + output = int8_t(step); + return true; + } + return false; +} +bool MeterScale::fit(unsigned index, double minimum, double maximum, double zero, int divisions, int8_t &output) { + if (index >= Quantities) return false; + output = Spans[index].highest; + if (!std::isfinite(minimum) || !std::isfinite(maximum) || minimum > maximum) return false; + for (int step = Spans[index].lowest; step <= Spans[index].highest; ++step) { + const double unit = perDivision(step), half = divisions / 2.0; + if (maximum / unit + zero <= half && minimum / unit + zero >= -half) { + output = int8_t(step); + return true; + } + } + return false; +} +} // namespace openosc::plot diff --git a/src/ui/scope/options.cpp b/src/ui/scope/options.cpp index 08604d28..533f8e07 100644 --- a/src/ui/scope/options.cpp +++ b/src/ui/scope/options.cpp @@ -6,8 +6,15 @@ #include namespace openosc::plot { +bool MeterTraceOptions::valid() const { + if (position < -PositionLimit || position > PositionLimit || (axis != NoAxis && (axis > 1 || !shown))) return false; + for (unsigned i = 0; i < MeterScale::Quantities; ++i) + if (!MeterScale::valid(i, scales[i])) return false; + return true; +} bool Options::valid() const { if (unsigned(mode) > 3 || unsigned(style) > 2 || unsigned(grid) > 3 || unsigned(math) > 2 || !spectrum.valid() || !counter.valid() || + !meter.valid() || unsigned(reduction)>2 || unsigned(interpolation)>2 || !zoom || !zoomOut || zoom > MaximumZoom || panPpb < -PanFull || panPpb > PanFull || (persistenceMs > 10000 && persistenceMs!=InfinitePersistence) || @@ -23,7 +30,7 @@ bool Options::valid() const { c.brightness < Brightness::LowestTrace || c.brightness > Brightness::Full) return false; const auto &c = cursors; - return c.xA <= 1000 && c.xB <= 1000 && c.yA <= 1000 && c.yB <= 1000 && c.channel < 2 && + return c.xA <= 1000 && c.xB <= 1000 && c.yA <= 1000 && c.yB <= 1000 && c.channel <= CursorOptions::Meter && mathView.positionPermille >= -1000 && mathView.positionPermille <= 2000 && mathView.gainPercent >= MathView::MinimumGain && mathView.gainPercent <= MathView::MaximumGain && mathView.scaleStep <= MathScale::Count; @@ -43,6 +50,7 @@ void Options::restoreHeldView(const Options &saved) { bool Options::sameTransform(const Options &b) const { if (mode != b.mode || zoom != b.zoom || zoomOut != b.zoomOut || panPpb != b.panPpb || heldTimebaseNs != b.heldTimebaseNs || lockTrigger != b.lockTrigger || centerHeldTrigger != b.centerHeldTrigger || usesSquareGrid() != b.usesSquareGrid() || + meter.axis != b.meter.axis || averaging != b.averaging || math != b.math || !(mathView == b.mathView) || reduction != b.reduction || interpolation != b.interpolation || !spectrum.same(b.spectrum)) return false; diff --git a/src/ui/scope/persistence_drawing.cpp b/src/ui/scope/persistence_drawing.cpp index 900441f7..e8792432 100644 --- a/src/ui/scope/persistence_drawing.cpp +++ b/src/ui/scope/persistence_drawing.cpp @@ -51,7 +51,7 @@ void Painter::persistence() { const unsigned firstWord=left/wordPixels, endWord=(right+wordPixels-1)/wordPixels; for (unsigned c : model_.traceOrder()) { if (o.mode==Mode::XY && c!=0) continue; - if (c<2 && (!o.channels[c].visible || bitmap.graded(c))) continue; // A density plane: Painter::density. + if (c<2 && (!o.drawn(c) || bitmap.graded(c))) continue; // A density plane: Painter::density. if (c==2 && (o.math==Math::Off || !infinite)) continue; const auto color=c<2 ? traceColor(c) : palette_.math; const unsigned opacity=c<2 ? o.channels[c].opacity : 255; diff --git a/src/ui/scope/scales.cpp b/src/ui/scope/scales.cpp index 8986aa42..c187929f 100644 --- a/src/ui/scope/scales.cpp +++ b/src/ui/scope/scales.cpp @@ -12,7 +12,7 @@ void Painter::scales() { return; char value[32], label[48]; for (unsigned c = 0; c < 2; ++c) - if (m.channels[c].enabled && o.channels[c].visible) { + if (m.channels[c].enabled && o.drawn(c)) { const auto scale = DisplayScale::channel(m.channels[c], o.channels[c]); if (Format::quantity(scale.perDivision, scale.unit, value, sizeof value)) { const unsigned slot = palette_.view.slot(c); // The on-screen CH1 left, CH2 beside it. diff --git a/src/ui/scope/source.cpp b/src/ui/scope/source.cpp index fd992e30..7c6a5722 100644 --- a/src/ui/scope/source.cpp +++ b/src/ui/scope/source.cpp @@ -19,7 +19,7 @@ Source::Source(const scope::FrameView &frame, const Options &options, Statistics split_ = frame.split(); const auto *c = frame.metadata().channels; for (unsigned i = 0; i < 2; ++i) - enabled_[i] = read_[i] = c[i].enabled && options.channels[i].visible; + enabled_[i] = read_[i] = c[i].enabled && options.drawn(i); bool compatible = c[0].enabled && c[1].enabled && c[0].calibrated == c[1].calibrated; if (compatible && c[0].calibrated) { const double ratio = c[1].voltsPerCode * c[1].probeNumerator * c[0].probeDenominator / diff --git a/src/ui/scope/spectrum.cpp b/src/ui/scope/spectrum.cpp index bad603c0..0a3b9675 100644 --- a/src/ui/scope/spectrum.cpp +++ b/src/ui/scope/spectrum.cpp @@ -8,6 +8,9 @@ bool Model::projectSpectrum(const scope::FrameView &frame, bool recalculate) { auto &trace = storage_.fft; trace.enabled = false; auto &s=spectrum_; + // Of the DMM trace's hidden time axis (MeterTraceOptions::axis) none: no trace, labels, cursors or + // readouts; calculated again once it is shown. + if (options_.meter.axis == options_.spectrum.channel) { s.result = {}; spectrumDirty_ = true; return true; } if (recalculate) { spectrumDirty_ = false; ++statistics_.fftCalculations; diff --git a/src/ui/scope/spectrum_drawing.cpp b/src/ui/scope/spectrum_drawing.cpp index 23fc1f2c..b50944ab 100644 --- a/src/ui/scope/spectrum_drawing.cpp +++ b/src/ui/scope/spectrum_drawing.cpp @@ -12,6 +12,7 @@ void Painter::spectrum() { const auto &result=model_.spectrum(); const auto &options=model_.options().spectrum; const int width=model_.viewport().width,height=model_.viewport().height; + if (model_.options().meter.axis == options.channel) return; // The DMM trace's hidden time axis: nothing of it. if (!result.valid) { const auto policy=ui::TextPolicy::faces(ui::Elements::font(12),ui::Elements::font(11)); const auto message=ui::TextFit::choose(ui::TextCandidates::of(TextId::PlotFftUnavailable),policy,width-8,LabelBox::Height); diff --git a/src/ui/scope/trace_move.cpp b/src/ui/scope/trace_move.cpp index 96c5d8bb..a4954131 100644 --- a/src/ui/scope/trace_move.cpp +++ b/src/ui/scope/trace_move.cpp @@ -96,4 +96,24 @@ void XyMode::enter(ScopeRequest &request, Options &options) { void XyMode::constrain(const Options &options, ScopeRequest &request) { if (options.mode == Mode::XY) request.timebaseNs = std::min(request.timebaseNs, MaximumTimebaseNs); } +bool ChannelDisplay::show(ScopeRequest &request, Options &options, unsigned channel, bool on) { + if (channel > 1) return false; + const unsigned other = channel ^ 1; + auto &axis = options.meter.axis; + if (on) { // The hidden time axis gives way: shown again if it is this channel, else off. + if (!request.setChannel(channel, true)) return false; + if (axis == other && request.setChannel(other, false)) axis = MeterTraceOptions::NoAxis; + if (axis == channel) axis = MeterTraceOptions::NoAxis; + return true; + } + if (!shown(request, options, other) && !options.meter.shown) return false; // The last channel shown stays on. + if (request.frontend.enabled[other]) request.setChannel(channel, false); + else axis = uint8_t(channel); + if (!shown(request, options, 0) && !shown(request, options, 1)) request.trigger.mode = scope::TriggerMode::Auto; + return true; +} +void ChannelDisplay::meter(Options &options, bool on) { + options.meter.shown = on; + if (!on) options.meter.axis = MeterTraceOptions::NoAxis; // Its time axis is shown again. +} } // namespace openosc::plot diff --git a/src/ui/scope/traces.cpp b/src/ui/scope/traces.cpp index ea6fcacc..166cf4db 100644 --- a/src/ui/scope/traces.cpp +++ b/src/ui/scope/traces.cpp @@ -1,6 +1,10 @@ #include "openosc/ui/scope/painter.hpp" #include "openosc/i18n/text.hpp" +#include "openosc/measurement/dmm/reading_trace.hpp" +#include "openosc/ui/scope/meter_readouts.hpp" #include "trace_geometry.hpp" +#include +#include namespace openosc::plot { void Painter::trace(const Trace &trace, uint32_t color, uint8_t opacity, unsigned width, Style style, @@ -52,6 +56,7 @@ void Painter::traces() { if (densityShown(c)) density(c); else trace(s.traces[c], color, channel.opacity, channel.width, o.style); } + meterTrace(); if (o.showsMath() && !s.traces[MathView::TraceIndex].enabled) text(tr(TextId::PlotMathUnavailable), 8, 3 + counterHeight_, palette_.math, 120); if (model_.hasReference()) @@ -59,4 +64,59 @@ void Painter::traces() { if (o.averaging > 1) text("AVG", 8, model_.viewport().height - 14, palette_.readout, 30); } +// The DMM trace (Y-T, Y-T+FFT) at every timebase: each reading at its time on the record's axis +// (MeterAxis), joined to the next; a reading without a value breaks the line, the one before the +// window enters it at the left edge. The line spans the record only, as its channels do: from its +// first point (Roll's start of record) a reading before it shows as its level alone, held up to the +// next reading and never joined to it; to its last point the newest reading by then is held level: a +// window shorter than the readings' interval shows the value of its time as a level. Readings after +// the record are not of it (they came while it was shown). +void Painter::meterTrace() { + const auto *readings = meter_; + const auto &o = model_.options(); + const auto &view = model_.viewport(); + const MeterAxis axis(model_.metadata()); + if (!readings || !o.meter.shown || !MeterScale::scaled(readings->quantity()) || !axis.valid() || !view.spanQ16 || + view.width < 2 || view.height < 2) + return; + const double perDivision = MeterScale::perDivision(o.meter.scales[MeterScale::index(readings->quantity())]); + const double division = meterDivision(), zero = meterZero(); + const double start = double(view.startQ16) / 65536, columns = double(view.width - 1) * 65536 / double(view.spanQ16); + const auto pixel = [](double v) { return int(std::lround(std::clamp(v, -4096.0, 4096.0))); }; + Path path(layer_, area_, palette_.meter, 255, 1, model_.statistics()); + const double left = std::max(0.0, -start * columns); // The record's first point, or the window's edge. + // The line above or below the plot within the window: the edge marks (markers), as a channel's. + const double right = double(view.width - 1), bottom = double(view.height - 1); + bool run = false; // A vertex since the last gap, at (px, py). + double px = 0, py = 0; + const auto mark = [&](double y) { meterAbove_ = meterAbove_ || y < 0; meterBelow_ = meterBelow_ || y > bottom; }; + const auto vertex = [&](double x, double y) { + if (x <= right) mark(y); + else if (run && px <= right) mark(py + (y - py) * (right - px) / (x - px)); // Where it leaves the window. + path.vertex(pixel(x), pixel(y)); + run = true; px = x; py = y; + }; + double x0 = 0, y0 = 0; + bool line = false; // The last reading taken has a value: the line goes on from (x0, y0). + bool before = false; // That reading is before the record: its level only, from the record's start. + for (size_t i = 0; i < readings->size(); ++i) { + const auto reading = (*readings)[i]; + const double point = axis.point(reading.ms); + if (point > axis.last) break; + if (!std::isfinite(reading.value)) { path.gap(); line = run = false; continue; } + const double x = (point - start) * columns, y = zero - reading.value / perDivision * division; + if (x >= left) { + if (line && x0 < left && before) { // Its level up to this reading, then the step to it. + vertex(left, y0); + vertex(x, y0); + } else if (line && x0 < left) vertex(left, y0 + (y - y0) * (left - x0) / (x - x0)); // Where it crosses the edge. + vertex(x, y); + } + x0 = x; y0 = y; line = true; before = point < 0; + } + const double end = (axis.last - start) * columns; + if (!line || end < left) return; + if (x0 < left) vertex(left, y0); + vertex(end, y0); +} } // namespace openosc::plot diff --git a/src/ui/scope/widget.cpp b/src/ui/scope/widget.cpp index af9c195a..26263de8 100644 --- a/src/ui/scope/widget.cpp +++ b/src/ui/scope/widget.cpp @@ -55,9 +55,9 @@ void WaveformWidget::channelView(const plot::ChannelView &view) { palette_.view = view; if (object_) lv_obj_invalidate(object_); } -void WaveformWidget::roles(uint32_t trigger, uint32_t tagText, uint32_t readout) { - if (palette_.trigger == trigger && palette_.tagText == tagText && palette_.readout == readout) return; - palette_.trigger = trigger; palette_.tagText = tagText; palette_.readout = readout; +void WaveformWidget::roles(uint32_t trigger, uint32_t tagText, uint32_t readout, uint32_t meter) { + if (palette_.trigger == trigger && palette_.tagText == tagText && palette_.readout == readout && palette_.meter == meter) return; + palette_.trigger = trigger; palette_.tagText = tagText; palette_.readout = readout; palette_.meter = meter; if (object_) lv_obj_invalidate(object_); } bool WaveformWidget::configure(const plot::Options &options) { @@ -153,6 +153,11 @@ void WaveformWidget::counter(const char *text, uint32_t color) { // The Math label moves when the counter appears or disappears, including on a held trace. if (wasVisible != bool(*text) && model_.options().math != plot::Math::Off) lv_obj_invalidate(object_); } +void WaveformWidget::meterReadings(const dmm::ReadingTrace *readings) { + if (meter_ == readings) return; + meter_ = readings; + if (object_) lv_obj_invalidate(object_); +} void WaveformWidget::setFrame(const scope::FrameView &frame) { if (!object_) return; @@ -220,7 +225,8 @@ void WaveformWidget::draw(lv_event_t *event) { int counterHeight = 0; if (self.model_.options().math != plot::Math::Off && self.counter_ && !lv_obj_is_hidden(self.counter_)) counterHeight = lv_obj_get_height(self.counter_); - plot::Painter(lv_event_get_layer(event), area, self.model_, self.palette_, self.inlineScales_, self.triggerMark_, counterHeight).draw(); + plot::Painter(lv_event_get_layer(event), area, self.model_, self.palette_, self.inlineScales_, self.triggerMark_, counterHeight, + self.meter_).draw(); } void WaveformWidget::cover(lv_event_t *event) { auto *info = static_cast(lv_event_get_param(event)); diff --git a/src/ui/scope/zero_tags.cpp b/src/ui/scope/zero_tags.cpp index 4ab7eacd..4bbdf174 100644 --- a/src/ui/scope/zero_tags.cpp +++ b/src/ui/scope/zero_tags.cpp @@ -1,33 +1,56 @@ #include "openosc/ui/scope/plot_frame.hpp" #include #include +#include namespace openosc::plot { -void ZeroTags::place(const int (&zero)[2], const bool (&shown)[2], int plotHeight, int (¢re)[2]) { +void ZeroTags::place(const int (&zero)[Count], const bool (&shown)[Count], int plotHeight, int (¢re)[Count]) { const int half = PlotFrame::TagHeight / 2, spacing = PlotFrame::TagHeight + PlotFrame::TagGap; const int top = -PlotFrame::Top + half, bottom = plotHeight - 1 + PlotFrame::Bottom - half; - for (unsigned c = 0; c < 2; ++c) + unsigned order[Count]{}, tags = 0; + for (unsigned c = 0; c < Count; ++c) { centre[c] = zero[c] < 0 ? top + PlotFrame::ArrowHeight : zero[c] >= plotHeight ? bottom - PlotFrame::ArrowHeight : std::clamp(zero[c], top, bottom); - if (!shown[0] || !shown[1] || std::abs(centre[0] - centre[1]) >= spacing) return; - // Upper and lower by level (CH1 above on a tie), a tag apart around their middle, inside the margin. - const unsigned upper = centre[1] < centre[0] ? 1 : 0, lower = upper ^ 1; - // An arrow beyond a tag keeps its room at that end. - const int low = top + (zero[upper] < 0 ? PlotFrame::ArrowHeight : 0); - const int high = bottom - (zero[lower] >= plotHeight ? PlotFrame::ArrowHeight : 0); - int first = (centre[0] + centre[1]) / 2 - spacing / 2; - first = std::clamp(first, low, high - spacing); - centre[upper] = first; centre[lower] = first + spacing; + if (shown[c]) order[tags++] = c; + } + // Upper to lower by level (the lower index above on a tie): an insertion sort, no buffer. + for (unsigned i = 1; i < tags; ++i) + for (unsigned k = i; k && centre[order[k]] < centre[order[k - 1]]; --k) std::swap(order[k], order[k - 1]); + // Each run of tags at most a tag apart with two closer than that: a tag apart around its middle, + // inside the margin; a run that then reaches its neighbour joins it on the next pass. + for (unsigned pass = 0; pass < Count; ++pass) { + bool moved = false; + for (unsigned first = 0, last = 0; first < tags; first = ++last) { + bool close = false; + int sum = centre[order[first]]; + for (; last + 1 < tags && centre[order[last + 1]] - centre[order[last]] <= spacing; ++last) { + close = close || centre[order[last + 1]] - centre[order[last]] < spacing; + sum += centre[order[last + 1]]; + } + if (!close) continue; + const int count = int(last - first + 1); + // An arrow beyond the run's end tag keeps its room at that end. + const int low = top + (zero[order[first]] < 0 ? PlotFrame::ArrowHeight : 0); + const int high = bottom - (zero[order[last]] >= plotHeight ? PlotFrame::ArrowHeight : 0); + const int start = std::clamp(sum / count - (count - 1) * spacing / 2, low, high - (count - 1) * spacing); + for (unsigned k = first; k <= last; ++k) centre[order[k]] = start + int(k - first) * spacing; + moved = true; + } + if (!moved) return; + } } -int ZeroTags::mathCentre(int zero, int plotHeight, const bool (&shown)[2], const int (¢re)[2]) { +int ZeroTags::mathCentre(int zero, int plotHeight, const bool (&shown)[Count], const int (¢re)[Count]) { constexpr int half = PlotFrame::TagHeight / 2, spacing = PlotFrame::TagHeight + PlotFrame::TagGap; const int top = -PlotFrame::Top + half + (zero < 0 ? PlotFrame::ArrowHeight : 0); const int bottom = plotHeight - 1 + PlotFrame::Bottom - half - (zero >= plotHeight ? PlotFrame::ArrowHeight : 0); const int ideal = std::clamp(zero, top, bottom); + // The DMM tag's places only while it is shown: a hidden one repeats ideal, already tried first. + const int meterAbove = shown[2] ? centre[2] - spacing : ideal, meterBelow = shown[2] ? centre[2] + spacing : ideal; int best = ideal, distance = plotHeight + PlotFrame::Top; - for (int y : {ideal, centre[0] - spacing, centre[0] + spacing, centre[1] - spacing, centre[1] + spacing}) { + for (int y : {ideal, centre[0] - spacing, centre[0] + spacing, centre[1] - spacing, centre[1] + spacing, meterAbove, meterBelow}) { if (y < top || y > bottom || std::abs(y - ideal) >= distance) continue; - if ((shown[0] && std::abs(y - centre[0]) < spacing) || (shown[1] && std::abs(y - centre[1]) < spacing)) continue; + if ((shown[0] && std::abs(y - centre[0]) < spacing) || (shown[1] && std::abs(y - centre[1]) < spacing) || + (shown[2] && std::abs(y - centre[2]) < spacing)) continue; best = y; distance = std::abs(y - ideal); } diff --git a/src/ui/screens/scope_screen.cpp b/src/ui/screens/scope_screen.cpp index 38c89c01..fde7e9c4 100644 --- a/src/ui/screens/scope_screen.cpp +++ b/src/ui/screens/scope_screen.cpp @@ -4,6 +4,7 @@ #include "openosc/ui/scope/format.hpp" #include "openosc/ui/scope/display_scale.hpp" #include "openosc/ui/scope/view_zoom.hpp" +#include "openosc/ui/scope/trace_move.hpp" #include "openosc/acquisition/readouts.hpp" #include #include @@ -11,7 +12,8 @@ namespace openosc::ui { void ScopeScreen::activate(const ApplicationState &state) { measurements_=state.scope.measurements.valid() ? state.scope.measurements : scope::ReadoutSelection{}; - host_.scopeFooter().selection(measurements_); + host_.scopeFooter().selection(measurements_, state.scope.meterMeasurements.valid() ? state.scope.meterMeasurements + : scope::MeterReadoutSelection{}); countersValid_=false; readoutsPainted_=false; valid_ = false; status_ = TextId::StatusWaitingForData; @@ -42,6 +44,16 @@ void ScopeScreen::context(unsigned channel, plot::Focus focus, bool panReverse, cards(); if (focus_ == plot::Focus::Zoom) zoomNote(); } +void ScopeScreen::meter(const Meter &meter) { + if (meter.selected == meter_.selected && meter.perDivision == meter_.perDivision && !std::strcmp(meter.unit, meter_.unit) && + !std::strcmp(meter.function, meter_.function)) + return; + meter_ = meter; + cards(); +} +void ScopeScreen::meterReadouts(const plot::MeterReadouts &readouts) { + if (!host_.overlayActive()) host_.scopeFooter().meter(readouts); +} void ScopeScreen::select(unsigned channel) { channel_ = channel < 2 ? channel : 0; host_.waveform().frontChannel(mathSelected_ ? plot::MathView::TraceIndex : channel_); @@ -90,8 +102,11 @@ void ScopeScreen::cards() { const auto &view = host_.channelView(); // Each card names and tints its input by its on-screen slot. char scale[24], time[24], value[64], title[64], details[160]; const bool mathReady = framed && model.storage().traces[plot::MathView::TraceIndex].enabled; - const auto scaleValue = mathSelected_ ? plot::ChannelScale{mathReady ? model.mathPerDivision() : 0, shown.channels[0].calibrated ? "V" : "cnt"} + // The DMM trace selected (F1/F2): its units/div in place of the channel's V/div. + const bool meter = meter_.selected; + auto scaleValue = mathSelected_ ? plot::ChannelScale{mathReady ? model.mathPerDivision() : 0, shown.channels[0].calibrated ? "V" : "cnt"} : plot::DisplayScale::channel(selected, framed ? model.options().channels[channel_] : plot::ChannelOptions{}); + if (meter) scaleValue = {meter_.perDivision, meter_.unit}; if (!mathSelected_ || mathReady) plot::Format::quantity(scaleValue.perDivision, scaleValue.unit, scale, sizeof scale, 3); else std::snprintf(scale, sizeof scale, "--"); const bool spectrum = widget.options().mode == plot::Mode::Spectrum; @@ -100,10 +115,11 @@ void ScopeScreen::cards() { plot::Format::quantity(secondsPerDivision, "s", time, sizeof time, 3); char probe[24], next[64] = ""; plot::DisplayScale::probe(selected, probe, sizeof probe); - if (mathSelected_) { - i18n::format(title, sizeof title, "MATH"); + if (mathSelected_ || meter) { + const char *name = mathSelected_ ? "MATH" : "DMM"; + i18n::format(title, sizeof title, name); if (Elements::textWidth(title, 12) > ScreenLayout::ButtonWidth - 8) - i18n::format(title, sizeof title, i18n::Variant::Short, "MATH"); + i18n::format(title, sizeof title, i18n::Variant::Short, name); } else { char channel[8]; std::snprintf(channel, sizeof channel, "CH%u", view.number(channel_)); @@ -112,7 +128,7 @@ void ScopeScreen::cards() { // Keep the value row at the plotted scale. A waiting record can still be on screen after its // range changes. Show the next setting in the title until a record at that scale arrives. if (framed && !mathSelected_) { - const bool volts = plot::DisplayScale::voltsPending(shown, widget.options(), next_, channel_); + const bool volts = !meter && plot::DisplayScale::voltsPending(shown, widget.options(), next_, channel_); const bool seconds = plot::DisplayScale::timePending(shown, widget.options(), next_); char pendingVolts[16] = "", pendingTime[16] = "", both[40]; if (volts) { @@ -132,6 +148,7 @@ void ScopeScreen::cards() { } const char *mathCoupling = widget.options().mathView.removeDc ? "AC" : "DC"; if (mathSelected_) std::snprintf(details, sizeof details, "MATH %s %s %s", mathCoupling, scale, time); + else if (meter) std::snprintf(details, sizeof details, "DMM %s %s %s%s%s", meter_.function, scale, time, *next ? " " : "", next); else std::snprintf(details, sizeof details, "CH%u %s %s %s %s%s%s", view.number(channel_), plot::DisplayScale::coupling(selected), probe, scale, time, *next ? " " : "", next); // Keep the font fixed. A wide pair uses two significant digits, then coarser unit prefixes // if needed (for example, "500mcnt" becomes "0.5cnt"). @@ -143,15 +160,19 @@ void ScopeScreen::cards() { std::snprintf(value, sizeof value, "%s %s", scale, time); } bar.item(0, title, value, *next, true); - // F2 Position: the channel it moves, with its coupling and probe. + // F2 Position: the channel it moves, with its coupling and probe; the DMM trace with its unit. const char *compactProbe = std::strcmp(probe, "x10000") == 0 ? "X10K" : probe; if (mathSelected_) std::snprintf(value, sizeof value, "MATH %s", mathCoupling); + else if (meter) std::snprintf(value, sizeof value, "DMM %s", meter_.unit); else std::snprintf(value, sizeof value, "CH%u %s %s", view.number(channel_), plot::DisplayScale::coupling(selected), compactProbe); bar.item(1, TextId::CardPosition, value); static constexpr const char *modes[] = {"AUTO", "NORM", "SNGL"}; // Trigger mode annunciators. static constexpr TextId types[] = {TextId::CardTrigger, TextId::TriggerPulseWidth, TextId::TriggerRunt, TextId::CardRiseFall, TextId::TriggerVideo}; - std::snprintf(value, sizeof value, "CH%u %s", view.number(unsigned(model.triggerChannel())), modes[unsigned(triggerMode_) % 3]); + // No channel shown (the DMM trace alone, plot::ChannelDisplay): Auto, of no channel. + const bool source = plot::ChannelDisplay::shown(shown, widget.options(), 0) || plot::ChannelDisplay::shown(shown, widget.options(), 1); + if (source) std::snprintf(value, sizeof value, "CH%u %s", view.number(unsigned(model.triggerChannel())), modes[unsigned(triggerMode_) % 3]); + else std::snprintf(value, sizeof value, "%s", modes[0]); bar.item(2, types[unsigned(triggerType_)], value); if (focus_ == plot::Focus::Zoom) { // Zoom & Pan: F4 goes back to the card it came from. char factor[16]; @@ -164,12 +185,12 @@ void ScopeScreen::cards() { bar.item(3, TextId::CardAnalyze, widget.options().mode == plot::Mode::XY ? TextRef("XY") : spectrum ? TextRef("FFT") : widget.options().mode == plot::Mode::SpectrumOverlay ? TextRef("Y-T+FFT") : TextRef(TextId::AnalyzeDisplay)); // Selected, each card takes the colour of what it acts on (issue #21): F1 Scale and F2 Position - // the selected channel's, F3 Trigger the source channel's, F4 Analyze/Cursor neutral. + // the selected channel's (the DMM trace's), F3 Trigger the source channel's, F4 Analyze/Cursor neutral. using Tint = ParameterBar::Tint; const auto channelTint = [&](unsigned c) { return c > 1 ? Tint::Neutral : view.slot(c) ? Tint::Channel2 : Tint::Channel1; }; - bar.tint(0, mathSelected_ ? Tint::Math : channelTint(channel_)); - bar.tint(1, mathSelected_ ? Tint::Math : channelTint(channel_)); - bar.tint(2, channelTint(unsigned(model.triggerChannel()))); + bar.tint(0, mathSelected_ ? Tint::Math : meter ? Tint::Meter : channelTint(channel_)); + bar.tint(1, mathSelected_ ? Tint::Math : meter ? Tint::Meter : channelTint(channel_)); + bar.tint(2, source ? channelTint(unsigned(model.triggerChannel())) : Tint::Neutral); bar.tint(3, Tint::Neutral); if (!host_.overlayActive()) bar.select(focus_ == plot::Focus::Zoom ? 3U : unsigned(focus_)); host_.elements().text(ElementId::Details, details); diff --git a/src/ui/screens/screen_host.cpp b/src/ui/screens/screen_host.cpp index 05296b58..900c2c3c 100644 --- a/src/ui/screens/screen_host.cpp +++ b/src/ui/screens/screen_host.cpp @@ -167,10 +167,14 @@ void ScreenHost::paintScope() { const auto &t = theme(); lv_obj_set_style_bg_color(chrome_, lv_color_hex(t.background), 0); waveform_.colors(t); - if (scopeLook_ && mode_ == MeasurementMode::Oscilloscope) - waveform_.roles(scopeLook_->color(ScopeRole::Trigger), scopeLook_->color(ScopeRole::TagText), scopeLook_->color(ScopeRole::Readout)); - else waveform_.roles(plot::Palette::FollowSource, plot::Palette::Contrast, t.foreground); - scopeFooter_.theme(t); + const bool look = scopeLook_ && mode_ == MeasurementMode::Oscilloscope; + // The DMM trace's colour: the look's DMM role, else the Current scheme's (the theme has no field). + const uint32_t meter = look ? scopeLook_->color(ScopeRole::Meter) : ScopeStyles::base(ScopeScheme::Current, ScopeRole::Meter, t); + if (look) + waveform_.roles(scopeLook_->color(ScopeRole::Trigger), scopeLook_->color(ScopeRole::TagText), scopeLook_->color(ScopeRole::Readout), meter); + else waveform_.roles(plot::Palette::FollowSource, plot::Palette::Contrast, t.foreground, meter); + parameters_.meterTint(meter); + scopeFooter_.theme(t, meter); decodeTable_.colors(t); decodeStrip_.colors(t); } void ScreenHost::buttons(int y) { diff --git a/test/test_meter_scale/test_meter_scale.cpp b/test/test_meter_scale/test_meter_scale.cpp new file mode 100644 index 00000000..6820bdb4 --- /dev/null +++ b/test/test_meter_scale/test_meter_scale.cpp @@ -0,0 +1,40 @@ +// AUTO's units/div for the Scope's DMM trace (include/openosc/ui/scope/meter_scale.hpp): the readings +// fit the shown grid's divisions, 8 or 5 on the square grid (GitHub #223). +#include "openosc/ui/scope/meter_scale.hpp" +#include +#include + +using namespace openosc::plot; + +void setUp() {} +void tearDown() {} + +namespace { +constexpr unsigned Voltage = 0; // MeterScale::index(Quantity::Voltage) + +// 0 .. 3 V with the zero on the middle line: 1 V/div spans 4 divisions above it on the 8-division +// grid, the square grid's 2.5 need 2 V/div. +void test_fit_follows_the_grid() { + int8_t step = 0; + TEST_ASSERT_TRUE(MeterScale::fit(Voltage, 0, 3, 0, 8, step)); + TEST_ASSERT_EQUAL_DOUBLE(1, MeterScale::perDivision(step)); + TEST_ASSERT_TRUE(MeterScale::fit(Voltage, 0, 3, 0, 5, step)); + TEST_ASSERT_EQUAL_DOUBLE(2, MeterScale::perDivision(step)); +} +// The zero 2.5 divisions up: on the square grid that is its top line, so no scale leaves room above it +// (false, the largest); the 8-division grid still has 1.5 divisions there. +void test_zero_at_the_square_grid_top() { + int8_t step = 0; + TEST_ASSERT_FALSE(MeterScale::fit(Voltage, 1, 3, 2.5, 5, step)); + TEST_ASSERT_EQUAL_INT8(MeterScale::Spans[Voltage].highest, step); + TEST_ASSERT_TRUE(MeterScale::fit(Voltage, 1, 3, 2.5, 8, step)); + TEST_ASSERT_EQUAL_DOUBLE(2, MeterScale::perDivision(step)); +} +} // namespace + +int main(int, char **) { + UNITY_BEGIN(); + RUN_TEST(test_fit_follows_the_grid); + RUN_TEST(test_zero_at_the_square_grid_top); + return UNITY_END(); +}