Read-only |
About Cal Sets |
Description |
Returns the stimulus values over which the specific error term was acquired. For example, with mixer channels, you may get a different set of values for Directivity at the input port versus Directivity at the output port.
|
VB Syntax |
pdata = calset.GetErrorTermStimulus(setNumber, bufferName) |
Variable |
(Type) - Description |
pdata |
(Variant) The PNA will allocate the memory for the returned variant. The data is returned as a SafeArray of Variant elements. Each element is of VarType double. |
calset |
A Cal Set (object) |
setNumber |
(Long) Set number of the required Cal Set data. See GetCalSetUsageInfo to determine the setNumber.
|
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. |
Return Type |
Variant |
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 GetErrorTermStimulus (long SetNumber, BSTR bufferName, VARIANT* pdata); |
Interface |
ICalSet7 |
Last modified:
2-May-2011 |
New topic |