Average: 0
Rating Count: 0

Development status: New development
Information status: New
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/AcceleratorComponents/PyLyrtechDLLRF

Class Description

Families: AcceleratorComponents

Key words:

Platform: All Platforms

Language: Python



Class interface


Name Description
DCMStatusSpectrum: DevString
ACQStateSpectrum: DevBoolean
ClockSourceSpectrum: DevString
GainLevelImage: DevShort


Name Description
ReadRegisterBlockInput: DevVarLongArray
Output: DevVarLongArray
SetGainLevelInput: DevVarStringArray
Output: DevString
StopInput: DevVarShortArray
Output: DevString
WriteRegisterInput: DevVarLongArray
Output: DevLong
FPGALoadInput: DevVarStringArray
Output: DevString
SetClockSourceInput: DevVarStringArray
Output: DevShort
ReadRegisterInput: DevVarLongArray
Output: DevLong
StartInput: DevVarShortArray
Output: DevString
ResetInput: DevVoid
Output: DevString



Name Description
NBoardsDevUShort Number of LyrtechDLLRF boards controlled by tis device. Should match with the number of LyrtechDLL RF boards connected to the equipment.

Please log in to comment.


README.txt file for PyLyrtechDLLRF device server

This device has been written by Manolo Broseta in the ALBA Synchrotron.
It includes Attributes, Properties and Fucntions to control the Lyrtech DLL RF FPGA card which is installed under windows XP.
For that purpose it uses the vhsadac16_api.dll which has been provided by the Nutaq Vendor.


The steps to install and run this device are:

1.- Copy the vhsadac16_api.dll api file into the c:\windows\system folder which contains the windows dll's.

2.- Copy the PyLyrtechDLLRF under the sicilia folder defined in the windows machine.

3.- Copy the PyLyrtechDLLRF.bat file into c:\sicilia\bin folder

4.- Launch device using Astor.


This device uses the logging python module. So the logs obtained are located in the c:\sicilia\PyLyrtechDLLRF\logs folder.
It will store up to 5 files of 5MBytes.

Version 1.0 - 18th November 2015
- Device server created with basic Lyrtech functionallity:
- Start/Stop
- Write/Read Registers
- Set Clock source
- Set ADC/DAC Gain Level

Version 1.1 - 20th November 2015
- ReadregisterBlock function implemented to read a block of register at the same time
- Reset function implement to perform a device reset. It just closes the open handles to the VHSADC boards.
- Revised State & Status message: ON = if all boards are started, OFF = all boads stopped and ALARM = if not all boards are started.

16 Jan 2018, DS Admin
The device class has been added to catalogue.
Added by:dadmin on:16 Jan 2018, 2:15 p.m.