Average: 0
Rating Count: 0

Development status: New development
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/CounterTimer/NI/RetrigPulseGeneration

Class Description

Generate a single pulse on 8 counters each time a trigger is received. The delay
and the width of each pulse is configurable.

Families: CounterTimer

Key words: NI

Language: Cpp



Class interface


Name Description
pulseWidthCounter7Scalar: DevDouble
delayCounter7Scalar: DevDouble
counter7EnableScalar: DevBoolean
pulseWidthCounter6Scalar: DevDouble
delayCounter6Scalar: DevDouble
counter6EnableScalar: DevBoolean
pulseWidthCounter5Scalar: DevDouble
delayCounter5Scalar: DevDouble
counter5EnableScalar: DevBoolean
pulseWidthCounter4Scalar: DevDouble
delayCounter4Scalar: DevDouble
counter4EnableScalar: DevBoolean
pulseWidthCounter3Scalar: DevDouble
delayCounter3Scalar: DevDouble
counter3EnableScalar: DevBoolean
pulseWidthCounter2Scalar: DevDouble
delayCounter2Scalar: DevDouble
counter2EnableScalar: DevBoolean
pulseWidthCounter1Scalar: DevDouble
delayCounter1Scalar: DevDouble
counter1EnableScalar: DevBoolean
pulseWidthCounter0Scalar: DevDouble
delayCounter0Scalar: DevDouble
counter0EnableScalar: DevBoolean


Name Description
GetBoardTypeInput: DevString
Output: DevString
Returns the type (ex: PXI-6602) of a specified board.
GetBoardsInChassisInput: DevVoid
Output: DevString
Get a string containing all the boards names (from NI) present in the chassis where this device is running. This names are defined in MAX.
GetDriverVersionInput: DevVoid
Output: DevString
Get the current version of the driver installed for NI counter boards.
ResetBoardInput: DevVoid
Output: DevVoid
Reset the physical board. After this command, the board is in an unknown state (no more configured). The device must be initialized.
AbortInput: DevVoid
Output: DevVoid
Abort generations.
StopInput: DevVoid
Output: DevVoid
Stop generations of pulses.
StartInput: DevVoid
Output: DevVoid
Start generations of pulses.
StatusInput: DevVoid
Output: DevString
This command gets the device status (stored in its device_status data member) and returns it to the caller.
StateInput: DevVoid
Output: State
This command gets the device state (stored in its device_state data member) and returns it to the caller.



Name Description
IdleStateCounter0DevString cCan be LOW or HIGH.
ExternalFrequencyDevDouble In case of using an external clock, the frequency of this clock in Hz.
ClockDevString The clock used. Possible values are ``INTERNAL`` or ``PFIxx``, with xx the pin number.
AutoStartDevBoolean If true, the generation will start at device startup and when command ``Init`` is executed.
BoardNameDevString The name of the board.
TriggerSourceDevString The name of the terminal for the input trigger.

Please log in to comment.


PDF generated from POGO


// This class has been generated by POGO
// (Program Obviously used to Generate tango Object)
// (c) - Software Engineering Group - ESRF

Files generated:
RetrigPulseGeneration.cpp: Source code for the RetrigPulseGeneration class and its commands.
This class is derived from DeviceImpl_2 class.
It represents the CORBA servant obbject which
will be accessed from the network.
All commands which can be executed on the
RetrigPulseGeneration are implemented in this file.

RetrigPulseGeneration.h: Include for the RetrigPulseGeneration class.
Server class prototypes and descriptions.

RetrigPulseGenerationClass.cpp: A singleton class derived fromRetrigPulseGeneration.
It implements the command list and all properties
and methods required by the RetrigPulseGeneration once per process

RetrigPulseGenerationClass.h: Include for the RetrigPulseGenerationClass root class.
This class is represents the singleton class for
the RetrigPulseGeneration device class.
It contains all properties and methods which the
RetrigPulseGeneration requires only once e.g. the commands.

main.cpp: C++ source for a TANGO device server main.
The main rule is to initialise (and create) the Tango
system and to create the DServerClass singleton.
The main should be the same for every Tango device server.

ClassFactory.cpp: C++ source for the class_factory method of the DServer
device class. This method is responsible to create
all class singletin for a device server. It is called
at device server startup

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

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

23 Feb 2017, Piotr Goryl
The device class has been added to catalogue.
Added by:pgoryl2 on:23 Feb 2017, 11:01 a.m.