.

Average: 0
Rating Count: 0

Development status: Released
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/StandardInterfaces/AnalogDAQ
Contact:



Class Description


Abstract Class for Analog Input Output Acquisition

Device Description AnalogDAQ Class

Revision: - Author: srubio - CVS repository: ESRF

Families: StandardInterfaces

Key words:

Language: Cpp

License:

Contact:

Class interface


Attributes:

Name Description
SampleRateScalar: DevLong
ChannelSamplesPerTriggerScalar: DevLong
NumOfTriggersScalar: DevLong
MaxRefSourceScalar: DevDouble
MinRefSourceScalar: DevDouble
TriggerSourcesScalar: DevString
TriggerModeScalar: DevUShort
BufferPeriodScalar: DevDouble
BufferedChannelsListSpectrum: DevString
RawDATAImage: DevLong
DoubleDATAImage: DevDouble
FileNameScalar: DevString
ScalarValueScalar: DevDouble
ChannelSpectrumSpectrum: 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
None.
StopInput: DevVoid
Output: DevVoid
None.
ImportFileInput: DevString
Output: DevBoolean
Imports the file defined by the FileName Attribute
ExportFileInput: DevString
Output: DevBoolean
Exports to the file described by the FileName attribute

Pipes:

Properties:

Name Description
BoardIdDevString It must be an unique identifier for each card on the PC/Rack where it is installed. It could be the Board Number in the Rack, the Serial Number or the Product Id.
BoardTypeDevString Product Descriptor that allow us to identify this card, its provider and its behavior
IsInputDevBoolean Input/Output Direction of the Channels to be managed,defined in this context: 1. Each Tango Device will manage all the Channels of a same Type/Direction of a DAQ Card. 2. Won’t be two Analog Inputs accessing to the same Card; and two different devices (1 AI + 1 AO) will be needed to manage a Multi-Purpose Card with Channels of both types. -> The Read/Write permissions of the DoubleDATA, RawDATA, *ChannelValues and *LastValue Attributes will be determined by the value of this Property The value will be 1 for input, and 0 for output
OnBoardBufferDevLong Onboard Buffer of the Physical Device.
MaxSampleRateDevLong Maximum Sample Rate (per Channel) that is capable the DAQ Card. -> The SampleRate.MaxValue Attribute Property will be fixed each time this Property is modified.
MaxSourceRangeDevDouble Maximum Source Range allowed (Bipolar), it is understood as +/-MaxSourceRange. -> The Attributes MaxSourceRef and MinSourceRef will adapt its MaxValue and MinValue Properties to the value stored in this Property.
DynamicRangeDevShort Number of Bits of the DAQ Converter. -> It allows to convert from RawDATA (binary obtained from the Analog to Digital converter) to DoubleDATA (float point values normalized in the SourceRange).
UnitsDevString Units concerning to the data measured/generated. -> This property will modify the units for all related Attributes.
NumOfChannelsDevShort Total number of channels available in the DAQ card. This Property refers only to the Physical Channels of the same type of the Abstract Class (e.g. in an Analog Input Device it will refer only to the Analog Input Channels). -> It determines the maximum size of the Attribute BufferedChannels List and fixes the Attribute default value.
AutoStartDevBoolean If set to `True` the command `start` will be run automatically after initialization. It will respect memorized attributes, so `start` will be performed AFTER all memorized attributes have been applied.


Please log in to comment.

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, 11:27 a.m.