VisaEventQueueLength Property

NI-VisaNS .NET Class Library Help for Visual Studio 2010

Edition Date: August 2012

Part Number: 370627F-01

»View Product Info
Download Help (Windows Only)

Session Class See Also


Gets or sets the maximum number of events that can be queued at any time on the session.

Namespace: NationalInstruments.VisaNS

Assembly: NationalInstruments.VisaNS (in NationalInstruments.VisaNS.dll) Version: 13.0.40.167

Syntax

Visual Basic (Declaration)
Public Property VisaEventQueueLength As Integer

C#
public int VisaEventQueueLength { get; set; }

Property Value

Maximum number of events that can be queued at any time on the session. The default value is 50.

Exceptions

ExceptionCondition
VisaException The property is set to an invalid state.
DllNotFoundException The NI-VISA driver library cannot be found.
EntryPointNotFoundException A required operation in the NI-VISA driver library cannot be found.
ObjectDisposedException This member is called after the Dispose method is called directly from code or indirectly through a finalizer.

Remarks

Any events that occur after the queue is full are discarded. You cannot set this property after the first time EnableEvent is called.

See Also

Reference

Session Class

NationalInstruments.VisaNS Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful