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
Contact:
Hardware
Manufacturer: ADLink
Bus: Compact PCI
Class interface
Attributes:
Name | Description |
---|---|
dataCounterScalar: DevLong | — |
errorCounterScalar: DevLong | — |
overrunCounterScalar: DevLong | — |
timeoutCounterScalar: DevLong | — |
forceContinuousModeScalar: DevBoolean | — |
samplesNumberScalar: DevLong | — |
frequencyScalar: DevDouble | — |
integrationTimeScalar: DevDouble | — |
triggerNumberScalar: DevLong | — |
nexusFileGenerationScalar: DevBoolean | — |
nexusTargetPathScalar: DevString | — |
logsSpectrum: DevString | — |
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 |
Command to start the acquisition. |
StopInput: DevVoid Output: DevVoid |
Command to stop the acquisition. |
AbortInput: DevVoid Output: DevVoid |
Command to abort the acquisition. Note that data may be lost . |
Pipes:
Properties:
Name | Description |
---|---|
AutoStartAcquisitionDevBoolean | TRUE : the acquisition starts when the device is up and ready. |
BoardNumDevShort | ADLink ADC board identifier in the CPCI crate. |
BoardTypeType | ADLink ADC board type as this : ``Manufacturer`` : ``Familly`` : ``ID`` Examples : Adlink : SAI : 2005 Adlink : MAI : 2205 |
ChannelsConfigString[]Type | Dynamic attribute configuration as follow (with no quotes) : ``LABEL`` ``CHANNEL NUMBER`` ``INPUT RANGE`` ``GROUND_REF`` [ATTR DESCRIPTION] Note : [] means optionnal |
OverrunStrategyType | The overrun strategy (the strategy adopted in case of data lost). The possible values are NOTIFY, ABORT, TRASH, RESTART, IGNORE. |
SamplingSourceType | Set the AI conversion signal source (i.e. DAC sampling source). Use one of the following: INTERNAL or EXTERNAL |
ScaledDataDevBoolean | Sets to true, all attributes data are scaled (in type DevDouble) else the attributes type is DevUShort. |
TimeoutDevLong | Value out of which an exception is sent to inform the user that no acquired data is coming (in milliseconds). |
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 |
NexusNbAcqPerFileDevLong | Indicates the number of acquisition pushed in a single Nexus file. Default set to 10. |
NexusDataToPushDevString | Attributes name list to push in Nexus file. Expected value : ``RAW``, ``SCALED`` or ``AVERAGE``. Default is empty. NOTE : - Expected value is case sensitive !!! |
DO_NOT_MODIFY_DefaultDriverMemorySizeDevLong | The fixed max samples number the driver can hold ! WARNING : DO NOT MODIFY THIS PROPERTY , THE DEVICE CAN CRASH !!! |
ConcatenateDaqBuffersDevBoolean | Only available in Trigger mode when a triggerNumber is specified. Allows ADLINK driver to concatenate triggerNumber buffers in one buffer. |
Please log in to comment.