Electronic Engineer Discuss

View: 12703|Reply: 19
Print Prev. thread Next thread

Hantek 6254BD USB communication Labview

[Copy link]

2

Threads

7

Posts

7

Credits

新手上路

Rank: 1

Credits
7
Jump to specified page
1#
Post time 2019-8-21 17:10:42 | Show all posts Reply Awards |Descending |Read mode
Hi,
as it has been mentioned here several times, the oscilloscope software contains errors, the SDK is not well documented, etc. I would like to write software in Labview that would increase the oscilloscope's capabilities, which would certainly be good for Hantek. In Labview, it's best to use an instrument driver that uses RAW USB communication. I watched Hantek use Control and Bulk endpoint to control the oscilloscope, can you share a description of each USB command? For example, for the 6022BL communication is clear, thanks to the OpenHantek API, it would be good to have this for other oscilloscopes. Thank you.

Reply

Use magic Report

2

Threads

7

Posts

7

Credits

新手上路

Rank: 1

Credits
7
2#
 Author| Post time 2019-8-21 17:14:53 | Show all posts
Cannot upload image, size is OK about 100kB

2

Threads

7

Posts

7

Credits

新手上路

Rank: 1

Credits
7
3#
 Author| Post time 2019-8-21 17:23:42 | Show all posts

removed

Edited by Eddie at 2019-8-21 17:25

removed ...

Reply

Use magic Report

2

Threads

7

Posts

7

Credits

新手上路

Rank: 1

Credits
7
4#
 Author| Post time 2019-8-21 17:24:16 | Show all posts

2

Threads

7

Posts

7

Credits

新手上路

Rank: 1

Credits
7
5#
 Author| Post time 2019-8-22 01:01:24 | Show all posts
I made a few attempts, the principle of communication is clear, but you need to know the meaning of each setting item.. Thank you for support

  1. dsoHTGetState

  2. ctrl out  bm 0x40 b 179 wlen 10  data   0f030303d9103309d4f2
  3. ctrl in   bm 0xc0 b 178 wlen 10  data   01
  4. bulk out                         data   0600
  5. ctrl in   bm 0xc0 b 178 wlen 10  data   01
  6. bulk in                          data   02c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d0555555

  7. dsoHTStartCollectData  XX - nStartControl

  8. ctrl out  bm 0x40 b 179 wlen 10  data   0f030303d9107f1b58f0
  9. ctrl in   bm 0xc0 b 178 wlen 10  data   01
  10. bulk out                         data   0300XX00

  11. dsoHTGetData

  12. ctrl out  bm 0x40 b 179 wlen 10  data   0f030303d9107f1bf4ef
  13. ctrl in   bm 0xc0 b 178 wlen 10  data   01
  14. bulk out                         data   0d00
  15. ctrl in   bm 0xc0 b 178 wlen 10  data   01
  16. bulk in                          data   50f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d03006135555
  17. ctrl out  bm 0x40 b 179 wlen 10  data   0f030303d9107f1bf8ef
  18. ctrl in   bm 0xc0 b 178 wlen 10  data   01
  19. bulk out                         data   0e00ecbf
  20. ctrl out  bm 0x40 b 179 wlen 10  data   0f030303d9107f1b80ef
  21. bulk out                         data   05000020
  22. ctrl in   bm 0xc0 b 178 wlen 10  data   01
  23. bulk in                          data   acquired data
Copy the Code




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

Points Rules

Dark room|Mobile|Archiver|Electronic Engineer Discuss

2024-5-6 15:55 GMT+8 , Processed in 0.148766 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

Quick Reply To Top Return to the list