Read-only |
Data Access Map |
Description |
Retrieves pairs of data from the specified location. Note: This method exists on a non-default interface. If you cannot access this method, use the Get Data Method on IMeasurement. |
VB Syntax |
measData.getPairedData location, format, numPts, d1, d2 |
Variable |
(Type) - Description |
measData |
An IArrayTransfer interface which supports the Measurement object |
location |
(enum NADataStore) - Where the data you want is residing. Choose from: 0 - naRawData 1 - naCorrectedData 2 - naMeasResult 3 - naRawMemory 4 - naMemoryResult 5 - naDivisor - When reading data from, or writing data to, the normalization divisor, you must first create a divisor trace using DataToDivisor Method. See Data Access Map |
format |
(enum NAPairedDataFormat) - Format in which you would like the Paired data. Choose from: 0 -naLogMagPhase - Log magnitude and phase 1 -naLinMagPhase - Linear magnitude and phase 2 -naRealImaginary - Real and Imaginary Note: Selecting naRealImaginary format is the same as using the getComplex method |
numPts |
(long integer) - Number of data points requested |
d1 |
(single) - Array to store the magnitude / real values |
d2 |
(single) - Array to store the phase / imaginary values |
Return Type |
Two Single arrays |
Default |
Not Applicable |
Examples |
Dim logm() As Single |
C++ Syntax |
HRESULT getPairedData(tagNADataStore DataStore, tagNAPairedDataFormat PairFormat, long* pNumValues, float* pReal, float* pImag) |
Interface |
IArrayTransfer |