Electronic Engineer Discuss

View: 558|Reply: 0
Print Prev. thread Next thread

Device ID with Python API Hantek 6XXX

[Copy link]

1

Threads

1

Posts

1

Credits

新手上路

Rank: 1

Credits
1
Jump to specified page
1#
Post time 2024-5-16 08:13:44 | Show the author posts only Reply Awards |Descending |Read mode
I have written a python program to control four Hantek 6074BC oscilloscopes with the python API of: https://github.com/CircuitAnalysis/Hantek/
According to that API, I can enter a number from 0 to 3 (DeviceIndex) to refer to each of the oscilloscopes. Nevertheless, this assignment does not keep with the same devices over time, so I cannot know with which one I am going to measure.

In my program it is very important to identify each oscilloscope (Knowing the serial number or the USB address associated with the device of each 'DeviceIndex' can solve my problem).

I would be very grateful if you could help me to identify with python the oscilloscope that is measuring.


Reply

Use magic Report

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

Points Rules

Dark room|Mobile|Archiver|Electronic Engineer Discuss

2024-6-2 07:19 GMT+8 , Processed in 0.216626 second(s), 21 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

Quick Reply To Top Return to the list