Write-only
About Source Power Cal
About PMAR

Add (PowerLossSegment) Method


Description

Adds a PowerLossSegment to the PowerLossSegments collection. Also,

Adds a PowerLossSegmentPMAR to the PowerLossSegmentsPMAR collection.

To ensure predictable results, it is best to remove all segments before defining a new list of segments. For each segment in the collection, do a seg.Remove.

Segments and values can also be added using the CharacterizeAdaptor Macro.

VB Syntax

segs.Add (item [ size])

Variable

(Type) - Description

segs

A PowerLossSegments collection

A PowerLossSegmentsPMAR collection.

item

(variant) - Number of the new segment.  If it already exists, a new segment is inserted at the requested position.

size

(long integer) - Optional argument.  The number of segments to add, starting with item.  If unspecified, value is set to 1. Add up to 9999 segments.

Return Type

None

Default

Not Applicable

Examples

segs.Add 1, 4 'Adds segments 1,2,3 and 4

C++ Syntax

HRESULT Add(VARIANT index, long size);

Interface

IPowerLossSegments


Last Modified:

14-May-2012

Increase limit

25-Aug-2009

Added PMAR