Please select To the mobile version | Continue to access the desktop computer version

Electronic Engineer Discuss

View: 6252|Reply: 4

DSO 2C10 SCPI

[Copy link]

1

Threads

4

Posts

4

Credits

新手上路

Rank: 1

Credits
4
Post time 2021-3-16 04:16:32 | Show all posts |Read mode
DSO 2C10 question
Where do I find the SCPI command reference?

Related collections:

  • · DSO2C10|Threads: 1, Subscribe: 0
Reply

Use magic Report

60

Threads

443

Posts

443

Credits

版主

Rank: 7Rank: 7Rank: 7

Credits
443
Post time 2021-3-16 15:46:20 | Show all posts



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

1

Threads

4

Posts

4

Credits

新手上路

Rank: 1

Credits
4
 Author| Post time 2021-3-16 23:05:27 | Show all posts
Thank you!
Reply

Use magic Report

1

Threads

4

Posts

4

Credits

新手上路

Rank: 1

Credits
4
 Author| Post time 2021-3-17 04:34:57 | Show all posts
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

Threads

4

Posts

4

Credits

新手上路

Rank: 1

Credits
4
 Author| Post time 2021-3-17 04:36:08 | Show all posts
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!








This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x
You have to log in before you can reply Login | Register

Points Rules

Dark room|Mobile|Archiver|Electronic Engineer Discuss

2024-3-29 19:58 GMT+8 , Processed in 0.197903 second(s), 24 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

Quick Reply To Top Return to the list