SetHandle Method

NI Signal Generators Help (NI-FGEN 18.1)

Edition Date: April 2018

Part Number: 370524V-01

»View Product Info
Download Help (Windows Only)

FgenArbitraryWaveform Class See Also


Sets which arbitrary waveform the signal generator produces.

Namespace: NationalInstruments.ModularInstruments.NIFgen

Assembly: NationalInstruments.ModularInstruments.NIFgen.Fx40 (in NationalInstruments.ModularInstruments.NIFgen.Fx40.dll) Version: 18.1.0.4 (18.1.0.4)

Syntax

Visual Basic (Declaration)
Public Sub SetHandle ( _
	channelName As String, _
	handle As Integer _
)

C#
public void SetHandle(
	string channelName,
	int handle
)

Parameters

channelName
Type: System..::.String
The channel to use.
handle
Type: System..::.Int32
The handle representing which arbitrary waveform the signal generator produces.

Implements

IIviFgenArbitraryWaveform..::.SetHandle(String, Int32)

Exceptions

ExceptionCondition
Ivi.Driver.IviCDriverException The underlying NI-FGEN driver returned an error.
Ivi.Driver.SelectorNameException The value for channelName is invalid.

- or -

The value for channelName is unknown.
ObjectDisposedException FgenArbitraryWaveform.SetHandle was called after the associated NIFgen or FgenDriverUtility object was disposed.

See Also

Reference

FgenArbitraryWaveform Class

NationalInstruments.ModularInstruments.NIFgen Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful