HomeDocs-Technical WhitePaper22-EFT.WP.Metrology.Instrument v1.0

Chapter 13 — Data Interfaces & Metadata (SCPI / IVI / manifest)


One-Sentence Objective
Centering on standardized SCPI/IVI interfaces and manifest.instrument.*, unify acquisition, control, and traceability metadata so that dimensions, timebase, and compliance are published consistently.


I. Scope and Objects

  1. Scope
    • Applies to general-purpose measurement instruments accessed via SCPI (VISA/TCPIP/USB/GPIB/Serial) and IVI (IVI-C/IVI-COM) drivers.
    • Covers the control plane (configuration/status/errors) and the data plane (waveforms/scalars/event streams), for both batch and streaming acquisition.
    • Outputs standardized datasets and manifests: manifest.instrument.*, plus signatures and traceability fields.
  2. Objects
    • Session sess, resource identifier resource, command set cmds, data block blob.
    • Time & timebase: ts, tau_mono, t_hw, offset/skew/J.
    • Metrology & uncertainty: y, unit(y), dim(y), u(y), U = k * u_c.
    • Traceability: *IDN?, firmware_ver, driver_ver, cal_cert_id, hash_sha256(blob), TraceID, signature.
  3. Outputs
    Unified-field dataset ds, aligned ts, a unit-normalization report, snapshots of error & status registers, manifest.instrument.*, and an acceptance report.

II. Terms and Variables


III. Postulates P713-*


IV. Minimal Equations S713-*


V. Metrology Procedure M70-13 (Connect → Configure → Acquire → Verify → Persist)

  1. Session ingress & handshake
    • Open resource, send *CLS to clear errors/status; query *IDN? to capture the device fingerprint; pull firmware_ver, driver_ver.
    • Read cal_cert_id, cal_date, and RefCond; verify validity and environmental consistency.
  2. Mode & parameter configuration
    • Per plan, issue MEAS:FUNC, SENS:FUNC, RANGE, BAND, ACQ:SRATE, TRIG:SEQ, etc.
    • Confirm completion with *OPC?; record the final, effective configuration via read-backs (avoiding shadow state).
  3. Acquisition & timestamping
    • Read the blob and t_hw. If no hardware timestamp is provided, mark the driver capture instant and record J.
    • Call align_timebase: map to tau_mono and publish ts, carrying offset/skew/J and u(ts).
  4. Decoding & metrological harmonization
    • decode_scpi_blob(blob) → ds_raw; run repair_units to finish unit normalization and check_dim.
    • Compute U = k * u_c where required and fold into field-level uncertainties.
  5. Error & status verification
    Query SYST:ERR? and read STB/SRQ; persist err_code/err_msg/queue_len. If any error is present, mark q_score for down-weighting.
  6. Persistence & manifest
    Hash both blob and structured outputs with hash_sha256; generate and sign manifest.instrument.*; write TraceID and a closed dependency set.

VI. Contracts & Assertions C70-13*


VII. Implementation Bindings I70-13* (Interface Prototypes & Invariants)


VIII. Cross-References


IX. Quality Metrics & Risk Control


Summary
Through P713-* / S713-* / M70-13 / C70-13* / I70-13*, this chapter specifies an end-to-end standard from SCPI/IVI ingress, configuration, and acquisition to timebase alignment, dimensional checks, and signed-manifest publication. All data are served from manifest.instrument.* as the single source of truth, closing the loop with the TimeBase/Sync/Cleaning volumes.


Copyright & License (CC BY 4.0)

Copyright: Unless otherwise noted, the copyright of “Energy Filament Theory” (text, charts, illustrations, symbols, and formulas) belongs to the author “Guanglin Tu”.
License: This work is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0). You may copy, redistribute, excerpt, adapt, and share for commercial or non‑commercial purposes with proper attribution.
Suggested attribution: Author: “Guanglin Tu”; Work: “Energy Filament Theory”; Source: energyfilament.org; License: CC BY 4.0.

First published: 2025-11-11|Current version:v5.1
License link:https://creativecommons.org/licenses/by/4.0/