.

Average: 0
Rating Count: 0

Development status: New development
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/InputOutput/ADLINK/AIController
Contact:



Class Description


Class to interface ADLink digital and analog boards through the ASL library.

This device interfaces the SAI daq boards (2005;2010;2204;2205). The main functions are : - the daq board inititialization - the daq board configuration - the acquisition on N channels

NOTE : - Start device one time to generate its default properties. - Allowed delimiters list : tabulation, comma, dot, semicolon, pipe and colon. - WARN : Use space character only for dynamic attribute description !!! - FATAL : all characters must be in upper case !!

Families: InputOutput

Key words: - ADLINK

Platform: All Platforms

Language: Cpp

License:

Contact:

Hardware


Manufacturer: ADLink

Bus: Compact PCI

Class interface


Attributes:

Name Description
logsSpectrum: DevString
nexusTargetPathScalar: DevString
nexusFileGenerationScalar: DevBoolean
triggerNumberScalar: DevLong
integrationTimeScalar: DevDouble
frequencyScalar: DevDouble
samplesNumberScalar: DevLong
forceContinuousModeScalar: DevBoolean
timeoutCounterScalar: DevLong
overrunCounterScalar: DevLong
errorCounterScalar: DevLong
dataCounterScalar: DevLong

Commands:

Name Description
AbortInput: DevVoid
Output: DevVoid
Command to abort the acquisition. Note that data may be lost .
StopInput: DevVoid
Output: DevVoid
Command to stop the acquisition.
StartInput: DevVoid
Output: DevVoid
Command to start the acquisition.
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
ConcatenateDaqBuffersDevBoolean Only available in Trigger mode when a triggerNumber is specified. Allows ADLINK driver to concatenate triggerNumber buffers in one buffer.
DO_NOT_MODIFY_DefaultDriverMemorySizeDevLong The fixed max samples number the driver can hold ! WARNING : DO NOT MODIFY THIS PROPERTY , THE DEVICE CAN CRASH !!!
NexusDataToPushDevString Attributes name list to push in Nexus file. Expected value : ``RAW``, ``SCALED`` or ``AVERAGE``. Default is empty. NOTE : - Expected value is case sensitive !!!
NexusNbAcqPerFileDevLong Indicates the number of acquisition pushed in a single Nexus file. Default set to 10.
TriggerConfigurationType Trigger configuration parameters as follow (with no quotes) : ``TYPE`` ``MODE`` ``EDGE`` ``SOURCE`` ``DELAY`` ``POST_TRIG_SAMPLES`` Possible values for each parameter : Type : NONE, ATRIG or DTRIG Mode : POST, PRE or MIDDLE Edge : RISING or FALLING Source : [Channel_ID] [CONDITION] [LOW_LEVEL_COND_IN_VOLTS] [HIGH_LEVEL_COND_IN_VOLTS] Delay : [UNIT] [VALUE] Post_trig_Samples : [UNIT] [VALUE] NOTES : 1) ``SOURCE`` : only available for ATRIG type. Value can be EXT or a channel number from 0 to 3. CONDITION can be BELOW_LOW_LEVEL, ABOVE_HIGH_LEVEL, INSIDE_REGION, HIGH_HYSTERESIS. 2) ``DELAY`` : UNIT can be CLOCK_TICKS or SAMPLES. It indicates the number of samples or nanoseconds will be ignored after a specific trigger event. 3) ``POST_TRIG_SAMPLES`` : only if selected Mode is MIDDLE. It indicates the number of samples will be accessed after a specific trigger event. Examples : TYPE : ATRIG MODE : MIDDLE EDGE : RISING SOURCE : 0:BELOW:-2.5 (or 1:HIGH_HYSTERESIS:-2.5:+2.5) DELAY : SAMPLES:100 POST_TRIG_SAMPLES : 1000
TimeoutDevLong Value out of which an exception is sent to inform the user that no acquired data is coming (in milliseconds).
ScaledDataDevBoolean Sets to true, all attributes data are scaled (in type DevDouble) else the attributes type is DevUShort.
SamplingSourceType Set the AI conversion signal source (i.e. DAC sampling source). Use one of the following: INTERNAL or EXTERNAL
OverrunStrategyType The overrun strategy (the strategy adopted in case of data lost). The possible values are NOTIFY, ABORT, TRASH, RESTART, IGNORE.
ChannelsConfigString[]Type Dynamic attribute configuration as follow (with no quotes) : ``LABEL`` ``CHANNEL NUMBER`` ``INPUT RANGE`` ``GROUND_REF`` [ATTR DESCRIPTION] Note : [] means optionnal
BoardTypeType ADLink ADC board type as this : ``Manufacturer`` : ``Familly`` : ``ID`` Examples : Adlink : SAI : 2005 Adlink : MAI : 2205
BoardNumDevShort ADLink ADC board identifier in the CPCI crate.
AutoStartAcquisitionDevBoolean TRUE : the acquisition starts when the device is up and ready.


Please log in to comment.

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