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

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



Class interface


Name Description
pulseWidthCounter7Scalar: DevDouble
delayCounter7Scalar: DevDouble
initialDelay7Scalar: DevDouble
counter7EnableScalar: DevBoolean
pulseWidthCounter6Scalar: DevDouble
delayCounter6Scalar: DevDouble
initialDelay6Scalar: DevDouble
counter6EnableScalar: DevBoolean
pulseWidthCounter5Scalar: DevDouble
delayCounter5Scalar: DevDouble
initialDelay5Scalar: DevDouble
counter5EnableScalar: DevBoolean
pulseWidthCounter4Scalar: DevDouble
delayCounter4Scalar: DevDouble
initialDelay4Scalar: DevDouble
counter4EnableScalar: DevBoolean
pulseWidthCounter3Scalar: DevDouble
delayCounter3Scalar: DevDouble
initialDelay3Scalar: DevDouble
counter3EnableScalar: DevBoolean
pulseWidthCounter2Scalar: DevDouble
delayCounter2Scalar: DevDouble
initialDelay2Scalar: DevDouble
counter2EnableScalar: DevBoolean
pulseWidthCounter1Scalar: DevDouble
delayCounter1Scalar: DevDouble
initialDelay1Scalar: DevDouble
counter1EnableScalar: DevBoolean
pulseWidthCounter0Scalar: DevDouble
delayCounter0Scalar: DevDouble
initialDelay0Scalar: DevDouble
counter0EnableScalar: DevBoolean
pulseNumberScalar: DevLong
generationTypeScalar: DevString


Name Description
GetBoardTypeInput: DevString
Output: DevString
Returns the type (ex: PXI-6602) of a specified board.
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.
GetDriverVersionInput: DevVoid
Output: DevString
Get the current version of the driver installed for NI counter boards.
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.
AbortInput: DevVoid
Output: DevVoid
Abort generations.
StopInput: DevVoid
Output: DevVoid
Stop generations of pulses.
StartInput: DevVoid
Output: DevVoid
Start generations of pulses.
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
TriggerEdgeDevString values : POSITIVE or NEGATIVE. Set if the external trigger is posivite edge or negative edge.
UseExtStartTriggerDevBoolean If true, use the TriggerSource to start the generation in Finite or Continuous Mode.
IdleStateCounter0DevString cCan be LOW or HIGH.
ExternalFrequencyDevDouble In case of using an external clock, the frequency of this clock in Hz.
ClockDevString The clock used. Possible values are ``INTERNAL`` or ``PFIxx``, with xx the pin number.
AutoStartDevBoolean If true, the generation will start at device startup and when command ``Init`` is executed.
BoardNameDevString The name of the board.
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

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