NI-DAQmx .NET Framework 4.0 API Reference

Table of Contents

DigitalMultiChannelReader.SynchronizeCallbacks Property

  • Updated2023-02-21
  • 1 minute(s) read
DigitalMultiChannelReader.SynchronizeCallbacks Property
Specifies how events and callback delegates are invoked.

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

Syntax

public virtual bool SynchronizeCallbacks { get; set; }
Public Overridable Property SynchronizeCallbacks As Boolean
	Get
	Set

Property Value

Type: Boolean
if events and callbacks are invoked through Send(SendOrPostCallback, Object) or Post(SendOrPostCallback, Object). Otherwise, events and callbacks are invoked directly. The default value is .

Implements

ISupportSynchronizationContextSynchronizeCallbacks

Remarks

In some cases, callbacks and event handlers are executed in a different thread than the rest of the program. Therefore, you must take special care when accessing objects that have thread affinity, such as UI controls, from these callbacks and event handlers. For more information, refer to Events, Callbacks, and Thread Safety in Measurement Studio .NET Class Libraries.

See Also

Log in to get a better experience