en ja

API generation warning: The endpoint names listed on this page come from the supplied FastAPI-layer document. The control API reference, however, identifies set_mode(), meas_continue(), and get_result() as the current control API and treats start_continuous_meas() and related names as legacy methods. Do not assume these legacy names are currently available as FastAPI endpoints. Check server_fastapi/spec.py in the actual installed version. The current implementation cannot be verified from the supplied documents alone.

FastAPI Exposure Layer

The FastAPI adapter exposes selected Xdm1000Ctrl methods through ese774_frame. API specifications are declared in server_fastapi/spec.py; request/response models live in models/common.py, routing in routers/xdm1000_router.py, and synchronous/asynchronous clients in clients/. Raw SCPI operations are not published. Compatibility note: this source describes an earlier API set; consult the current control-layer reference before using method names.

Documentation scope: This English guide is an abridged technical companion to the complete Japanese manual. This page is a summary of the supplied Japanese document; consult the Japanese version for details and complete examples.

Layout

server_fastapi/
├── spec.py
├── models/
│   └── common.py
├── routers/
│   └── xdm1000_router.py
└── clients/
    ├── sync_xdm1000_client.py
    └── async_xdm1000_client.py

API specification

get_state
is_running
stop_job
get_continuous_result
get_statistics_result
idn
set_meas_mode
meas_one_shot
meas
meas_voltage_dc
meas_current_dc
start_continuous_meas
start_statistics_mode
wait_until_done

Request and response models

MeasModeRequest(kind, range_value="AUTO", rate="F")
MeasOneShotRequest(kind, range_value="AUTO", rate="F", settle=0.0)
MeasRequest(kind="voltage_dc", range_value="AUTO", rate="F", settle=0.0)
MeasSimpleRequest(range_value="AUTO", rate="F")
ContinuousMeasRequest(kind, duration, range_value="AUTO", rate="F", interval=0.0, settle=0.0)
StatisticsModeRequest(kind, duration, range_value="AUTO", rate="F", settle=0.0)
ClearRequest(clear=False)
WaitUntilDoneRequest(poll_interval=0.2)

Router

Clients

Excluded APIs

remote
local
write
query
query_float
query_int
raw SCPI 操作
_reset_scpi_internal