Write-only
About Cal Sets

PutErrorTermStimulus Method


Description

Adds stimulus data to the specified buffer. The size of vdata must agree with the size of the complex data already attached to the buffer or an error will be generated.

See Also: GetErrorTermStimulus Method

Learn more about Reading and Writing Cal Data

See examples of Reading and Writing Cal Set Data

 VB Syntax

calSet.PutErrorTermStimulus(bufferName, vdata)

Variable

(Type) - Description

calSet

(Object) A CalSet Object

bufferName

(String) The string name used to identify a particular error term in the Cal Set.  An example string for port 3 directivity in a full 2 port cal might be "Directivity(3,3)". To determine the string names of error terms, see GetErrorTermList2.

vdata

(Variant)  Safearray of variants (doubles).

Return Type

Not Applicable

Default

Not Applicable

Examples

The sequence is:

complexData = calset1.GetErrorTermByString(0, BufferName)

frequencyData = calset1.GetErrorTermStimulus(0,BufferName)

// manipulate complex data here

Calset2.PutErrorTermByString(BufferName, manipulatedComplexData)

Calset2.PutErrorTermStimulus(BufferName, frequencyData);

C++ Syntax

HRESULT PutErrorTermStimulus (BSTR bufferName, VARIANT vardata)

Interface

ICalSet7