Information status: Updated
- 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.
Key words: NI
|Stop the acquisition.|
|Returns the type (ex: PXI-6602) of a specified board.|
|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.|
|Get the current driver version used to control the counting board.|
|Reset the current value of a counter (put it to 0). NB: To reset all counters, use Init command.|
|Reset the physical board. The device needs to be init after.|
|Stop the current counting action.|
|This command gets the device status (stored in its device_status data member) and returns it to the caller.|
|This command gets the device state (stored in its device_state data member) and returns it to the caller.|
|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)|
|SlavesProxiesStringType||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.
// This class has been generated by POGO
// (Program Obviously used to Generate tango Object)
// (c) - Software Engineering Group - ESRF
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