This is historical information of device classes implemented in NXSDataWriter device server.

Use this link to find the valid information.

Development status: Released
Information status: New

Contact: jan.kotanski@desy.de



Class Description


NXSDataWriter is a Tango server which allows to store NeXuS Data in H5 files.

The server provides storing data from other Tango devices, various databases as well as passed by a user client via JSON strings.

Source code: https://github.com/nexdatas/writer Project Web page: https://nexdatas.github.io/writer NexDaTaS Web page: https://nexdatas.github.io

Families: Acquisition

Key words:

Platform: All Platforms

Language: Python

License: GPL

Contact: jan.kotanski@desy.de

Hardware


Manufacturer: DESY

Bus: Not Applicable

Class interface


Attributes:

Name Description
XMLSettingsScalar: DevString An XML string with Nexus configuration.
JSONRecordScalar: DevString A JSON string with global client data.
FileNameScalar: DevString A name of H5 output file with its full path
CurrentFileIdScalar: DevLong Current file id
StepsPerFileScalar: DevLong Current file id
ErrorsSpectrum: DevString list of errors

Commands:

Name Description
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.
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.
OpenFileInput: DevVoid
Output: DevVoid
Opens the H5 file
OpenEntryInput: DevVoid
Output: DevVoid
Creates the new entry
RecordInput: DevString
JSON string with data
Output: DevVoid
Records data for one scan step
CloseEntryInput: DevVoid
Output: DevVoid
Closes the entry
OpenEntryAsynchInput: DevVoid
Output: DevVoid
Creates the new entry in asynchronous mode
RecordAsynchInput: DevString
JSON string with data
Output: DevVoid
Records data for one scan step in asynchronous mode
CloseEntryAsynchInput: DevVoid
Output: DevVoid
Closes the entry is asynchronous mode
CloseFileInput: DevVoid
Output: DevVoid
Closes the H5 file

Pipes:

Properties:

Name Description
NumberOfThreadsDevLong maximal number of threads
WriterDevString writer module: `pni` or `h5py`

Added by:jkotanski on:8 Jun 2017, 9:50 a.m.