Hi all,
reading the "Agilent InfiniiVision 3000 X-Series Oscilloscopes Programmer's Guide" document I couldn't find an easy way to get the number of the oscilloscope channels (2 or 4).
What I do now is to send a command to the channel #4 (e.g. myScope.WriteString ":CHANnel4:DISPlay 1") and, if I get an error, to assume that the oscilloscope is a two channels only.
For sure there should be a better way but... what?
Ciao and many season greetings.
Franco
Web: http://www.flanguasco.org
reading the "Agilent InfiniiVision 3000 X-Series Oscilloscopes Programmer's Guide" document I couldn't find an easy way to get the number of the oscilloscope channels (2 or 4).
What I do now is to send a command to the channel #4 (e.g. myScope.WriteString ":CHANnel4:DISPlay 1") and, if I get an error, to assume that the oscilloscope is a two channels only.
For sure there should be a better way but... what?
Ciao and many season greetings.
Franco
Web: http://www.flanguasco.org
But your method is probably the most generic, as it works for Digital and Math channel as well.
--Bret