.

Average: 0
Rating Count: 0

Development status: Released, Release: release_1_3_2
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/CounterTimer/NI/EventCounting
Contact:



Class Description


Perform event counting on 7 input counters.
There is 2 modes: - Time mode: The counters count during a certain time parametrable. - Pulse mode: The counters count until counter1 has reached a parametrable value.

Families: CounterTimer

Key words: NI

Language: Cpp

License:

Contact:

Class interface


Attributes:

Name Description
counter7Scalar: DevDouble
counter6Scalar: DevDouble
counter5Scalar: DevDouble
counter4Scalar: DevDouble
counter3Scalar: DevDouble
counter2Scalar: DevDouble
counter1Scalar: DevDouble
counter0Scalar: DevDouble
modeScalar: DevShort
countingCompletedScalar: DevShort
integrationTimeScalar: DevDouble

Commands:

Name Description
StopInput: DevVoid
Output: DevVoid
Stop the acquisition.
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 driver version used to control the counting board.
ResetCounterInput: DevShort
Output: DevVoid
Reset the current value of a counter (put it to 0). NB: To reset all counters, use Init command.
ResetBoardInput: DevVoid
Output: DevVoid
Reset the physical board. The device needs to be init after.
AbortInput: DevVoid
Output: DevVoid
Stop the current counting action.
StartInput: DevVoid
Output: DevVoid
Start counting.
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.

Pipes:

Properties:

Name Description
ModeDevShort The chosen mode: - 1 : time mode, the counters will count for the time indicated by the attribute integrationTime (in secs) - 0: pulse mode, the counters will count until counter 1 has reached the value indicated by the attribute integrationTime (integer)
SlavesProxiesString[]Type The slaves device names (used only if IsMaster is equals to 1).
IsMasterDevShort Specify if the board generates the counting signal or if this signal comes from an external input. - If 1, the counter0 will generate the signal that specify the integration time of the other counters of the board. -If 0, the integration time will come from the input PFI38.
BoardNameDevString The name of the board as specified in Measurement & Automation eXplorer (MAX).


Please log in to comment.

Generated

PDF generated from POGO



README

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

Files generated:
===============
EventCounting.cpp: Source code for the EventCounting 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
EventCounting are implemented in this file.

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

EventCountingClass.cpp: A singleton class derived fromEventCounting.
It implements the command list and all properties
and methods required by the EventCounting once per process

EventCountingClass.h: Include for the EventCountingClass root class.
This class is represents the singleton class for
the EventCounting device class.
It contains all properties and methods which the
EventCounting 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
Updated:
The device class has been updated.
You can see previous version here .



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



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