Average: 0
Rating Count: 0

Development status: Released, Release: Release_1_0
Information status: Updated
Repository: https://github.com/ALBA-Synchrotron/AmptekPX5DS.git

Class Description

Device server to control the MCA Amptek PX5. The device server implements the communication by UDP socket. It can start and stop one acquisition and after read the Spectrum data. In addition it exports some configuration attributes and a command to send ascii commands.

Families: Acquisition

Key words:

Platform: Unix Like

Language: Cpp




Manufacturer: Amptek



Bus: Ethernet

Class interface


Name Description
SpectrumSpectrum: DevULong
CountsRoI8Scalar: DevULong
CountsRoI7Scalar: DevULong
CountsRoI6Scalar: DevULong
CountsRoI5Scalar: DevULong
CountsRoI4Scalar: DevULong
CountsRoI3Scalar: DevULong
CountsRoI2Scalar: DevULong
CountsRoI1Scalar: DevULong
TotalGainScalar: DevDouble
SlowCountScalar: DevULong
SCA8LTScalar: DevULong SCA8 Low Threshold
SCA8HTScalar: DevULong SCA8 High Threshold
SCA7LTScalar: DevULong SCA7 Low Threshold
SCA7HTScalar: DevULong SCA7 High Threshold
SCA6LTScalar: DevULong SCA6 Low Threshold
SCA6HTScalar: DevULong SCA6 High Threshold
SCA5LTScalar: DevULong SCA5 Low Threshold
SCA5HTScalar: DevULong SCA5 High Threshold
SCA4LTScalar: DevULong SCA4 Low Threshold
SCA4HTScalar: DevULong SCA4 High Threshold
SCA3LTScalar: DevULong SCA3 Low Threshold
SCA3HTScalar: DevULong SCA3 High Threshold
SCA2LTScalar: DevULong SCA2 Low Threshold
SCA2HTScalar: DevULong SCA2 High Threshold
SCA1LTScalar: DevULong SCA1 Low Threshold
SCA1HTScalar: DevULong SCA1 High Threshold
PileupRejectScalar: DevString It`s used to enable or disable Pile-up Rejection.
PeakingTimeScalar: DevDouble It selects the peaking time for the slow (shape) channel.
MCACScalar: DevULong
FlatTopWidthScalar: DevDouble It selects the flat top width of the trapezoidal shaper. A flat top fo 0uS will result in a triangular shape, not trapezoidal.
FineGainScalar: DevDouble
FastCountScalar: DevULong
DeadTimeScalar: DevDouble
Con1Scalar: DevString Connector 1 output
CoarseGainScalar: DevShort It Selects the analog gain.
ClockScalar: DevLong
AuxOut1Scalar: DevString Auxiliary output
AcquisitionTimeScalar: DevDouble It sets the preset acquisition time.


Name Description
AutoTuneInput: DevVoid
Output: DevVoid
This Command execute AutoTune Process
ClearInputBufferInput: DevVoid
Output: DevVoid
Clears the socket from any buffered incoming data.
LatchGetClearSCAInput: DevVoid
Output: DevVarULongArray
ClearSpectrumInput: DevVoid
Output: DevVoid
DisableInput: DevVoid
Output: DevVoid
EnableInput: DevVoid
Output: DevVoid
EchoInput: DevString
Output: DevString
GetTextConfigurationInput: DevVarStringArray
Output: DevVarStringArray
SetTextConfigurationInput: DevVarStringArray
Output: DevVoid
StatusInput: DevVoid
Output: ConstDevString
Device status
This command gets the device status (stored in its device_status data member) and returns it to the caller.
StateInput: DevVoid
Output: State
Device state
This command gets the device state (stored in its device_state data member) and returns it to the caller.



Name Description
NrOfUdpAttemptsDevUShort How many time udp request is repeated
TimeoutDevDouble socket timeout for receiving communication
PortDevLong UDP port number
HostnameDevString Host name of PX5

Please log in to comment.

23 Nov 2020, Zbigniew Reszela
The device class has been updated.
You can see previous version here .

23 Feb 2017, Piotr Goryl
The device class has been updated.
You can see previous version here .

19 Jan 2017, Piotr Goryl
The device server has been updated.
You can see previous version here .

2 Jan 2017, Piotr Goryl
The device server has been added to catalogue.
Added by:pgoryl2 on:2 Jan 2017, 3:43 p.m.