Eddie Publish time 2019-8-21 17:10:42

Hantek 6254BD USB communication Labview

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.

Eddie Publish time 2019-8-21 17:14:53

Cannot upload image, size is OK about 100kB

Eddie Publish time 2019-8-21 17:23:42

removed

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

removed ...

Eddie Publish time 2019-8-21 17:24:16

https://nxcloud.mriha.cz/index.php/s/AWic2K9pSSGYFeW/preview

Eddie Publish time 2019-8-22 01:01:24

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

dsoHTGetState

ctrl outbm 0x40 b 179 wlen 10data   0f030303d9103309d4f2
ctrl in   bm 0xc0 b 178 wlen 10data   01
bulk out                         data   0600
ctrl in   bm 0xc0 b 178 wlen 10data   01
bulk in                        data   02c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d055555502c400ff00ff00f700fe0001d0555555

dsoHTStartCollectDataXX - nStartControl

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

dsoHTGetData

ctrl outbm 0x40 b 179 wlen 10data   0f030303d9107f1bf4ef
ctrl in   bm 0xc0 b 178 wlen 10data   01
bulk out                         data   0d00
ctrl in   bm 0xc0 b 178 wlen 10data   01
bulk in                        data   50f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6c8300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d0300613555550f6d03006135555
ctrl outbm 0x40 b 179 wlen 10data   0f030303d9107f1bf8ef
ctrl in   bm 0xc0 b 178 wlen 10data   01
bulk out                         data   0e00ecbf
ctrl outbm 0x40 b 179 wlen 10data   0f030303d9107f1b80ef
bulk out                         data   05000020
ctrl in   bm 0xc0 b 178 wlen 10data   01
bulk in                        data   acquired data



Hantek_Zhang Publish time 2019-8-29 08:10:08

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.


shinu76 Publish time 2023-7-22 18:27:58

Treesize Free is a free powerful software utility to view the space usage on the hard drive.treesizeThis 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 thewiztreeexe 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.windirstatIt 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.

shinu76 Publish time 2023-7-22 18:28:52

HP Printer Error Code 20occurs 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 behindHP 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.

shinu76 Publish time 2023-7-22 18:29:54

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.wiztreeThe 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. windirstatIt 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 ScannowThe sfc scan command automatically modifies Windows system files and settings, including DLL files, to resolve the issue.

shinu76 Publish time 2023-7-22 18:30:43

SFC Scannow command is a built-in utility that lets you scan for corrupted files on your Windows system and automatically repair them.SFC ScannowThis 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.   windirstatWinDirStat 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.
Pages: [1] 2
View full version: Hantek 6254BD USB communication Labview