.

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/PulseCounting
Contact:



Class Description


The PulseCounting Device manage 2 counting functions:
� Basic event counting, � Encoder position measurement. The Device can count in 2 possible modes: � scalar event counting, � buffered event counting.

Families: CounterTimer

Key words: - NI

Platform: Windows

Language: Cpp

License:

Contact:

Hardware


Manufacturer: none

Bus: Not Applicable

Class interface


Attributes:

Name Description
continuousScalar: DevBoolean
acquisitionModeScalar: DevString
nexusNbAcqPerFileScalar: DevUShort
nexusTargetPathScalar: DevString
nexusFileGenerationScalar: DevBoolean

Commands:

Name Description
CheckConfigurationInput: DevBoolean
Output: DevString
This command checks the current configuration (samples number, buffer depth) and gives advices (if needed) to properly configure the acquisition. This command has no blocking effect and only helps understand the acquisition process. If argin boolean is set to true, the command returns an exception if configuration not approved.
GetDataStreamsInput: DevVoid
Output: DevVarStringArray
Gets the FlyScan data streams associated with the Device.
NexusResetBufferIndexInput: DevVoid
Output: DevVoid
Resets the Nexus buffer index.
GetDriverVersionInput: DevVoid
Output: DevString
Get the current version of the driver installed for NI counter boards.
StopInput: DevVoid
Output: DevVoid
Stop counting
StartInput: DevVoid
Output: DevVoid
Start counting
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.

Pipes:

Properties:

Name Description
UDPPortDevLong UDP port for trigger listener. Optional property.
UDPAddressDevString UDP address for trigger listener. Optional property.
NexusMeasureDimensionDevShort Dimension of the measure to be pushed into the nexus file, among: 0 -> for a 0D measure (a scalar value) 1 -> for a 1D measure (a spectrum value). Note that in SCALAR mode, the dimension is forced to 0.
StartTriggerUseDevBoolean Use of a start trigger. If True, the 1st clock edge is used to start the acquisition. If False, the 1st clock edge generates a counting process (as the following edges)
TimebaseScalingDevString Sets the timebase frequency used in buffered mode. Possible values: AUTO, frequency in Hz (depending on counting board). Values for NI6602 board: 80M, 20M, 100k In buffered mode, if the timebase frequency is set to AUTO, the device will automatically choose the timebase frequency.
TimeoutSecDevDouble Acquisition timeout, in s. For expert only.
IsMasterDevBoolean Use of a masterclock. If True, the first item in Boards property will provide the master clock
BoardsString[]Type List of boards ids. Free format for board id. For NI6602, Id = local board MAX name (DevXX)
BoardTypeDevString The Board Type and its max number of channels Possible values: PXI-6602:8
PollingPeriodDevDouble Board polling period, in ms. For expert only.
FlyscanSpoolDevString Sets the spool name for Nexus file storage.
NexusFileNameDevString Sets the base name of the Nexus storage file.
AutoStartDevBoolean If true, the counting will be started at device startup and when command ``Init`` is executed.


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