Fetches the acquired amplitude trace in the measurement, where the Amplitude array forms the y-axis of the trace. You can use the PulseAcquisitionTraceSelect method to select all pulses or the subset of acquired pulses. When you set the SegmentedAcquisitionEnabled method to False, returns a single element in the Start Indices and Start Time Stamp array.

Syntax

Namespace: NationalInstruments.RFmx.PulseMX

public int FetchAcquiredAmplitudeTrace(string selectorString, double timeout, out double sampleDuration, ref float[] amplitude, ref int[] startIndex, ref double[] startTimeStamp)

Parameters

NameTypeDescription
selectorStringstring

Specifies a selector string comprising of the result name. If you do not specify the result name, the default result instance is used. Example:
""
""
"result::r1"

timeoutdouble

Specifies the timeout, in seconds, for fetching the specified measurement. Set this value to an appropriate time, longer than expected for fetching the measurement. A value of -1 specifies that the method waits until the measurement is complete.

sampleDurationout double

Upon return, contains the sample duration, in seconds.

amplituderef float[]

Upon return, contains the trace of amplitude measured in units specified by PulseAmplitudeTraceUnit method.

startIndexref int[]

Upon return, contains the array of sample indices for the start of each segment.

startTimeStampref double[]

Upon return, contains the array of timestamps of each segment start, in seconds.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.