# Ask (intelligent Q&A) :id=top

------

> _Doc Ver:_ 1.11  
_App Ver:_ 2.6.6.53  
_Date:_ 09/14/2026

------

On the device, Handbook (Help menu / mobile Handbook) reads `help/tips/` — the same install and upgrade answers.

## Unified Q&A

Human questions go to http://112.74.47.129:9999 (SA1 + SA2 handbooks). Say you are asking about **SA1 2.x** (`sa-di` / `sa1-upgrader`). Do not follow SA2 `install_sa2.sh` steps.

Old URLs http://192.168.3.9/sa1/help/ask.html and http://sc.casstk.com/sa1/help/ask.html redirect there. This page is the on-device short list. For Cursor / ChatGPT, send `…/sa1/install/agent/llms.txt`.

## Short answers

**Start:** `sudo systemctl start sa-di sa-web csdfu` (BusyBox: `sudo /etc/init.d/sa1 start`). Do not `killall -9`. Cookbook: [Start, check, upgrade](operate.md).

**Check:** `sa-doctor` (or `sa-doctor --json`). Start with `sa-doctor --help`. Architecture: [Architecture](architecture.md). Older packages: `sa1-upgrader status`; exactly one `sa-di` and one `sa-web`; `*IDN?` / `*VER?` on `127.0.0.1:7090`; `/api/info`; `/login` on 80 or 8080 or 81. CLI / MCP: [sa-cli](sa-cli.md) · [sa-mcp](sa-mcp.md) · [hub](ops.md).

**Install (cspkg recommended):** `curl -fsSL http://192.168.3.9/sa2/install/cspkg | bash` then `sudo cspkg install sa1 -y`. cspkg auto-detects platform, verifies, checks mutex. Later upgrades: `sudo cspkg upgrade sa1 -y`. See [cspkg](cspkg.md).

**Install (direct curl):** `curl -fsSL http://192.168.3.9/sa1/install/install | sudo bash`

**Upgrade:** Menu > Help > Upgrade, or `sudo sa1-upgrader upgrade -y`. No default reboot. Failed health check rolls back. Then run the check. If `*VER?` is stale, `sudo systemctl restart sa-di`.

**Offline:** `sudo sa1-upgrader upgrade --local ./sa1-v2.6.*.tar.gz -y`

**Not SA2:** Do not run `install_sa2.sh`. Do not mix 3.x conf into `/var/sa`. SA1 and SA2 are mutually exclusive (same UDP 8190 / 7090 / 8080). Stop SA2 before testing SA1. Do not run two `sa-di`.

**Do not** `killall -9 sa-di`. Stop with systemd, `/etc/init.d/sa1`, or the upgrader. Do not use `sa_run`.

**BusyBox / armv7l:** download `linux_arm`. Web may be `:8080` or `:81`.

**Login:** `/login` is expected when you are not signed in. Default users are in `/var/sa/conf/web-users.json`.

**Data CSV:** Data page export runs `sa-file` (kinds `wl` / `pv` / `raw` only). Wavelength CSV has no header: `{local ISO}.{usec6},{unix}.{usec6},{counter},{ch},{wl},…` (non-zero peaks). Original files add `1_500_000`; SA2 `0x10`/`0x15` already store absolute pm. Physical CSV header: `ISO时间,Unix时间,计数器,ID,通道,错误码,波长,物理值,阈值报警,变化率报警`. Switch on-disk dialect with Data save **1.11** (`DS_SAVE_PROTO`; default original). See [data save](data_save.md) · [SA2 v1.7 wavelength](data-wl-v1.7.md).

**Save protocol:** Data save **1.11** (`DS_SAVE_PROTO`) default `0` writes original `0x00`/`0x04`/`0x05`. Set `1` for SA2 v1.7 on-disk (`0x10`/`0x15`). Live UDP 8190 stays original. Mode 2 still writes original. Do not add 1 500 000 on `0x10`. Cookbook: [Save protocol and integration](data-save-proto.md). Tables: [wavelength v1.7](data-wl-v1.7.md) · [physical v1.7](data-pv-v1.7.md).

**Empty PV export:** Before **2.6.6.14**, old Mode 1 often left `pv/` with only a `0x21` register (`frames=0`). Those closed files stay empty. From **2.6.6.17** Mode `0` is that compute-and-write path (old Mode 1 becomes `0` on upgrade). New files have `0x04`/`0x05`, or `0x15` if Save protocol is 1.

**Field conf:** Upgrade keeps the sensor register. Do not `sync-runtime.sh --conf` onto persist (`/var/sa/conf`). Pages only: `sync-runtime.sh --web`.

**Raise sample rate / demod is slow:** Hardware frequency is the bottom number on Monitor > Service. If software cannot keep up, first turn off virtual sensors, filtering, alarms, raw save, and extra transfers; set formula parser type `0`; set list refresh to `5`; close the spectrum page. Save does not always block demod: wavelength is off-thread, PV is on the compute thread, raw is on receive (worst). Full note: [Improve demodulator speed](improve_sa_speed.md) · [Frequency setting](frq_set.md).

**Modbus TCP:** Off by default, port **1502**, FC03 holding registers inside **sa-di** (same wire protocol as SA2). Admin → Addon → Modbus Configure → Enable → Save (`:SYS:RELOAD` returns `0`). Dense map starts at **4096**. Full page: [Modbus TCP slave](modbus_tcp_slave.md). Do not `killall -9`.

**Device reset watchdog (locked-IP `*rst!;`):** On by default. **Lock IP** (`DI_UDP_DATA_IP_LOCK`) must be on, or nothing is sent. After idle UDP **8190** with no 8193 config/detect, sa-di unicasts `*rst!;` to that path’s **dataIp:8193**. Disable: Setting → System → Advanced → Watchdog, uncheck Enable, Save → `:SYS:RELOAD`. Not panel network reset; idle 8190 does not reboot the host. Legacy `dsp_reset.sh` is treated as `*rst!;`. Full page: [Device reset watchdog](device-rst.md).

**Precise refer (not precise wavelength):** Per-**sensor** lookup from wavelength or PV to true physical value. Setting → **Precise refer** (`addon.php?dir=precise_refer`). Do not click Precise wavelength, do not plug an etalon, do not type a channel, do not import an nm CSV. Save → `:SYS:RELOAD`. While enabled, the table runs before formulas. [Precise reference](precise_refer.md) · [Two features](precise_vs.md).

**Precise wavelength (not precise refer):** Off by default. Etalon on any channel 1–32 (factory channel is **16**, not 9). Confirm the comb on the **spectrum** of this unit (a lab unit once misplugged and showed 9). Setting → **Precise wavelength** (not Precise refer); import wavemeter CSV (nm); Save → `:SYS:RELOAD`. Verify with `:DATA:PVJ?` / `sa-cli scpi ':DATA:PVJ?'`, not `:DATA:PV?`. Vs wavemeter, scan bias ~**+22 pm** falls to ~**0.5 pm** (lab example, etalon on 16). Toggle: edit `WLCAL_ENABLE`, then `sa-cli reload --yes`. [Precise wavelength calibration](precise_wl.md).

**Blade root load / balance / calibration:** Factory **off**. Setting → Fan Blade → Enable root load (`/m/addon.php?dir=bladeload`, `BLADELOAD_ENABLE`), Save `:SYS:RELOAD` (reply `0`). Work page `bladeload.php`: pick register ID, click a live peak (`:DATA:PVJ?`) to write channel + ±1500 pm window. Then calibrate and **Apply 201–208**. Checking the box alone does not create virtual IDs. Also need formula type **3** and `VSS_ENABLE`. Persist: `bladeload.json`, `bladeload_map.json`, `vss/BL201.sensor`… Virtual IDs **201–208** (MyA/MxA…ηy/ηx). Three blades on this interrogator. Auxiliary control: no PLC; import ops CSV; `time_offset_sec` is added to SCADA to align strain. Idle-pitch and locked rotor share the same C; R² 0.95 / 0.98. Three blades together need `le_a`/`le_b`/`le_c`. η is `RELSTD&(201,203,205)`. No Python on the PC. Verify `:DATA:PVJ?`. Do not `killall -9`. At http://112.74.47.129:9999 say **SA1 2.x / sa-di / BLADELOAD_ENABLE**, not only “blade load” (that hits SA2). [Root load](bladeload.md) · [Configure and enable](bladeload-enable.md) · [Calibration](bladeload-calib.md) · [Calculate](bladeload-calc.md) · [Balance](bladeload-balance.md) · [Q&A](bladeload-qa.md).

**Does enable work / how much better:** Yes. Etalon vs wavemeter: cal off ~+22–23 pm, cal on ~0.5 pm on SA1. Sensor on − off of −17 to −33 pm is the correction. Do not use two neighbouring lines (OLS over all matched pairs). See the handbook section “How much better”.

**Manage with cspkg:** Besides `curl …/install | sudo bash` for a direct SA1 install, you can use the company-wide package client cspkg to manage SA1 (and SA2) uniformly: `curl -fsSL http://192.168.3.9/sa2/install/cspkg | bash` then `sudo cspkg install sa1 -y`. Supports remote SSH and offline. See [cspkg](cspkg.md).

Agent pack: http://192.168.3.9/sa1/install/agent/
