SpectrumAnalyzer
Device Commands Description
SpectrumAnalyzer Class
Revision: - Author:
1 - Init
- Description: This commands re-initialise a device keeping the same network connection.
After an Init command executed on a device, it is not necessary for client to re-connect to the device.
This command first calls the device delete_device() method and then execute its init_device() method.
For C++ device server, all the memory allocated in the nit_device() method must be freed in the delete_device() method.
The language device desctructor automatically calls the delete_device() method.
 
- Argin:
DEV_VOID
: none.
 
- Argout:
DEV_VOID
: none.
 
- Command allowed for:
- Tango::ON
- Tango::OFF
- Tango::FAULT
- Tango::DISABLE
- Tango::UNKNOWN
 
2 - State
- Description: This command gets the device state (stored in its device_state data member) and returns it to the caller.
 
- Argin:
DEV_VOID
: none.
 
- Argout:
DEV_STATE
: State Code
 
- Command allowed for:
- Tango::ON
- Tango::OFF
- Tango::FAULT
- Tango::DISABLE
- Tango::UNKNOWN
 
3 - Status
- Description: This command gets the device status (stored in its device_status data member) and returns it to the caller.
 
- Argin:
DEV_VOID
: none.
 
- Argout:
CONST_DEV_STRING
: Status descrition
 
- Command allowed for:
- Tango::ON
- Tango::OFF
- Tango::FAULT
- Tango::DISABLE
- Tango::UNKNOWN
 
4 - Reset
- Description: Resets instrument
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
- Tango::ON
- Tango::DISABLE
- Tango::UNKNOWN
 
5 - ClearStatus
- Description: Clears all data in instrument. IEEE common command.
See specific instrument documentation for details.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
- Tango::ON
- Tango::DISABLE
- Tango::UNKNOWN
 
6 - Remote
- Description: Remote control enabled.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
- Tango::ON
- Tango::DISABLE
- Tango::UNKNOWN
 
7 - Local
- Description: Disables remote control and enables front panel instrument interaction.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
- Tango::ON
- Tango::OFF
- Tango::FAULT
- Tango::DISABLE
- Tango::UNKNOWN
 
8 - GetPeak
- Description: Sets the marker to the maximum peak. Then one can read X and Y positions of the just
placed marker.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
 
9 - SetSingleSweep
- Description: Sets the analyzer to the single sweep mode.
See specific instrument documentation for details.
IVI SpecAn base attribute.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
 
10 - ChangePowUnits
- Description: Changes the power units of measure. Values allowed: DBM, DBMV, DBUV, W, V.
IVI SpecAn base attribute.
See specific instrument documentation for details.
 
- Argin:
DEV_STRING
: Set the power units of measure: DBM, DBMV, DBUV, W, V
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
 
11 - GetErrorInfo
- Description: Queries the earliest entry to the error queue and then deletes that entry.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_STRING
: The string represents the earliest entry to the error queue.
 
- Command allowed for:
- Tango::ON
- Tango::OFF
- Tango::FAULT
- Tango::DISABLE
- Tango::UNKNOWN
 
12 - GetMin
- Description: Sets marker to the minimum amplitude value in current measure. Then one can read
the X and Y values querying the MarkerX and MarkerY attributes.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
 
13 - SetContinuousSweep
- Description: The trigger system is continuously initiated.
See specific instrument documentation for details.
IVI SpecAn base attribute 'Sweep Mode Continuous'.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
 
14 - RestartMeasurement
- Description: Restarts the measurement.
In instrument specific documentation one can find some details about the meaning of this
command.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
 
15 - SetAutoAttenuation
- Description: Enables or disables auto attenuation.
IVI SpecAn base attribute.
 
- Argin:
DEV_BOOLEAN
: 1 Enables auto attenuation, 0 disables it.
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
- Tango::ON
- Tango::DISABLE
- Tango::UNKNOWN
 
16 - GetAutoAttenuation
- Description: Returns auto attenuation status: enabled or disabled.
Auto attenuation is an IVI SpecAn base attribute.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_BOOLEAN
: ! if auto attenuation is enabled, 0 if disabled
 
- Command allowed for:
- Tango::ON
- Tango::OFF
- Tango::FAULT
- Tango::DISABLE
- Tango::UNKNOWN
 
17 - SetAsciiData
- Description: Sets the format of the output data of a measurement to ASCII.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
- Tango::ON
- Tango::DISABLE
- Tango::UNKNOWN
 
18 - SetINT32Data
- Description: Sets the format of data to INT 32 (fastest). Trace data are in mdBm.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
- Tango::ON
- Tango::DISABLE
- Tango::UNKNOWN
 
19 - SetReal32Data
- Description: Sets the format of data to REAL 32: real values in amplitude units, in a definite length block.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
- Tango::ON
- Tango::DISABLE
- Tango::UNKNOWN
 
20 - GetDataFormat
- Description: Returns the format of the data in trace.
 
- Argin:
DEV_VOID
:
 
- Argout:
DEV_STRING
: Returns the format of the data in trace
 
- Command allowed for:
- Tango::ON
- Tango::DISABLE
- Tango::UNKNOWN
 
21 - SaveData
- Description: Save trace data to the specified file.
 
- Argin:
DEV_STRING
: Name of the file to which you want to save trace data.
 
- Argout:
DEV_VOID
:
 
- Command allowed for:
- Tango::ON
- Tango::DISABLE
- Tango::UNKNOWN
 
22 - PrintData
- Description: Specifying a filename containing an instrument data trace, data in trace is printed out on a
string.
 
- Argin:
DEV_STRING
: Input data filename.
 
- Argout:
CONST_DEV_STRING
: Output in string format.
 
- Command allowed for:
- Tango::ON
- Tango::DISABLE
- Tango::UNKNOWN
 
ESRF - Software Engineering Group