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

Electronic Engineer Discuss

12Next
Return to list New
View: 12056|Reply: 19

Hantek 6254BD USB communication Labview

[Copy link]

2

Threads

7

Posts

7

Credits

新手上路

Rank: 1

Credits
7
Post time 2019-8-21 17:10:42 | Show all posts |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
 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
 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
 Author| Post time 2019-8-21 17:24:16 | Show all posts

2

Threads

7

Posts

7

Credits

新手上路

Rank: 1

Credits
7
 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




0

Threads

29

Posts

29

Credits

新手上路

Rank: 1

Credits
29
Post time 2019-8-29 08:10:08 | Show all posts
Edited by Hantek_Zhang at 2019-8-29 08:14

that is nearly imposibble  ,here is the cpp file,If you insist on doing that, the workload is very large.


0

Threads

85

Posts

85

Credits

注册会员

Rank: 2

Credits
85
Post time 2023-7-22 18:27:58 | Show all posts
Treesize Free is a free powerful software utility to view the space usage on the hard drive.  treesize  This tool makes it easy to investigate why decreasing the disk space is available in a computer or a file server. In fact, it allows you to immediately see which folders and subfolders are taking up most of the hard disk space. The .exe extension of a file name displays an executable file. In some cases, executable files can damage your computer. Please read the following to decide for yourself whether the  wiztree  exe file on your computer is a virus or trojan horse that you should delete, or whether it is a valid Windows operating system file or a reliable application. WinDirStat is a free and open-source graphical disk usage analyzer for Microsoft Windows.  windirstat  It presents a sub-tree view with disk-use percentage alongside a usage-sorted list of file extensions that is interactively integrated with a colorful graphical display (a treemap). reesize Free is a free powerful software utility to view the space usage on the hard drive. This tool makes it easy to investigate why decreasing the disk space is available in a computer or a file server.   treesize   In fact, it allows you to immediately see which folders and subfolders are taking up most of the hard disk space.

0

Threads

85

Posts

85

Credits

注册会员

Rank: 2

Credits
85
Post time 2023-7-22 18:28:52 | Show all posts
HP Printer Error Code 20  occurs when the wrong printer is set as the default printer. Due to this your system is unable to configure the printer properly. For resolution, you’ve to check the USB cables and wire connections. On the printer’s control panel, the attention light usually flashes the ink level showing blink typically and the segment appears counter displays a “C.” This portion seems to flash fast to offer that your hp 2515 printer error c These errors are caused due to several reasons. This article describes the possible causes behind  HP Z6100 Printer Error 79-04   and recommends the most proficient troubleshooting steps to resolve the error.  HP Printer F2280 Error E   usually occurs when there is a software or hardware-related problem in the HP printer. Usually, when you see this error it is indicated by lights flashing on the printer. So, if you are wondering the reasons behind this error code then you must know that there are multiple reasons why you may have to face this problem.

0

Threads

85

Posts

85

Credits

注册会员

Rank: 2

Credits
85
Post time 2023-7-22 18:29:54 | Show all posts
With TreeSize, you can analyze your most important storage systems and manage and clean up your files directly.   treesize   You can evaluate space usage with statistics and charts, create reports, or search for old or duplicate files based on specific criteria. WizTree is a very high speed disk space analyzer utility for Windows. It scans your hard drive and shows you which files and folders are using the most disk space.  wiztree  The file system of your entire hard drive is displayed in fine detail, making it very easy to locate large files and folders. Use the information provided by WizTree to quickly locate and remove the "space hog" from your hard drive. WinDirStat stands for Windows Directory Statistics is a program that you simply click on your drive, it scans it and it gives you statistics on all the files in it. windirstat  It also gives you a useful tree type filing structure so you can easily keep track of where the largest and smallest folders are. The sfc scano command is a built-in utility that lets you scan for corrupted files on your Windows system and automatically fix them. This command scans all Windows system files including DLL files, which are the most integral files of Windows. It works on replacing incorrect, corrupted, changed or damaged system files with the cached version of the files.  SFC Scannow  The sfc scan command automatically modifies Windows system files and settings, including DLL files, to resolve the issue.

0

Threads

85

Posts

85

Credits

注册会员

Rank: 2

Credits
85
Post time 2023-7-22 18:30:43 | Show all posts
SFC Scannow command is a built-in utility that lets you scan for corrupted files on your Windows system and automatically repair them.  SFC Scannow  This command scans all the Windows system files, including DLL files, which are the most integral files of Windows. It works on replacing incorrect, corrupted, changed, or damaged system files with the cached version of the files.   windirstat  WinDirStat is stands for Windows Directory Statistics is a program that you just click on your drive it scans it and it gives you statistics on all the files in it. WizTree is a very high speed disk space analyzer utility for Windows. It scans your hard drive and shows you which files and folders are using the most disk space. Your entire hard drive's file system is displayed visually, making it very easy to locate large files and folders.  wiztree Use the information WizTree provides to quickly locate and remove "space hogs" from your hard drive. With TreeSize, you can analyze your most important storage systems and directly manage and clean up your files. You can evaluate space usage with statistics and charts, create reports or search for old or duplicate files based on specific criteria – manually, or automatically according to a schedule.  treesize   TreeSize can move, archive, delete, but also bulk rename files across systems and much more.
12Next
Return to list New
You have to log in before you can reply Login | Register

Points Rules

Dark room|Mobile|Archiver|Electronic Engineer Discuss

2024-3-29 13:14 GMT+8 , Processed in 0.172831 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

Quick Reply To Top Return to the list