ParallelPollConfigure Method

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

Edition Date: August 2012

Part Number: 370628F-01

»View Product Info
Download Help (Windows Only)

Device Class See Also


Configures a device for a parallel poll.

Namespace: NationalInstruments.NI4882

Assembly: NationalInstruments.NI4882 (in NationalInstruments.NI4882.dll) Version: 13.0.40.159

Syntax

Visual Basic (Declaration)
Public Sub ParallelPollConfigure ( _
	parallelPollMessage As Integer _
)

C#
public void ParallelPollConfigure(
	int parallelPollMessage
)

Parameters

parallelPollMessage
Type: System.Int32
Parallel poll enable/disable value.

Exceptions

ExceptionCondition
GpibException The NI-488.2 driver returns an error as a result of calling this method.
ArgumentException

The parallelPollMessage parameter is invalid.

DllNotFoundException The NI-488.2 driver library cannot be found.
EntryPointNotFoundException A required operation in the NI-488.2 driver library cannot be found.
InvalidOperationException

The inner exception is set to the GpibException due to one of the following conditions:

A different process owns a lock for the interface.

-or-

Nonexistent GPIB interface.

-or-

Asynchronous I/O operation in progress.

-or-

The interface board is not Controller-In-Charge.

-or-

DMA error.

-or-

GPIB bus error.

ObjectDisposedException This member is called after the Dispose method has been called directly from your code or indirectly through a finalizer.

Remarks

Enables or disables the device from responding to parallel polls. The device is addressed and sent the appropriate parallel poll message—Parallel Poll Enable (PPE) or Disable (PPD). Valid parallel poll messages are 96 to 126 (0x60 to 0x7E) or zero to send PPD.

See Also

Reference

Device Class

NationalInstruments.NI4882 Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful