Out8 Method (AddressSpace, Int32, Byte)

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


NOTE: This method is obsolete.

Writes an 8-bit value to the specified memory space and offset.

Namespace: NationalInstruments.VisaNS

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

Syntax

Visual Basic (Declaration)
<ObsoleteAttribute("Use the other overload of Out8 to achieve the same functionality.")> _
Public Sub Out8 ( _
	addressSpace As AddressSpace, _
	offset As Integer, _
	data As Byte _
)

C#
[ObsoleteAttribute("Use the other overload of Out8 to achieve the same functionality.")]
public void Out8(
	AddressSpace addressSpace,
	int offset,
	byte data
)

Parameters

addressSpace
Type: NationalInstruments.VisaNS.AddressSpace
The address space.
offset
Type: System.Int32
Offset in bytes of the address or register to which to read.
data
Type: System.Byte
8-bit data to write to the bus.

Implements

IRegisterBasedSession.Out8(AddressSpace, Int32, Byte)

Exceptions

ExceptionCondition
VisaException The NI-VISA driver returned an error as a result of calling this method.
ArgumentException

Invalid offset specified.

-or-

Invalid addressSpace specified.

DllNotFoundException The NI-VISA driver library cannot be found.
InvalidOperationException Unable to start operation because setup is invalid (due to properties being set to an inconsistent state).
ObjectDisposedException This member is called after the Dispose method is called directly from code or indirectly through a finalizer.

Remarks

The method is obsolete. Use the other overload of Out8 to achieve the same functionality.

See Also

Reference

VxiSession Class

NationalInstruments.VisaNS Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful