PulseGeneration - - TANGO Controls
.

Average: 0
Rating Count: 0

Development status: New development
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/CounterTimer/NI/PulseGeneration
Contact:



Class Description


2 modes (depending on properties):
-Mode Retrig: Generate a single pulse on 8 counters each time a trigger is received. -Mode Continuous: Generate pulses continuously on 8 counters. The delay and the width of each pulse is configurable.

Families: CounterTimer

Key words: NI

Language: Cpp

License:

Contact:

Class interface


Attributes:

Name Description
generationTypeScalar: DevString —
pulseNumberScalar: DevLong —
counter0EnableScalar: DevBoolean —
initialDelay0Scalar: DevDouble —
delayCounter0Scalar: DevDouble —
pulseWidthCounter0Scalar: DevDouble —
counter1EnableScalar: DevBoolean —
initialDelay1Scalar: DevDouble —
delayCounter1Scalar: DevDouble —
pulseWidthCounter1Scalar: DevDouble —
counter2EnableScalar: DevBoolean —
initialDelay2Scalar: DevDouble —
delayCounter2Scalar: DevDouble —
pulseWidthCounter2Scalar: DevDouble —
counter3EnableScalar: DevBoolean —
initialDelay3Scalar: DevDouble —
delayCounter3Scalar: DevDouble —
pulseWidthCounter3Scalar: DevDouble —
counter4EnableScalar: DevBoolean —
initialDelay4Scalar: DevDouble —
delayCounter4Scalar: DevDouble —
pulseWidthCounter4Scalar: DevDouble —
counter5EnableScalar: DevBoolean —
initialDelay5Scalar: DevDouble —
delayCounter5Scalar: DevDouble —
pulseWidthCounter5Scalar: DevDouble —
counter6EnableScalar: DevBoolean —
initialDelay6Scalar: DevDouble —
delayCounter6Scalar: DevDouble —
pulseWidthCounter6Scalar: DevDouble —
counter7EnableScalar: DevBoolean —
initialDelay7Scalar: DevDouble —
delayCounter7Scalar: DevDouble —
pulseWidthCounter7Scalar: 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
Start generations of pulses.
StopInput: DevVoid
Output: DevVoid
Stop generations of pulses.
AbortInput: DevVoid
Output: DevVoid
Abort generations.
ResetBoardInput: DevVoid
Output: DevVoid
Reset the physical board. After this command, the board is in an unknown state (no more configured). The device must be initialized.
GetDriverVersionInput: DevVoid
Output: DevString
Get the current version of the driver installed for NI counter boards.
GetBoardsInChassisInput: DevVoid
Output: DevString
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.
GetBoardTypeInput: DevString
Output: DevString
Returns the type (ex: PXI-6602) of a specified board.

Pipes:

Properties:

Name Description
TriggerSourceDevString The name of the terminal for the input trigger as specified by NI (PFIxx). The trigger can be configured as following: - for finite and continuous modes, this trigger can be used as a start trigger (cf UseExtStartTrigger). If no start trigger is used, a counter of the board will be used to start all the other counters. - for retrig mode, each trigger will launch the generation of a pulses train. So the possible values are PFIxx
BoardNameDevString The name of the board.
AutoStartDevBoolean If true, the generation will start at device startup and when command ``Init`` is executed.
ClockDevString The clock used. Possible values are ``INTERNAL`` or ``PFIxx``, with xx the pin number.
ExternalFrequencyDevDouble In case of using an external clock, the frequency of this clock in Hz.
IdleStateCounter0DevString cCan be LOW or HIGH.
IdleStateCounter1DevString —
IdleStateCounter2DevString —
IdleStateCounter3DevString —
IdleStateCounter4DevString —
IdleStateCounter5DevString —
IdleStateCounter6DevString —
IdleStateCounter7DevString —
UseExtStartTriggerDevBoolean If true, use the TriggerSource to start the generation in Finite or Continuous Mode.
TriggerEdgeDevString values : POSITIVE or NEGATIVE. Set if the external trigger is posivite edge or negative edge.


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, 10 a.m.