.

Average: 0
Rating Count: 0

Development status: Released, Release: Release_2_8
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/OtherInstruments/PiLCTriggerGenerator
Contact:



Class Description


Trigger generator using the PiLC

Families: OtherInstruments

Key words:

Platform: Unix Like

Language: Cpp

License: GPL

Contact:

Hardware


Manufacturer: none

Bus: Not Applicable

Class interface


Attributes:

Name Description
CurrentPosition1Scalar: DevDouble Encoder position transformed to physical units
PositionTriggerStartScalar: DevDouble Position at which the triggers start after arming (used if triggermode 1, 3 or 6)
PositionTriggerStepSizeScalar: DevDouble Step size for triggers in position (used if triggermode 1, 4 or 6).
NbTriggersScalar: DevLong Number of trigger to generate
TriggerPulseLengthScalar: DevDouble Length of the trigger pulse. Used in all trigger modes. It has to be smaller than the TimeTriggerStepSize (for trigger modes 2 and 3) and smaller than the time the motor needs for travelling the PositionTriggerStepSize for trigger modes (1 and 4).
ArmScalar: DevLong Set to 1 for start triggering und to 0 to stop.
TriggerModeScalar: DevLong Trigger Mode: start and step in: 1 -> position, 2 -> time, 3 -> position-time , 4 -> time-position, 5 -> external signal, 6-> zig-zag mode, triggers generated in postions between two limits, 7-> zig-zag mode, triggers generated in time intervals between two positions, 8-> external gate mode, 9 > External Trigger Mode with Trigger and Gate output
TimeTriggerStartScalar: DevDouble Time delay before start triggering after arming (only used if triggermode 2 or 4)
TimeTriggerStepSizeScalar: DevDouble Step size for triggers in time (only used if triggermode 2 or 3).
Position1ConversionScalar: DevDouble Conversion from enconder values to physical units: steps = conversion*units
FilePrefixScalar: DevString File to save the data: FilePrefix.csv
FileDirScalar: DevString Directory to save the data
TriggerCounterScalar: DevLong
EncoderTriggerScalar: DevLong Encoder position where the current trigger is done.
RemainingTriggersScalar: DevLong
BufferLoadScalar: DevDouble Percentage of SDRAM buffer currently read
Position2ConversionScalar: DevDouble Conversion from enconder values to physical units: steps = conversion*units
Position3ConversionScalar: DevDouble Conversion from enconder values to physical units: steps = conversion*units
Position4ConversionScalar: DevDouble Conversion from enconder values to physical units: steps = conversion*units
Position5ConversionScalar: DevDouble Conversion from enconder values to physical units: steps = conversion*units
PositionTriggerStopScalar: DevDouble Position at which the triggers stop (only used if triggermode 6)
EncoderTriggeringScalar: DevLong Encoder used for trigger settings in position
CurrentPosition2Scalar: DevDouble Encoder position transformed to physical units
CurrentPosition3Scalar: DevDouble Encoder position transformed to physical units
CurrentPosition4Scalar: DevDouble Encoder position transformed to physical units
CurrentPosition5Scalar: DevDouble Encoder position transformed to physical units
MaskDataToWriteScalar: DevDouble Mask for the writing of data, set to 1 the bit corresponding to the data you don`t want to be writen: counter 1, encoder1 2, encoder2 3, encoder3 4, encoder4 5, encoder5 6. Ex. not write encoder1 -> 2, not write encoder1 and encoder4 -> 18
Metadata1Scalar: DevString String to write as attribute to the field Encoder1 in the nexus file
Metadata2Scalar: DevString String to write as attribute to the field Encoder2 in the nexus file
Metadata3Scalar: DevString String to write as attribute to the field Encoder3 in the nexus file
Metadata4Scalar: DevString String to write as attribute to the field Encoder4 in the nexus file
Metadata5Scalar: DevString String to write as attribute to the field Encoder5 in the nexus file
TriggersPerFileScalar: DevLong Minimum number of trigger per file. If 0, all trigger will be written in the same file.
SoftwareInhibitScalar: DevLong If set to 1 scan PiLC is paused. Reads the last written value.
HardwareInhibitScalar: DevDouble Reads hardware inhibit state: 0 no inhibit, 1 inhibit
CounterConfigScalar: DevLong 0 -> counter input 1 -> status input
CounterDataSpectrum: DevDouble
Encoder1DataSpectrum: DevDouble Positions where the triggers were done, in encoder units
Position1DataSpectrum: DevDouble Positions where the triggers were done, in physical units.
Encoder2DataSpectrum: DevDouble Positions where the triggers were done, in encoder units
Encoder3DataSpectrum: DevDouble Positions where the triggers were done, in encoder units
Encoder4DataSpectrum: DevDouble Positions where the triggers were done, in encoder units
Encoder5DataSpectrum: DevDouble Positions where the triggers were done, in encoder units
Position2DataSpectrum: DevDouble Positions from encoder2, in physical units.
Position3DataSpectrum: DevDouble Positions from encoder2, in physical units.
Position4DataSpectrum: DevDouble Positions from encoder2, in physical units.
Position5DataSpectrum: DevDouble Positions from encoder2, in physical units.

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.
CalibrateEncoder1Input: DevDouble
Position to load (in physical units)
Output: DevVoid
Set encoder position to the given value (in physical units).
CalibrateEncoder2Input: DevDouble
Position to load (in physical units)
Output: DevVoid
Set encoder position to the given value (in physical units).
CalibrateEncoder3Input: DevDouble
Position to load (in physical units)
Output: DevVoid
Set encoder position to the given value (in physical units).
CalibrateEncoder4Input: DevDouble
Position to load (in physical units)
Output: DevVoid
Set encoder position to the given value (in physical units).
CalibrateEncoder5Input: DevDouble
Position to load (in physical units)
Output: DevVoid
Set encoder position to the given value (in physical units).

Pipes:

Properties:

Name Description
PiLCDeviceDevString Name of the PiLC tango device to connect to


Please log in to comment.

12 Mar 2022, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



13 Jun 2020, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



10 Aug 2019, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



3 Aug 2019, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



6 Apr 2019, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



27 Oct 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



20 Oct 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



6 Oct 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



29 Sep 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



28 Apr 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



24 Mar 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



3 Feb 2018, DS Admin
Updated:
The device class has been updated.
You can see previous version here .



19 Aug 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



6 May 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



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



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



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