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/AIControllerV2

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.

Families: InputOutput

Key words: - ADLINK

Platform: Windows

Language: Cpp




Manufacturer: ADLink

Bus: Compact PCI

Class interface


Name Description
nexusNbAcqPerFileScalar: DevUShort
nexusTargetPathScalar: DevString
nexusFileGenerationScalar: DevBoolean
integrationTimeScalar: DevDouble
frequencyScalar: DevDouble
samplesNumberScalar: DevULong
configurationNameScalar: DevString
configurationIdScalar: DevUShort


Name Description
GetChannelInfoInput: DevVoid
Output: DevVarLongStringArray
name of the `dataset enabled` TANGO attribute}
SetDatasetNameInput: DevVarLongStringArray
Output: DevVoid
dataset name}, with dataset type among: RAW, SCALED, AVERAGE, RMS, PEAK, USER, DATA_HIST.
GetDataStreamsInput: DevVoid
Output: DevVarStringArray
Returns the flyscan data streams associated with this device.
NexusResetBufferIndexInput: DevVoid
Output: DevVoid
Call the nexuscpp function : ResetBufferIndex, which is used to start a new acquisition sequence with index starting at 1
AbortInput: DevVoid
Output: DevVoid
Aborts the acquisition. Note that data may be lost .
StopInput: DevVoid
Output: DevVoid
Stops the acquisition.
StartInput: DevVoid
Output: DevVoid
Starts 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.



Name Description
FlyscanSpoolDevString The flyscan spool identifier. Must be specified in case this AIController instance belongs to a Flyscan architecture. Defaults to unknown-spool.
DO_NOT_MODIFY_DefaultDriverMemorySizeDevLong The fixed max samples number the driver can hold (in KBytes)! WARNING : DO NOT MODIFY THIS PROPERTY , THE DEVICE CAN CRASH !!!
Config1String[]Type ADC board configuration number 1. Each configuration property should be named ``Config``. Each configuration feature is defined by a KEY::{value} format: NAME::{MyConfigName} CHAN_LABEL::{channel label} CHAN_NUMBER::{channel number} CHAN_RANGE::{channel input range} CHAN_GRD_REF::{channel ground reference} CHAN_DESCRIPTION::{channel description}[optional, default = ``] CHAN_USER_DATA::{true/false}:{user data unit} [optional, default = false,````] CHAN_USER_DATA_GAIN::ATTR/PROXY:{device name if proxy}:{device attribute if proxy}[optional, default = ATTR, val = 1] CHAN_USER_DATA_OFFSET1::ATTR/PROXY:{device name if proxy}:{device attribute if proxy}[optional, default = ATTR, val = 0] CHAN_USER_DATA_OFFSET2::ATTR/PROXY:{device name if proxy}:{device attribute if proxy}[optional, default = ATTR, val = 0] SCALED_DATA::{true/false} STATISTICS::{true/false}[optional, default = false] HISTORIZED_DATA::{true/false} [optional, default = false] BUFFER_TIMESTAMP::{true/false} [optional, default = false] NX_DATA_TYPE::{list of RAW, SCALED, AVERAGE, RMS, PEAK, USER, DATA_HIST, TIMESTAMP} [optional, default = empty list] NX_FILE_NAME::{name} [optional, default = devicename_model_board_id] OVERRUN_STRATEGY::{one among NOTIFY, ABORT, TRASH, RESTART, IGNORE} [optional, default = NOTIFY] SAMPLING_SOURCE::{one among INTERNAL, EXTERNAL}:{initial sampling rate} [optional, default = INTERNAL:10000] TIMEOUT::{data timeout in ms}[optional, default=1000] TRIGGER_MODE::{one among INTERNAL, POST, PRE, MIDDLE, POST_DELAYED, INTERNAL_POSTMORTEM} TRIGGER_EXT_TYPE::{one among ATRIG, DTRIG} [if trigger mode != INTERNAL] TRIGGER_EXT_ATRIG_SRC::{EXT or a channel number from 0 to 3}:{one condition BELOW, ABOVE, REGION, HYSTERESIS}:{low level condition in V}:{high level condition in V} [if ATRIG trigger mode] TRIGGER_EXT_EDGE::{one among FALLING, RISING} TRIGGER_EXT_POST_DELAY::{delay unit among CLOCK_TICKS, SAMPLES}:{delay value} [if POST_DELAYED trigger mode] TRIGGER_EXT_MIDDLE_POST_TRIG_SAMPLES::{delay unit among CLOCK_TICKS, SAMPLES}:{delay value} [if MIDDLE trigger mode] TRIGGER_EXT_POST_FINITE_MODE::{one among SAFE, BEST_EFFORT} [if POST or POST_DELAYED trigger mode, default = BEST_EFFORT] AUTO_TUNING::{true/false} [optional, default = false] No default configuration. At least one configuration must be defined.
BoardNumDevShort ADLink ADC board CPCI identifier.
BoardTypeDevString ADLink ADC board type as this: ``Manufacturer``:``Familly``:``ID`` Examples: ADLINK:SAI:2005 ADLINK:MAI:2205 No default value.
AutoStartAcquisitionDevBoolean Enables or disables the automatic acquisition start, i.e.: if set to true, the acquisition starts when the device is up and ready.

Please log in to comment.

22 Feb 2018, DS Admin
The device class has been updated.
You can see previous version here .

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

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