Oscilloscope
Abstract class for Oscilloscopes
This type of instruments can be very complicated to use because the huge number of functionalities, but also so simple because the subgroup generally used can be so small.
Version 2
An example of this can be found in the tango-ds svn, is part of a bigger device server wrapper.Commands
The following commands must be implemented:- Start - Open the communication to the instrument (state = ON if the instrument is there, anything else state = FAULT)
- Stop - Close the instance to the instrument.
- Reset - If the established communication has some problem it is reestablished with the same situation. ("Stop-Start" will clean the environment).
- OpenCh -With a number as an argument opens the corresponding channel, like press the button in the front panel of the instrument.
- CloseCh -Similar to the OpenCh, but to close the acquisition on the channel for the corresponding number in the argin.
Attributes
the following attributes must be implemented:- Scalar:
| Attribute | Type | Access | Description |
|---|---|---|---|
| HScale | double | RW | Time base scale. |
| CurrentSampleRate | double | RO | Oscilloscope characteristic. |
Some more attributes was here in version 1, but not all of them are available in all the oscilloscope. The abstract class as a generalization, has to avoid them.
- Dynamic Attibutes:
| Attribute | Type | Format | Access | Description |
|---|---|---|---|---|
| ScaleChN | double | scalar | RW | |
| OffsetChN | double | scalar | RW | |
| ImpedanceChN | double | scalar | RO | Some times it can be RW, but not all the scope supports this change |
| ChannelN | double | spectrum | RO | |
With the letter 'N' it's mean the number as argin refereed as a channel number.
States
The following states must be implemented :
- ON - The instrument is on and running.
- OFF - There is no open comunication to the instrument, but the device is running.
- FAULT - something on the oscilloscope was wrong.
Concrete Classes
The following device servers implement the Oscilloscope Abstract interface :Version 1
Commands
The following commands must be implemented :
- Start - Open the communication to the instrument (state = ON if the instrument is there, anything else state = FAULT)
- Stop - Close the instance to the instrument.
- Reset - If the established communication has some problem it is reestablished with the same situation. ("Stop-Start" will clean the environment).
Attibutes
The following attributes must be implemented :
- Scalar:
| Attribute | Type | Access | Description |
|---|---|---|---|
| HOffset | short | RW | Time base offset. |
| HScale | double | RW | Time base scale. |
| Delay | short | RO | |
| CurrentSampleRate | double | RO | Oscilloscope characteristic. |
- Spectrum:
| Attribute | Type | Access | Description |
|---|---|---|---|
| Impedances | double | RW | The impedance value of each channel. |
| VOffset | double | RW | The vertical offset of each channel. |
| VScale | double | RW | The volts per division of each channel. |
- Image:
| Attribute | Type | Access | Description |
|---|---|---|---|
| Channels | double | RO | This represents the spectrums of all channels. |
States
The following states must be implemented :
- ON - The instrument is on and running.
- OFF - There is no open comunication to the instrument, but the device is running.
- FAULT - something on the oscilloscope was wrong.
Concrete Classes
The following device servers implement the Oscilloscope Abstract interface :Clients
The following client programs depend on the Ccd interface :
- _
Contact
Please contact Sergi Blanch (sblanch at cells dot es) if you want to make proposals to change this interface or have questions about it.

