Write-only
About Source Power Cal
About PMAR

Add (PowerSensorCalFactorSegment) Method


Description

Adds a PowerSensorCalFactorSegment to the CalFactorSegments collection. Also

Adds a PowerSensorCalFactorSegmentPMAR to the CalFactorSegmentsPMAR 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.

VB Syntax

segs.Add (item [ size])

Variable

(Type) - Description

segs

A CalFactorSegments (collection) or

A CalFactorSegmentsPMAR (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.

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

ICalFactorSegments

ICalFactorSegmentsPMAR


Last Modified:

25-Aug-2009

Added PMAR