.

Average: 0
Rating Count: 0

Development status: Released, Release: Release_2_5
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
Position5DataSpectrum: DevDouble Positions from encoder2, in physical units.
Position4DataSpectrum: DevDouble Positions from encoder2, in physical units.
Position3DataSpectrum: DevDouble Positions from encoder2, in physical units.
Position2DataSpectrum: DevDouble Positions from encoder2, in physical units.
Encoder5DataSpectrum: DevDouble Positions where the triggers were done, in encoder units
Encoder4DataSpectrum: DevDouble Positions where the triggers were done, in encoder units
Encoder3DataSpectrum: DevDouble Positions where the triggers were done, in encoder units
Encoder2DataSpectrum: DevDouble Positions where the triggers were done, in encoder units
Position1DataSpectrum: DevDouble Positions where the triggers were done, in physical units.
Encoder1DataSpectrum: DevDouble Positions where the triggers were done, in encoder units
CounterDataSpectrum: DevDouble
TriggersPerFileScalar: DevLong Minimum number of trigger per file. If 0, all trigger will be written in the same file.
Metadata5Scalar: DevString String to write as attribute to the field Encoder5 in the nexus file
Metadata4Scalar: DevString String to write as attribute to the field Encoder4 in the nexus file
Metadata3Scalar: DevString String to write as attribute to the field Encoder3 in the nexus file
Metadata2Scalar: DevString String to write as attribute to the field Encoder2 in the nexus file
Metadata1Scalar: DevString String to write as attribute to the field Encoder1 in the nexus file
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
CurrentPosition5Scalar: DevDouble Encoder position transformed to physical units
CurrentPosition4Scalar: DevDouble Encoder position transformed to physical units
CurrentPosition3Scalar: DevDouble Encoder position transformed to physical units
CurrentPosition2Scalar: DevDouble Encoder position transformed to physical units
EncoderTriggeringScalar: DevLong Encoder used for trigger settings in position
PositionTriggerStopScalar: DevDouble Position at which the triggers stop (only used if triggermode 6)
Position5ConversionScalar: DevDouble Conversion from enconder values to physical units: steps = conversion*units
Position4ConversionScalar: DevDouble Conversion from enconder values to physical units: steps = conversion*units
Position3ConversionScalar: DevDouble Conversion from enconder values to physical units: steps = conversion*units
Position2ConversionScalar: DevDouble Conversion from enconder values to physical units: steps = conversion*units
BufferLoadScalar: DevDouble Percentage of SDRAM buffer currently read
RemainingTriggersScalar: DevLong
EncoderTriggerScalar: DevLong Encoder position where the current trigger is done.
TriggerCounterScalar: DevLong
FileDirScalar: DevString Directory to save the data
FilePrefixScalar: DevString File to save the data: FilePrefix.csv
CurrentPosition1Scalar: DevDouble Encoder position transformed to physical units
Position1ConversionScalar: DevDouble Conversion from enconder values to physical units: steps = conversion*units
TimeTriggerStepSizeScalar: DevDouble Step size for triggers in time (only used if triggermode 2 or 3).
TimeTriggerStartScalar: DevDouble Time delay before start triggering after arming (only used if triggermode 2 or 4)
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
ArmScalar: DevLong Set to 1 for start triggering und to 0 to stop.
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).
NbTriggersScalar: DevLong Number of trigger to generate
PositionTriggerStepSizeScalar: DevDouble Step size for triggers in position (used if triggermode 1, 4 or 6).
PositionTriggerStartScalar: DevDouble Position at which the triggers start after arming (used if triggermode 1, 3 or 6)

Commands:

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

Pipes:

Properties:

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


Please log in to comment.

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



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



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



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



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



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



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



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



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



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



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



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



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