This is historical information of device classes implemented in EventCounting device server.
Use this link to find the valid information.
Development status:
Released
Information status: Updated
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
Contact:
Class interface
Attributes:
Name | Description |
---|---|
integrationTimeScalar: DevDouble | — |
countingCompletedScalar: DevShort | — |
modeScalar: DevShort | — |
counter0Scalar: DevDouble | — |
counter1Scalar: DevDouble | — |
counter2Scalar: DevDouble | — |
counter3Scalar: DevDouble | — |
counter4Scalar: DevDouble | — |
counter5Scalar: DevDouble | — |
counter6Scalar: DevDouble | — |
counter7Scalar: DevDouble | — |
Commands:
Name | Description |
---|---|
StateInput: DevVoid Output: State |
This command gets the device state (stored in its device_state data member) and returns it to the caller. |
StatusInput: DevVoid Output: DevString |
This command gets the device status (stored in its device_status data member) and returns it to the caller. |
StartInput: DevVoid Output: DevVoid |
Start counting. |
AbortInput: DevVoid Output: DevVoid |
Stop the current counting action. |
ResetBoardInput: DevVoid Output: DevVoid |
Reset the physical board. The device needs to be init after. |
ResetCounterInput: DevShort Output: DevVoid |
Reset the current value of a counter (put it to 0). NB: To reset all counters, use Init command. |
GetDriverVersionInput: DevVoid Output: DevString |
Get the current driver version used to control the counting 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. |
GetBoardTypeInput: DevString Output: DevString |
Returns the type (ex: PXI-6602) of a specified board. |
StopInput: DevVoid Output: DevVoid |
Stop the acquisition. |
Pipes:
Properties:
Name | Description |
---|---|
BoardNameDevString | The name of the board as specified in Measurement & Automation eXplorer (MAX). |
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. |
SlavesProxiesString[]Type | The slaves device names (used only if IsMaster is equals to 1). |
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) |
README
b'//-============================================================\n//\n// This class has been generated by POGO\n// (Program Obviously used to Generate tango Object)\n//\n// (c) - Software Engineering Group - ESRF\n//=============================================================\n\n\nFiles generated:\n===============\nEventCounting.cpp: Source code for the EventCounting class and its commands.\n This class is derived from DeviceImpl_2 class.\n It represents the CORBA servant obbject which\n will be accessed from the network.\n All commands which can be executed on the\n EventCounting are implemented in this file.\n\nEventCounting.h: Include for the EventCounting class.\n Server class prototypes and descriptions.\n\nEventCountingClass.cpp: A singleton class derived fromEventCounting.\n It implements the command list and all properties\n and methods required by the EventCounting once per process\n\nEventCountingClass.h:\tInclude for the EventCountingClass root class.\n This class is represents the singleton class for\n the EventCounting device class.\n It contains all properties and methods which the \n EventCounting requires only once e.g. the commands.\n\nmain.cpp:\t\tC++ source for a TANGO device server main.\n The main rule is to initialise (and create) the Tango\n system and to create the DServerClass singleton.\n The main should be the same for every Tango device server.\n\nClassFactory.cpp:\tC++ source for the class_factory method of the DServer\n device class. This method is responsible to create\n all class singletin for a device server. It is called\n at device server startup\n'
Updated:
The device class has been updated.
You are looking at this version now.
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.