IviSpecAn_QueryReferenceMarker

CVI/LabWindows IVI Class Driver

IviSpecAn_QueryReferenceMarker

IviSpecAnDeltaMarker Capability Group

C Function Prototype

ViStatus IviSpecAn_QueryReferenceMarker (ViSession vi, ViReal64* referenceMarkerAmplitude, ViReal64* referenceMarkerPosition);

Purpose

This function returns the amplitude and position of the reference marker.

If the IVISPECAN_ATTR_MARKER_TYPE attribute is not Delta, this function returns the Not Delta Marker error (0xBFFA2002).

Parameters

Name Type Description
vi ViSession The ViSession handle that you obtain from the IviSpecAn_init or IviSpecAn_InitWithOptions function. The handle identifies a particular instrument session.

Default Value: None

referenceMarkerAmplitude ViReal64 Returns the reference marker when the active marker is a delta marker. This returns the value of the IVISPECAN_ATTR_REFERENCE_MARKER_AMPLITUDE attribute.

Default Value: None

referenceMarkerPosition ViReal64 Returns the reference marker position when the active marker is a delta marker. This returns the value of the IVISPECAN_ATTR_REFERENCE_MARKER_POSITION attribute.

Default Value: None

Return Values