NI-DAQmx .NET Framework 4.0 API Reference

Content Type
Programming Language
Current manual
Table of Contents

AnalogSingleChannelWriter.SynchronizeCallbacks Property

AnalogSingleChannelWriter.SynchronizeCallbacks Property

AnalogSingleChannelWriterSynchronizeCallbacks 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

In This Section
Was this information helpful?