niRFSGPlayback_ReadWaveformFromFileByIndexComplexF64
- Updated2023-02-21
- 1 minute(s) read
ViStatus __stdcall niRFSGPlayback_ReadWaveformFromFileByIndexComplexF64(ViConstString filePath, ViInt32 waveformIndex, ViInt32 outputWaveformBufferSize, ViReal64 *t0, ViReal64 *dt, NIComplexNumber outputWaveform[], ViInt32 *actualWaveformSize);
Purpose
Reads the waveform from file and returns the in-phase and quadrature-phase part of the waveform in the output parameters.
Parameters
Input | ||
Name | Type | Description |
filePath | ViConstString | Specifies the absolute path to the TDMS file from which the playback library reads the waveforms. |
waveformIndex | ViInt32 | Specifies the index of the waveform that you want to read from the TDMS file. |
outputWaveformBufferSize | ViInt32 | Specifies the size of the outputWaveform array. Set the outputWaveformBufferSize parameter to 0 to get the size of the outputWaveform array in the actualWaveformSize parameter. |
Output | ||
Name | Type | Description |
t0 | ViReal64* | This element should be ignored. |
dt | ViReal64* | Returns the inverse of the sample rate of the waveform. |
I | ViReal64[] | Returns the in-phase part of the waveform. |
Q | ViReal64[] | Returns the quadrature-phase part of the waveform. |
actualWaveformSize | ViInt32* | Returns the actual size of the array, if you pass NULL to all output array parameters, and set the outputWaveformBufferSize parameter to 0. |
Return Value
Name | Type | Description | ||||||||
status | ViStatus | Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. Examine the status code from each call to an RFmx function to determine if an error has occurred. To obtain a text description of the status code and additional information about the error condition, call the niRFSGPlayback_GetError function. The general meaning of the status code is as follows:
|
||||||||