NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

SinglePoint Class

SinglePoint Class

SinglePoint Class

Contains properties and methods that configure how to align to the sample clock of the Task.

Inheritance Hierarchy

SystemObject
  SystemMarshalByRefObject
    NationalInstruments.DAQmxSinglePoint

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.40.49302

Syntax

public class SinglePoint : MarshalByRefObject, 
	IFilteredTypeDescriptor
Public Class SinglePoint
	Inherits MarshalByRefObject
	Implements IFilteredTypeDescriptor

The SinglePoint type exposes the following members.

Properties

  NameDescription
Public propertyConvertLateErrorsToWarnings
Specifies if WaitForNextSampleClock(Double), reading from the task, and writing to the task convert late errors to warnings. NI-DAQmx returns no late warnings or errors until the number of warmup iterations you specify with NumberOfWarmupIterations execute.
Public propertyNumberOfWarmupIterations
Specifies the number of loop iterations that must occur before WaitForNextSampleClock(Double) and reading from the task return any late warnings or errors. The system needs a number of iterations to stabilize. During this period, a large amount of jitter occurs, potentially causing reads and writes to be late. The default number of warmup iterations is 100. Specify a larger number if needed to stabilize the system.
Public propertyReportMissedSamples
Specifies whether reading from the task returns lateness errors or warnings when it detects missed Sample Clock pulses. This setting does not affect WaitForNextSampleClock(Double). Set this property to for applications that need to detect lateness without using WaitForNextSampleClock(Double).
Public propertyWaitForNextSampleClockWaitMode
Specifies how WaitForNextSampleClock(Double) waits for the next Sample Clock pulse.
Public propertyWriteRecoveryMode
Specifies how NI-DAQmx attempts to recover after missing a Sample Clock pulse when performing counter writes.
Top

Methods

  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodToString
Returns a string representation of the object.
(Overrides ObjectToString.)
Public methodWaitForNextSampleClock
Waits until the next pulse of the sample clock occurs, with a timeout value of 10 seconds.
Public methodWaitForNextSampleClock(Double)
Waits until the next pulse of the sample clock occurs.
Top

Remarks

Tip Tip
Example applications are located in the Public Documents\National Instruments\NI-DAQ\Examples\DotNET4.x directory or in the Start menu at National InstrumentsNI-DAQmxNI-DAQmx Examples.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Was this information helpful?