SDG Function Generator MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SDG Function Generator MCP ServerSet C1 to 1kHz sine wave, 5Vpp"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SDG Function Generator MCP Server
基于 SDG Programming Guide PG02-C02C 编写的 MCP Server,通过 TCP/IP (SCPI 协议,端口 5024) 远程控制 Siglent SDG2000X 系列函数/任意波形发生器。
适用型号:SDG2122X、SDG2042X、SDG2082X 及 SDG1000X、SDG6000X 系列。
快速开始
pip install -r requirements.txtRelated MCP server: Instrument MCP Server
通信协议
项目 | 说明 |
物理层 | Ethernet (TCP/IP) |
端口 | 5024 |
协议 | Raw TCP Socket |
命令 | IEEE 488.2 + SCPI |
通道格式 |
|
可用工具(24 个)
连接
工具 | 说明 |
| 连接设备(IP/主机名) |
| 断开 |
| 发送任意 SCPI 命令 |
| 设备 ID |
| 恢复出厂 |
输出控制
工具 | 说明 |
| 开关输出、设置负载阻抗、极性、通道间偏移 |
| 读取输出状态 |
基本波形(核心工具)
工具 | 说明 |
| 设置波形类型、频率/周期、幅度、偏移、相位、占空比、对称性、上升/下降时间等 |
| 读取当前波形参数 |
波形类型:SINE, SQUARE, RAMP, PULSE, NOISE, ARB, DC, HARMONIC, PRBS, DUALTON, IQ
调制
工具 | 说明 |
| 配置 AM/FM/PM/FSK/ASK/PSK/PWM/DSBAM 调制 |
| 读取调制设置 |
扫频
工具 | 说明 |
| 配置线性/对数扫频(起止频率、幅度、时间、触发) |
| 读取扫频设置 |
脉冲串
工具 | 说明 |
| 配置脉冲串模式(周期数/门控/触发/延迟) |
| 读取脉冲串设置 |
任意波
工具 | 说明 |
| 选择内置波形或用户波形、采样率、播放模式 |
频率计
工具 | 说明 |
| 读取频率/周期/占空比/统计 |
| 配置频率计(耦合/门控) |
| 清零 |
其他
工具 | 说明 |
| 设置 SYNC 输出模式 |
| 读取 IP/掩码/网关 |
| 设备状态 + 错误队列 |
| 一键概览两通道波形/调制/扫频/脉冲串状态 |
| 保存/调用仪器状态 |
使用示例
> connect host=192.168.1.101
Connected to 192.168.1.101:5024
> configure_waveform channel=C1 wave_type=SINE frequency=1000000 amplitude=3.3 offset=0
C1 waveform set:
- wave_type: SINE
- frequency: 1000000
- amplitude: 3.3
- offset: 0
> set_output channel=C1 state=true load=HZ
C1 output:
- Output: ON
- Load: HZ
> configure_modulation channel=C1 state=true mod_type=FM fm_deviation=10000 mod_frequency=1000 mod_waveform=SINE
C1 modulation:
- Modulation: ON
- mod_type: FM
- fm_deviation: 10000
- mod_frequency: 1000
> quick_snapshot
=== SDG Quick Snapshot ===
Device: Siglent,SDG2122X,...
--- C1 ---
Output: ON
Wave: SINE | 1000000.0 Hz | 3.3 Vpp | Offset: 0.0 V
Modulation: ON | Type: FM
Sweep: OFF
Burst: OFF项目结构
sdg-mcp/
├── server.py # MCP Server 主程序
├── requirements.txt # Python 依赖
├── .mcp.json # MCP 配置模板
├── README.md # 本文件
├── .gitignore
└── sdg_mcp.log # 运行日志(自动生成)兼容性
SDG1000X 系列
SDG2000X 系列(SDG2122X、SDG2042X、SDG2082X)
SDG6000X / SDG6000X-E 系列
SDG7000A 系列
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/lxkang00/sdg-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server