Electronic Engineer Discuss

 找回密码
 Register
查看: 6443|回复: 4

DSO 2C10 SCPI

[复制链接]

1

主题

4

帖子

4

积分

新手上路

Rank: 1

积分
4
发表于 2021-3-16 04:16:32 | 显示全部楼层 |阅读模式
DSO 2C10 question
Where do I find the SCPI command reference?

本帖被以下淘专辑推荐:

回复

使用道具 举报

60

主题

443

帖子

443

积分

版主

Rank: 7Rank: 7Rank: 7

积分
443
发表于 2021-3-16 15:46:20 | 显示全部楼层



Please visit the product page of Hantek official website to download:
http://hantek.com/products/detail/17182

回复 支持 反对

使用道具 举报

1

主题

4

帖子

4

积分

新手上路

Rank: 1

积分
4
 楼主| 发表于 2021-3-16 23:05:27 | 显示全部楼层
Thank you!
回复

使用道具 举报

1

主题

4

帖子

4

积分

新手上路

Rank: 1

积分
4
 楼主| 发表于 2021-3-17 04:34:57 | 显示全部楼层
Edited by DF1 at 2021-3-17 22:39

I have some problems with the "WAVATA:ALL?" command, the first time it should return 127 bytes/chars, next time you should get 29 bytes/char and wbatever number of bytes indicated for the trace (4029 it seems) I suppose this is binary 8 bit data (unsigned uInt8), each representing a single point on the screen, or?
The first problem is the data for channels not used or not available in the scope. In the image, only channel 1 is ON, data in chars 47-53 is CH1 voltage, but seems wrong, CH2,3,4 all takes up 8 chars (one more than expected!) all with the value 4.9e-318 (8 chars), offsetting the remaining chars.

Will this be corrected?
Is there a command to read the error register in the scope?
Is there a command to clear the output buffer?
Thank you.
https://drive.google.com/file/d/ ... 8L/view?usp=sharing



回复 支持 反对

使用道具 举报

1

主题

4

帖子

4

积分

新手上路

Rank: 1

积分
4
 楼主| 发表于 2021-3-17 04:36:08 | 显示全部楼层
Edited by DF1 at 2021-3-21 00:43

"WAVATA:ALL?" - dont know what happened there!
should be WAV: DATA:ALL? without the space before the D


Anyway, reading the vertical scale voltage also gives strange results, see the attached screen dump from IO Lib, not 1 as expected, but 9.881e-318
Any idea why?

BTW, this and other commands fail if used according to the SCPI specification.
CHANnel1:SCALe? works - althougt with a strange result.
CHAN1:SCAL? does not work - but it should, at least to give the same strange result!

OK, captured the IO traffic from the DigitalScope App, it shows the use of the "RIVate:WAVeform:ALL?" command.
This command returns an IEEE488.2 BINBLOCK for NON-GPIB instruments (although with a header failure!), and it seems to work.

The SCPI Command Reference definitely is on need of some rework, and so does the command interpreter in the scope firmware!








本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?Register

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | Register

本版积分规则

Dark room|Mobile|Archiver|Electronic Engineer Discuss

GMT+8, 2024-5-10 11:08 , Processed in 0.168251 second(s), 24 queries .

Powered by Discuz! X3.2

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表