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

Class Description

This Device provides a pulse generation function on several channels: continuous, finite or retriggered pulse train generation.
The channels are synchronized by trigger (external or internal signal).

Families: CounterTimer

Key words: - NI

Platform: All Platforms

Language: Cpp




Manufacturer: none

Bus: Not Applicable

Class interface


Name Description
generationTypeScalar: DevString


Name Description
GetDriverVersionInput: DevVoid
Output: DevString
Gets the current board driver version.
ResetInput: 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.
StopInput: DevVoid
Output: DevVoid
Stops pulse generation.
StartInput: DevVoid
Output: DevVoid
Starts pulse generation.
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
ExtStartTriggerUseDevBoolean Enables or disables the use of external trigger to start the pulse generation. External start trigger mandatory in RETRIG mode. In other modes, if no external start trigger is set, an internal start trigger is generated by the Device.
ExtStartTriggerSourceDevString Source pin number for external start trigger. Ex: PFIxx for NI board.
ExtStartTriggerEdgeDevString External start trigger edge, among: RISING, FALLING.
ExternalClockFrequencyDevDouble In case of using an external clock, the frequency of this clock in Hz.
ClockTypeDevString Type of clock, which can be: INTERNAL or external (set a pin number in this case). Ex: PFIxx for NI board.
ChannelsString[]Type List of active counters ::
BoardIdString[]Type Unique board identifier depending on manufacturer (e.g. Dev1 for NI 6602 board)``
BoardTypeDevString The Board Type Possible values: PXI-6602
AutoStartDevBoolean If true, the generation will start at device startup and when command ``Init`` is executed.

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