SourceIncrement 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)

VxiSession Class See Also


Gets or set how many elements the source offset is incremented after every transfer.

Namespace: NationalInstruments.VisaNS

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

Syntax

Visual Basic (Declaration)
Public Property SourceIncrement As Integer

C#
public int SourceIncrement { get; set; }

Property Value

Number of elements the source offset is incremented after every transfer. This value can be 0 or 1. The default value is 1.

Implements

IRegisterBasedSession.SourceIncrement

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

Because the default value of this property is 1, the source address is incremented by 1 after each transfer, and the MoveOut methods move from consecutive elements. If you set SourceIncrement to 0, the MoveIn methods always read from the same element, essentially treating the source as a FIFO register.

See Also

Reference

VxiSession Class

NationalInstruments.VisaNS Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful