VeriStand .NET API Reference

DAQDevice.CreateCounters Method

Creates a DAQCounters object, if one does not already exist, and adds it to the DAQDevice. If a DAQCounters object already exists, this method returns a reference to this object.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Function CreateCounters ( _
	<OutAttribute> ByRef counters As DAQCounters _
) As Boolean
C#
public bool CreateCounters(
	out DAQCounters counters
)
Visual C++
public:
bool CreateCounters(
	[OutAttribute] DAQCounters^% counters
)

Parameters

counters
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.DAQCounters %
The new or existing DAQCounters object.

Return Value

true (True in Visual Basic) if DAQCounters was added successfully. false (False in Visual Basic) if DAQCounters already exists.

See Also

Log in to get a better experience