AnsweredAssumed Answered

Autodetect of attached Oscilloscope (MSO6104)

Question asked by qub on Feb 15, 2010
Latest reply on Jul 10, 2010 by gsonnenf

We have 2 or 3 MSO6104A scopes. I am developing some code which I want to share with the other users, but currently the scope address is hard coded, so it would need to be changed to connect to the other scopes. The code I'm using to set uop the scope is...

VisaInstrument local_scope_ref = new VisaInstrument("USB0::2391::5972::MY44002517::0::INSTR");

For the other users, that string needs changed to whatever their specific ID string is in Agilent IO Control.

My question is how can we use whatever scope happens to be connected to the system, rather than specifying the specific serial number of the scope. Is there some function that just accesses the connected system scope, as seen by Agilent IO Control (we're using v15.5 of Agilent IO Control)?

Thanks, Philip