• 0

Question

I'm using two Analog Discovery 2's in an embedded Debian linux environment using the python interface with my own code.  I need to be able to know which physical scope I'm connecting to when I open both scopes because even though the usb assignment might change, the wiring won't. So I need to know in software which scope is which.

Can you suggest a way to choose which scope to connect to?  Or, failing being able to know ahead of time, what's the easiest way to know which scope I've connected to and possibly close it and switch to the other?

Thanks.

 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi @Torfey,

Here is the Waveforms SDK reference manual. Under 1.1 on page 4 it describes the Call enumeration functions to discover connected hardware devices. Which should allow to to choose which device you are connecting to.

cheers,

Jon

Share this post


Link to post
Share on other sites
  • 0

Thanks.  I was able to use the FDwfEnum and  FDwfEnumSN calls to get the serial number of the devices and associate them with the idxDevice device index. Then, knowing from outside which serial number AD2 is wired where, can then look up that SN's index.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now