是德科技
直播中

赵秀英

7年用户 171经验值
私信 关注
[问答]

如何使用示波器远程保存屏幕捕获和波形文件

嗨,我正在使用Command专家,我可以在matlab或Excel中执行脚本。
对我来说没关系。
我通常使用示波器(DSOS204a)执行的任务是保存屏幕图像并保存波形(.tsv)。
我设法使用Command Expert执行这些任务,但文件保存在Scope中。
我想在远程计算机(运行脚本的PC)中获取这些捕获(.png和.txv)。
如何远程获取屏幕截图和波形文件?
谢谢。编辑:gmaturana于2016年3月1日上午7:27

以上来自于谷歌翻译


     以下为原文

  Hi,
I am using Command expert, and I could execute the scripts in Matlab or Excel. It is OK for me.

A task I usually do with my scope (DSOS204a) is to save an screen image and to save a waveform (.tsv).
I managed to perform these tasks using Command Expert but files are save in the Scope.
I would like to get those captures (.png and .txv) in the remote computer, the PC that is running the script.

How could I get an screen capture and a waveform file remotely?

Thanks.

Edited by: gmaturana on Mar 1, 2016 7:27 AM  

回帖(3)

周菊

2018-9-27 15:54:08
这两个任务都是手册和示波器帮助系统中的示例程序的一部分。
两者都涉及将数据(捕获或显示)从示波器传输到PC,然后保存它们。
这些示例使用的是C(或变体)和Python,但它们很容易理解。
它们也是MATLAB文件交换中提供的示例之一,可在此处获取:https://www.mathworks.com/matlabcentral/fileexchange/28887-capturing-a-waveform-from-an-agilent-oscilloscope-over-a
-standard-visa-interface Al

以上来自于谷歌翻译


     以下为原文

  Both of these tasks are part of the example programs that are in the manuals and in the help system on the scope. Both involve transferring data (captured or display) from the scope to the PC, then saving them. Those examples are in C (or variants) and Python, but they are easy to figure out.

They are also one of the examples available from the MATLAB File Exchange, available here:
https://www.mathworks.com/matlabcentral/fileexchange/28887-capturing-a-waveform-from-an-agilent-oscilloscope-over-a-standard-visa-interface

Al
举报

赵秀英

2018-9-27 16:07:19
抱歉,我找不到您所谈论的示例,其中我将示波器屏幕的.png文件保存在我的计算机而不是示波器硬盘中。
你可以说得更详细点吗?
谢谢。

以上来自于谷歌翻译


     以下为原文

  Sorry,
I cannot find the example you talk about in which I get the .png file of the scope screen saved in my computer instead of in the oscilloscope hardisk.
Can you be more specific?

Thanks.
举报

周菊

2018-9-27 16:22:40
引用: 芯片代理商 发表于 2018-9-27 12:53
抱歉,我找不到您所谈论的示例,其中我将示波器屏幕的.png文件保存在我的计算机而不是示波器硬盘中。
你可以说得更详细点吗?
谢谢。

我刚看了一遍这个例子,看起来很简单。
- 设置示波器 - 捕获数据 - 将数据传输到PC - 图形数据 - 将屏幕数据传输到PC(BMP格式) - 将屏幕数据保存到PC(BMP格式) - 打开保存的屏幕
数据并显示它。
您将不得不以几种小方式更改代码: - 以png格式获取并保存屏幕 - 保存范围数据(您可以以任何您喜欢的格式执行此操作)除了这些内容之外,它完全符合您的要求
对于。


以上来自于谷歌翻译


     以下为原文

  I just looked through the example again, and it seems pretty straightforward.

- Set up the scope
- Capture data
- Transfer the data to the PC
- Graph the data
- Transfer the screen data to the PC (in BMP format)
- Save the screen data to the PC (in BMP format)
- Open the saved screen data and display it.

You will have to change the code in a couple of small ways:

- get and save the screen in png format
- save the scope data (you can do that in any format that you like)

Aside from these things it does exactly what you asked for.

Al
举报

更多回帖

发帖
×
20
完善资料,
赚取积分