24 #define CURRENT_TIMEOUT (-2) 27 # define EXPORT __declspec( dllexport ) 31 typedef int SessionID;
50 PwrSnsrTriggerModeFreerun = 4
180 PwrSnsrTrigOutModeMioOff = 0,
181 PwrSnsrTrigOutModeMioPullUp = 1,
182 PwrSnsrTrigOutModeMioTtl0 = 2,
183 PwrSnsrTrigOutModeMioTbRef = 3,
184 PwrSnsrTrigOutModeMioSweepHigh = 4,
185 PwrSnsrTrigOutModeMioSweepLow = 5,
186 PwrSnsrTrigOutModeMioTrigHigh = 6,
187 PwrSnsrTrigOutModeMioTrigLow = 7,
188 PwrSnsrTrigOutModeMioMaster = 8,
189 PwrSnsrTrigOutModeMioSlave = 9
195 PwrSnsrMeasBuffGateBurst = 0,
196 PwrSnsrMeasBuffGateMarker = 1,
197 PwrSnsrMeasBuffGateExtGate = 2,
198 PwrSnsrMeasBuffGatePeriodic = 3,
199 PwrSnsrMeasBuffGateExtTrig = 4
205 PwrSnsrMeasBuffStartModeImmediate = 1,
206 PwrSnsrMeasBuffStartModeExternalEnable = 2,
207 PwrSnsrMeasBuffStartModeExternalStart = 3
213 PwrSnsrMeasBuffStopReasonCountReached = 1,
214 PwrSnsrMeasBuffStopReasonTimedOut = 2,
215 PwrSnsrMeasBuffStopReasonBufferOverran = 3,
216 PwrSnsrMeasBuffStopReasonNone = 0
231 #define ERROR_BASE (0xBFFA0000L) 315 EXPORT
int PwrSnsr_ReadSCPI(SessionID Vi,
int ValueBufferSize,
long * ValueActualSize,
char Value[],
int Timeout);
366 EXPORT
int PwrSnsr_ReadSCPIBytes(SessionID Vi,
int ValueBufferSize,
char Value[],
long* ValueActualSize,
int Timeout);
398 EXPORT
int PwrSnsr_init(
char * ResourceName, SessionID* Vi);
413 EXPORT
int PwrSnsr_GetError(SessionID Vi,
int* ErrorCode,
int ErrorDescriptionBufferSize,
char ErrorDescription[]);
477 EXPORT
int PwrSnsr_ReadWaveformMinMax(SessionID Vi,
const char * Channel,
int MinWaveformBufferSize,
float MinWaveform[],
int * MinWaveformActualSize,
int MaxWaveformBufferSize,
float MaxWaveform[],
int * MaxWaveformActualSize,
int WaveformArrayBufferSize,
float WaveformArray[],
int * WaveformArrayActualSize);
487 EXPORT
int PwrSnsr_ReadWaveform(SessionID Vi,
const char * Channel,
int WaveformArrayBufferSize,
float WaveformArray[],
int * WaveformArrayActualSize);
504 EXPORT
int PwrSnsr_FetchWaveformMinMax(SessionID Vi,
const char * Channel,
int MinWaveformBufferSize,
float MinWaveform[],
int * MinWaveformActualSize,
int MaxWaveformBufferSize,
float MaxWaveform[],
int * MaxWaveformActualSize,
int WaveformArrayBufferSize,
float WaveformArray[],
int * WaveformArrayActualSize);
514 EXPORT
int PwrSnsr_FetchWaveform(SessionID Vi,
const char * Channel,
int WaveformArrayBufferSize,
float WaveformArray[],
int * WaveformArrayActualSize);
1044 EXPORT
int PwrSnsr_GetSerialNumber(SessionID Vi,
const char * Channel,
int SerialNumberBufferSize,
char SerialNumber[]);
1158 EXPORT
int PwrSnsr_GetDistal(SessionID Vi,
const char * Channel,
float* Distal);
1191 EXPORT
int PwrSnsr_GetMesial(SessionID Vi,
const char * Channel,
float* Mesial);
1264 EXPORT
int PwrSnsr_GetCalFactors(SessionID Vi,
const char * Channel,
float* MaxFrequency,
float* MinFrequency,
1265 int FrequencyListBufferSize,
float FrequencyList[],
int * FrequencyListActualSize,
1266 int CalFactorListBufferSize,
float CalFactorList[],
int * CalFactorListActualSize,
PwrSnsrBandwidthEnum Bandwidth);
1458 EXPORT
int PwrSnsr_ReadArrayMarkerPower(SessionID Vi,
const char * Channel,
float* AvgPower,
PwrSnsrCondCodeEnum * AvgPowerCondCode,
float* MaxPower,
PwrSnsrCondCodeEnum * MaxPowerCondCode,
float* MinPower,
PwrSnsrCondCodeEnum * MinPowerCondCode,
float* PkToAvgRatio,
PwrSnsrCondCodeEnum * PkToAvgRatioCondCode,
float* Marker1Power,
PwrSnsrCondCodeEnum * Marker1PowerCondCode,
float* Marker2Power,
PwrSnsrCondCodeEnum * Marker2PowerCondCode,
float* MarkerRatio,
PwrSnsrCondCodeEnum * MarkerRatioCondCode);
1762 EXPORT
int PwrSnsr_ReadPowerArray(SessionID Vi,
const char * Channel,
float* PulsePeak,
PwrSnsrCondCodeEnum * PulsePeakValid,
float* PulseCycleAvg,
PwrSnsrCondCodeEnum * PulseCycleAvgValid,
float* PulseOnAvg,
PwrSnsrCondCodeEnum * PulseOnValid,
float* IEEETop,
PwrSnsrCondCodeEnum * IEEETopValid,
float* IEEEBottom,
PwrSnsrCondCodeEnum * IEEEBottomValid,
float* Overshoot,
PwrSnsrCondCodeEnum * OvershootValid,
float* Droop,
PwrSnsrCondCodeEnum * DroopValid);
1804 EXPORT
int PwrSnsr_ReadTimeArray(SessionID Vi,
const char * Channel,
float* Frequency,
PwrSnsrCondCodeEnum * FrequencyValid,
float* Period,
PwrSnsrCondCodeEnum * PeriodValid,
float* Width,
PwrSnsrCondCodeEnum * WidthValid,
float* Offtime,
PwrSnsrCondCodeEnum * OfftimeValid,
float* DutyCycle,
PwrSnsrCondCodeEnum * DutyCycleValid,
float* Risetime,
PwrSnsrCondCodeEnum * RisetimeValid,
float* Falltime,
PwrSnsrCondCodeEnum * FalltimeValid,
float* EdgeDelay,
PwrSnsrCondCodeEnum * EdgeDelayValid,
float* Skew,
PwrSnsrCondCodeEnum * SkewValid);
2020 EXPORT
int PwrSnsr_FetchCCDFTrace(SessionID Vi,
const char * Channel,
int TraceBufferSize,
float Trace[],
int * TraceActualSize);
2248 EXPORT
int PwrSnsr_GetAcqStatusArray(SessionID Vi,
const char * Channel,
int * SweepLength,
double* SampleRate,
double* SweepRate,
double* SweepTime,
double* StartTime,
int * StatusWord);
2263 EXPORT
int PwrSnsr_GetDiagStatusArray(SessionID Vi,
const char * Channel,
float* DetectorTemp,
float* CpuTemp,
float* MioVoltage,
float* VccInt10,
float* VccAux18,
float* Vcc50,
float* Vcc25,
float* Vcc33);
2322 EXPORT
int PwrSnsr_GetManufactureDate(SessionID Vi,
const char * Channel,
int ManufactureDateBufferSize,
char ManufactureDate[]);
2363 EXPORT
int PwrSnsr_GetFactoryCalDate(SessionID Vi,
const char * Channel,
int FactoryCalDateBufferSize,
char FactoryCalDate[]);
2470 EXPORT
int PwrSnsr_Zero(SessionID Vi,
const char * Channel);
2500 float WaveformArray[],
int* WaveformArrayActualSize,
int Count);
2600 const char * Channel,
2603 int* PulseInfosActualSize);
2702 float Val[],
int* ValActualSize);
2724 int* ValActualSize);
2735 int* ValActualSize);
2760 int* ValActualSize);
2770 EXPORT
int PwrSnsr_GetStartTimes(SessionID Vi,
const char * Channel,
int ValBufferSize,
double Val[],
2771 int* ValActualSize);
2781 EXPORT
int PwrSnsr_GetDurations(SessionID Vi,
const char * Channel,
int ValBufferSize,
float Val[],
2782 int* ValActualSize);
2889 int* ValActualSize);
2900 int* ValActualSize);
2911 int* ValActualSize);
2922 int* ValActualSize);
2933 int* ValActualSize);
2944 int* ValActualSize);
3106 EXPORT
int PwrSnsr_Write(SessionID Vi,
const char * Channel,
int DataBufferSize,
unsigned char Data[]);
3117 EXPORT
int PwrSnsr_ReadByteArray(SessionID Vi,
const char * Channel,
int Count,
int ValBufferSize,
unsigned char Val[],
3118 int* ValActualSize);
3129 EXPORT
int PwrSnsr_ReadControl(SessionID Vi,
const char * Channel,
int Count,
int ValBufferSize,
unsigned char Val[],
3130 int* ValActualSize);
3154 EXPORT
int PwrSnsr_GetModel(SessionID Vi,
const char * Channel,
int ModelBufferSize,
char Model[]);
3189 EXPORT
int PwrSnsr_GetFirmwareVersion(SessionID Vi,
const char * Channel,
int FirmwareVersionBufferSize,
char FirmwareVersion[]);
EXPORT int PwrSnsr_ReadSCPIFromNamedParser(SessionID Vi, const char *name, int ValueBufferSize, long *ValueActualSize, char Value[], int Timeout)
Read a SCPI string response from the instrument.
Definition: PwrSnsrLib.h:77
EXPORT int PwrSnsr_GetBufferedAverageMeasurements(SessionID Vi, const char *Channel, int ValBufferSize, float Val[], int *ValActualSize)
Get the average power measurements that were captured during the last call to AcquireMeasurements.
EXPORT int PwrSnsr_SendSCPIBytes(SessionID Vi, int CommandBufferSize, char Command[])
Send a SCPI command as a byte array.
EXPORT int PwrSnsr_FetchIntervalMax(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the maximum instantaneous power or voltage in the time interval between marker1 and marker 2....
EXPORT int PwrSnsr_GetTimeOut(SessionID Vi, long *Val)
Returns the time out value for I/O in milliseconds.
EXPORT int PwrSnsr_SetStartGate(SessionID Vi, const char *Channel, float StartGate)
Set the point on a pulse, which is used to define the beginning of the pulse's active interval.
EXPORT int PwrSnsr_SetTrigSlope(SessionID Vi, PwrSnsrTriggerSlopeEnum Slope)
Sets the trigger slope or polarity.
EXPORT int PwrSnsr_GetRdgsEnableFlag(SessionID Vi, int *Flag)
Get the flag indicating which measurement buffer arrays will be read when calling PwrSnsr_AcquireMeas...
EXPORT int PwrSnsr_MeasureVoltage(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return average voltage using a default instrument configuration in Modulated Mode and volts units....
EXPORT int PwrSnsr_GetFilterTime(SessionID Vi, const char *Channel, float *FilterTime)
Get the current length of the integration filter on the selected channel.
Definition: PwrSnsrLib.h:48
EXPORT int PwrSnsr_FetchTimeArray(SessionID Vi, const char *Channel, float *Frequency, PwrSnsrCondCodeEnum *FrequencyValid, float *Period, PwrSnsrCondCodeEnum *PeriodValid, float *Width, PwrSnsrCondCodeEnum *WidthValid, float *Offtime, PwrSnsrCondCodeEnum *OfftimeValid, float *DutyCycle, PwrSnsrCondCodeEnum *DutyCycleValid, float *Risetime, PwrSnsrCondCodeEnum *RisetimeValid, float *Falltime, PwrSnsrCondCodeEnum *FalltimeValid, float *EdgeDelay, PwrSnsrCondCodeEnum *EdgeDelayValid, float *Skew, PwrSnsrCondCodeEnum *SkewValid)
Returns an array of the current automatic timing measurements performed on a periodic pulse waveform.
EXPORT int PwrSnsr_GetFilterState(SessionID Vi, const char *Channel, PwrSnsrFilterStateEnum *FilterState)
Get the current setting of the integration filter on the selected channel.
EXPORT int PwrSnsr_GetSequenceNumbers(SessionID Vi, const char *Channel, int ValBufferSize, long long Val[], int *ValActualSize)
Get the sequence number entries that were captured during the last call to AcquireMeasurements.
EXPORT int PwrSnsr_QueryMaxMeasurements(SessionID Vi, const char *Channel, int ValBufferSize, float Val[], int *ValActualSize)
Query the power meter for all buffered maximum power measurements.
EXPORT int PwrSnsr_ReadSCPI(SessionID Vi, int ValueBufferSize, long *ValueActualSize, char Value[], int Timeout)
Read a SCPI string response from the instrument.
EXPORT int PwrSnsr_ReadEdgeDelay(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns time offset from the trigger reference to the first mesial transition level of either slope o...
float Peak
Definition: PwrSnsrLib.h:2578
Definition: PwrSnsrLib.h:83
EXPORT int PwrSnsr_GetPowerPosition(SessionID Vi, const char *Channel, double *PowerPosition)
Get the cursor power in dB on the CCDF plot.
EXPORT int PwrSnsr_GetIsRunning(SessionID Vi, const char *Channel, int *IsRunning)
Returns true if modulated/CW measuremnts are actively running.
EXPORT int PwrSnsr_ReadSCPIBytes(SessionID Vi, int ValueBufferSize, char Value[], long *ValueActualSize, int Timeout)
Read a SCPI byte array response from the instrument.
EXPORT int PwrSnsr_SetMarkerTimePosition(SessionID Vi, int MarkerNumber, float TimePosition)
Set the time (x-axis-position) of the selected marker relative to the trigger.
EXPORT int PwrSnsr_GetDiagStatusArray(SessionID Vi, const char *Channel, float *DetectorTemp, float *CpuTemp, float *MioVoltage, float *VccInt10, float *VccAux18, float *Vcc50, float *Vcc25, float *Vcc33)
Returns diagnostic data.
Definition: PwrSnsrLib.h:277
EXPORT int PwrSnsr_GetMarkerPixelPosition(SessionID Vi, int MarkerNumber, int *PixelPosition)
Get the horizontal pixel position (X-axis-position) of the selected vertical marker....
EXPORT int PwrSnsr_ReadMarkerDelta(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the difference between MK1 and MK2. The units will be the same as marker units.
EXPORT int PwrSnsr_SetPeakHoldTracking(SessionID Vi, const char *Channel, int EnvelopeTracking)
Sets whether peak hold decay automatically tracks trace averaging. If set to true,...
PwrSnsrTriggerStatusEnum
Definition: PwrSnsrLib.h:143
EXPORT int PwrSnsr_FetchMarkerMax(SessionID Vi, const char *Channel, int Marker, PwrSnsrCondCodeEnum *IsValid, float *Val)
Forthe specified marker, return the maximum power or voltage at the marker. The units are the same as...
Definition: PwrSnsrLib.h:76
EXPORT int PwrSnsr_SetInitiateContinuous(SessionID Vi, int InitiateContinuous)
Set the data acquisition mode for single or free-run measurements.
EXPORT int PwrSnsr_ReadMarkerRRatio(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the ratio of MK2 to MK1. The units will be dB for logarithmic units or percent for linear unit...
EXPORT int PwrSnsr_ReadPeriod(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the interval between two successive pulses.
EXPORT int PwrSnsr_GetPeakHoldDecay(SessionID Vi, const char *Channel, int *EnvelopeAverage)
Get the number of min/max traces averaged together to form the peak hold measurement results on the s...
EXPORT int PwrSnsr_ReadMarkerRDelta(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the difference between MK2 and MK1. The units will be the same as marker units.
EXPORT int PwrSnsr_EnableCapturePriority(SessionID Vi, const char *Channel, int Enabled)
Sets the 55 series power meter to a buffered capture mode and disables real time processing.
Definition: PwrSnsrLib.h:286
EXPORT int PwrSnsr_GetStartMode(SessionID Vi, PwrSnsrMeasBuffStartModeEnum *StartMode)
Get the mode used to start acquisition of buffer entries.
EXPORT int PwrSnsr_FetchCWArray(SessionID Vi, const char *Channel, float *PeakAverage, PwrSnsrCondCodeEnum *PeakAverageValid, float *PeakMax, PwrSnsrCondCodeEnum *PeakMaxValid, float *PeakMin, PwrSnsrCondCodeEnum *PeakMinValid, float *PeakToAvgRatio, PwrSnsrCondCodeEnum *PeakToAvgRatioValid)
Returns the current average, maximum, minimum powers or voltages and the peak-to-average ratio of t...
EXPORT int PwrSnsr_SetEndGate(SessionID Vi, const char *Channel, float EndGate)
Set the point on a pulse, which is used to define the end of the pulse's active interval.
EXPORT int PwrSnsr_GetTrigMode(SessionID Vi, PwrSnsrTriggerModeEnum *Mode)
Return the trigger mode for synchronizing data acquisition with pulsed signals.
EXPORT int PwrSnsr_GetPeakPowerMin(SessionID Vi, const char *Channel, float *PeakPowerMin)
Minimum power level the sensor can measure.
Definition: PwrSnsrLib.h:120
EXPORT int PwrSnsr_FetchIntervalPkToAvg(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the peak-to-average ratio of the power or voltage between marker 1 and marker 2....
PwrSnsrTriggerModeEnum
Definition: PwrSnsrLib.h:45
EXPORT int PwrSnsr_GetReadingPeriod(SessionID Vi, const char *Channel, float *ReadingPeriod)
Returns the period (rate) in seconds per new filtered reading.
EXPORT int PwrSnsr_FetchPeriod(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the interval between two successive pulses. (Reciprocal of the Pulse RepetitionFrequency)
EXPORT int PwrSnsr_init(char *ResourceName, SessionID *Vi)
Initialize a communication session with a supported USB power sensor.
EXPORT int PwrSnsr_SetTimeOut(SessionID Vi, long Milliseconds)
Sets the time out in milliseconds for I/O.
EXPORT int PwrSnsr_ReadControl(SessionID Vi, const char *Channel, int Count, int ValBufferSize, unsigned char Val[], int *ValActualSize)
Reads a control transfer on the USB.
Definition: PwrSnsrLib.h:240
EXPORT int PwrSnsr_GetEndGate(SessionID Vi, const char *Channel, float *EndGate)
Get the point on a pulse, which is used to define the end of the pulse's active interval.
EXPORT int PwrSnsr_GetWriteProtection(SessionID Vi, int *WriteProtection)
Get whether the measurement buffer is set to overwrite members that have not been read by the user.
EXPORT int PwrSnsr_GetChannelByIndex(SessionID Vi, int BuffSize, char Channel[], int Index)
Gets the channel name by zero index. Note: SCPI commands use a one-based index.
EXPORT int PwrSnsr_FetchPulseOnAverage(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Average power of the ON portion of the pulse.
Definition: PwrSnsrLib.h:149
EXPORT int PwrSnsr_GetTermCount(SessionID Vi, const char *Channel, double *TermCount)
Get the termination count for statistical capturing. After the sample count has been reached,...
EXPORT int PwrSnsr_GetTempComp(SessionID Vi, const char *Channel, int *TempComp)
Get the state of the peak sensor temperature compensation system.
Definition: PwrSnsrLib.h:148
Definition: PwrSnsrLib.h:57
EXPORT int PwrSnsr_GetTraceStartTime(SessionID Vi, const char *Channel, float *TraceStartTime)
Get time offset (start time) of the trace in seconds. May be negative, indicating pre-trigger informa...
EXPORT int PwrSnsr_SetPulseUnits(SessionID Vi, const char *Channel, PwrSnsrPulseUnitsEnum PwrSnsrPulseUnitsEnum)
Set the units for entering the pulse distal, mesial and proximal levels.
EXPORT int PwrSnsr_GetImpedance(SessionID Vi, const char *Channel, float *Impedance)
Input impedance of the sensor.
Definition: PwrSnsrLib.h:242
EXPORT int PwrSnsr_GetMinimumSupportedFirmware(int *Version)
Gets the minimum supported firmware as an integer. Format is YYYYMMDD.
Definition: PwrSnsrLib.h:37
EXPORT int PwrSnsr_ReadIEEETop(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the IEEE-defined top line, i.e. the portion of a pulse waveform which represents the second n...
EXPORT int PwrSnsr_SetTimespan(SessionID Vi, float Timespan)
Set the horizontal time span of the trace in pulse mode. Time span = 10* Time/Division....
EXPORT int PwrSnsr_GetAverage(SessionID Vi, const char *Channel, int *Average)
Get the number of traces averaged together to form the measurement result on the selected channel.
PwrSnsrTriggerSlopeEnum
Definition: PwrSnsrLib.h:54
Definition: PwrSnsrLib.h:152
Definition: PwrSnsrLib.h:56
Definition: PwrSnsrLib.h:39
EXPORT int PwrSnsr_GetGating(SessionID Vi, const char *Channel, PwrSnsrStatGatingEnum *Gating)
Get whether statistical capture is enabled.
EXPORT int PwrSnsr_SetFilterTime(SessionID Vi, const char *Channel, float FilterTime)
Set the current length of the integration filter on the selected channel.
EXPORT int PwrSnsr_GetProximal(SessionID Vi, const char *Channel, float *Proximal)
Get the pulse amplitude percentage, which is used to define the beginning of a rising edge or end of ...
EXPORT int PwrSnsr_GetInternalSkew(SessionID Vi, const char *Channel, float *InternalSkew)
Gets the skew in seconds for the internal trigger.
Definition: PwrSnsrLib.h:47
EXPORT int PwrSnsr_FetchCCDFPercent(SessionID Vi, const char *Channel, double Power, PwrSnsrCondCodeEnum *CondCode, double *Val)
Return relative power (in dB) for a given percent on the CCDF plot.
EXPORT int PwrSnsr_GetTimePerPoint(SessionID Vi, const char *Channel, float *TimePerPoint)
Get time spacing for each waveform point in seconds.
Definition: PwrSnsrLib.h:82
EXPORT int PwrSnsr_SaveToMemoryChannel(SessionID Vi, const char *memChan, const char *ChannelName)
Saves the given channel to a memory channel. If the memory channel does not exist,...
EXPORT int PwrSnsr_FetchMarkerRatio(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the ratio of MK1 to MK2. The units will be dB for logarithmic units or percent for linear unit...
PwrSnsrStatGatingEnum
Definition: PwrSnsrLib.h:171
EXPORT int PwrSnsr_SetPeriod(SessionID Vi, float Period)
Set the period each timed mode acquisition (measurement buffer) is started.
EXPORT int PwrSnsr_SetTermTime(SessionID Vi, const char *Channel, int TermTime)
Set the termination time in seconds (1 - 3600) for statistical capturing. After the time has elapsed,...
EXPORT int PwrSnsr_GetExpirationDate(int *Date)
Get the hardware license expiration date.
Definition: PwrSnsrLib.h:244
int EXPORT PwrSnsr_SetVerticalScale(SessionID Vi, const char *Channel, float VerticalScale)
Sets vertical scale based on current units: <arg> = (range varies by units)
EXPORT int PwrSnsr_SetTrigLevel(SessionID Vi, float Level)
Set the trigger level for synchronizing data acquisition with a pulsed input signal.
EXPORT int PwrSnsr_ReadPRF(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the number of cycles of a repetitive signal that take place in one second (Pulse Repetition F...
Definition: PwrSnsrLib.h:222
Definition: PwrSnsrLib.h:81
EXPORT int PwrSnsr_GetContinuousCapture(SessionID Vi, int *ContinuousCapture)
Get whether AcquireMeasurements will stop the measurement buffer session or continue capturing measur...
EXPORT int PwrSnsr_Abort(SessionID Vi)
Terminates any measurement in progress and resets the state of the trigger system....
float FallDistal
Definition: PwrSnsrLib.h:2586
EXPORT int PwrSnsr_FetchIntervalMinAvg(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return minimum of the average power trace between MK1 and MK2. The units will be the same as the spec...
EXPORT int PwrSnsr_GetCalFactor(SessionID Vi, const char *Channel, float *CalFactor)
Get the frequency calibration factor currently in use on the selected channel.
Definition: PwrSnsrLib.h:114
Definition: PwrSnsrLib.h:238
EXPORT int PwrSnsr_SetTrigMode(SessionID Vi, PwrSnsrTriggerModeEnum Mode)
Set the trigger mode for synchronizing data acquisition with pulsed signals.
EXPORT int PwrSnsr_SetMesial(SessionID Vi, const char *Channel, float Mesial)
Set the pulse amplitude percentage, which is used to define the midpoint of a rising edge or end of a...
EXPORT int PwrSnsr_SetUnits(SessionID Vi, const char *Channel, PwrSnsrUnitsEnum Units)
Set units for the selected channel.
EXPORT int PwrSnsr_SetTimebase(SessionID Vi, float Timebase)
Set the Pulse Mode timebase in seconds/division. (10 divisions = 1 trace) Value = 5e-9 to 10e-3 sec (...
EXPORT int PwrSnsr_GetChannelCount(SessionID Vi, int *Count)
Get number of channels.
EXPORT int PwrSnsr_ReadPowerArray(SessionID Vi, const char *Channel, float *PulsePeak, PwrSnsrCondCodeEnum *PulsePeakValid, float *PulseCycleAvg, PwrSnsrCondCodeEnum *PulseCycleAvgValid, float *PulseOnAvg, PwrSnsrCondCodeEnum *PulseOnValid, float *IEEETop, PwrSnsrCondCodeEnum *IEEETopValid, float *IEEEBottom, PwrSnsrCondCodeEnum *IEEEBottomValid, float *Overshoot, PwrSnsrCondCodeEnum *OvershootValid, float *Droop, PwrSnsrCondCodeEnum *DroopValid)
Returns an array of the current automatic amplitude measurements performed on a periodic pulse wavefo...
Definition: PwrSnsrLib.h:97
EXPORT int PwrSnsr_FetchMarkerDelta(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the difference between MK1 and MK2. The units will be the same as marker units.
EXPORT int PwrSnsr_GetTimebase(SessionID Vi, float *Timebase)
Get the Pulse Mode timebase in seconds/division. (10 divisions = 1 trace) Value = 5e-9 to 10e-3 (or m...
EXPORT int PwrSnsr_GetDuration(SessionID Vi, float *Duration)
Get the time duration samples are captured during each timed mode acquisiton.
EXPORT int PwrSnsr_ReadIntervalMaxAvg(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return maximum of the average power trace between MK1 and MK2. The units will be the same as the spec...
EXPORT int PwrSnsr_GetInitiateContinuous(SessionID Vi, int *InitiateContinuous)
Get the data acquisition mode for single or free-run measurements.
Definition: PwrSnsrLib.h:121
Definition: PwrSnsrLib.h:80
Definition: PwrSnsrLib.h:138
EXPORT int PwrSnsr_SetProximal(SessionID Vi, const char *Channel, float Proximal)
Set the pulse amplitude percentage, which is used to define the beginning of a rising edge or end of ...
EXPORT int PwrSnsr_SetEndQual(SessionID Vi, float EndQual)
Set the minimum amount of time power remains below the trigger point to be counted as the end of a bu...
EXPORT int PwrSnsr_close(SessionID Vi)
Closes the I/O session to the instrument. Driver methods and properties that access the instrument ar...
Definition: PwrSnsrLib.h:71
Definition: PwrSnsrLib.h:88
EXPORT int PwrSnsr_GetMeasBuffEnabled(SessionID Vi, int *MeasBuffEnabled)
Get whether the measurement buffer has been enabled.
EXPORT int PwrSnsr_InitiateAquisition(SessionID Vi)
Starts a single measurement cycle when INITiate:CONTinuous is set to OFF.
Definition: PwrSnsrLib.h:73
EXPORT int PwrSnsr_GetExternalSkew(SessionID Vi, const char *Channel, float *External)
Gets the skew in seconds for the external trigger.
EXPORT int PwrSnsr_FetchWaveform(SessionID Vi, const char *Channel, int WaveformArrayBufferSize, float WaveformArray[], int *WaveformArrayActualSize)
Returns a previously acquired waveform for this channel. The acquisition must be made prior to callin...
Definition: PwrSnsrLib.h:146
EXPORT int PwrSnsr_GetStartGate(SessionID Vi, const char *Channel, float *StartGate)
Get the point on a pulse, which is used to define the beginning of the pulse's active interval.
Definition: PwrSnsrLib.h:167
EXPORT int PwrSnsr_FetchCCDFTrace(SessionID Vi, const char *Channel, int TraceBufferSize, float Trace[], int *TraceActualSize)
Returns the points in the CCDF trace.
EXPORT int PwrSnsr_SetCapture(SessionID Vi, const char *Channel, int Capture)
Set whether statistical capture is enabled.
EXPORT int PwrSnsr_FetchDutyCycle(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the ratio of the pulse on-time to off-time.
Definition: PwrSnsrLib.h:227
EXPORT int PwrSnsr_GetModel(SessionID Vi, const char *Channel, int ModelBufferSize, char Model[])
Gets the model of the meter connected to the specified channel.
EXPORT int PwrSnsr_SetGating(SessionID Vi, const char *Channel, PwrSnsrStatGatingEnum Gating)
Set whether the statical capture is gated by markers or free-running.
EXPORT int PwrSnsr_ReadByteArray(SessionID Vi, const char *Channel, int Count, int ValBufferSize, unsigned char Val[], int *ValActualSize)
Reads byte array from the meter.
Definition: PwrSnsrLib.h:159
EXPORT int PwrSnsr_FetchOfftime(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the time a repetitive pulse is off. (Equal to the pulse period minus the pulsewidth).
EXPORT int PwrSnsr_ReadFallTime(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the interval between the last signal crossing of the distal line to the last signal crossing ...
int EXPORT PwrSnsr_SetVerticalCenter(SessionID Vi, const char *Channel, float VerticalCenter)
Sets vertical center based on current units: <arg> = (range varies by units)
EXPORT int PwrSnsr_SetEndDelay(SessionID Vi, float EndDelay)
Set delay time added to the detected end of a burst for analysis. Typically negative....
EXPORT int PwrSnsr_GetNumberOfCals(long *val)
Get the number of calibrations left on the license.
Definition: PwrSnsrLib.h:174
EXPORT int PwrSnsr_FetchIntervalMin(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the minimum instantaneous power or voltage in the time interval between marker1 and marker 2....
PwrSnsrTermActionEnum
Definition: PwrSnsrLib.h:156
EXPORT int PwrSnsr_GetPulseUnits(SessionID Vi, const char *Channel, PwrSnsrPulseUnitsEnum *Units)
Get the units for entering the pulse distal, mesial and proximal levels.
Definition: PwrSnsrLib.h:262
EXPORT int PwrSnsr_GetPeakPowerMax(SessionID Vi, const char *Channel, float *PeakPowerMax)
Maximum power level the sensor can measure.
EXPORT int PwrSnsr_SetCCDFTraceCount(SessionID Vi, const char *Channel, int TraceCount)
Set the number of points (1 - 16384) in the CCDF trace plot.
EXPORT int PwrSnsr_ReadRiseTime(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the interval between the first signal crossing of the proximal line to the first signal cross...
EXPORT int PwrSnsr_MeasurePower(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return average power using a default instrument configuration in Modulated Mode and dBm units....
EXPORT int PwrSnsr_FetchEdgeDelay(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns time offset from the trigger reference to the first mesial transition level of either slope o...
Definition: PwrSnsrLib.h:64
EXPORT int PwrSnsr_GetTrigLevel(SessionID Vi, float *Level)
Return the trigger level for synchronizing data acquisition with a pulsed input signal.
EXPORT int PwrSnsr_ReadOfftime(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the time a repetitive pulse is off. (Equal to the pulse period minus the pulse width).
Definition: PwrSnsrLib.h:137
EXPORT int PwrSnsr_SetSessionCount(SessionID Vi, int SessionCount)
Set the count of elements for this measurement buffer session. Set to 0 for the meter to continuously...
EXPORT int PwrSnsr_StatModeReset(SessionID Vi, const char *Channel)
Resets statistical capturing mode by clearing the buffers and restarting the aquisition timer.
EXPORT int PwrSnsr_GetTrigHoldoff(SessionID Vi, float *Holdoff)
Return the trigger holdoff time in seconds.
EXPORT int PwrSnsr_FindResources(const char *Delimiter, int ValBufferSize, char Val[])
Returns a delimited string of available resources. These strings can be used in the initialize functi...
EXPORT int PwrSnsr_GetTrigPosition(SessionID Vi, PwrSnsrTriggerPositionEnum *Position)
Return the position of the trigger event on displayed sweep.
EXPORT int PwrSnsr_GetFrequency(SessionID Vi, const char *Channel, float *Frequency)
Get the RF frequency for the current sensor.
EXPORT int PwrSnsr_SetMeasBuffEnabled(SessionID Vi, int MeasBuffEnabled)
Enable or disable the measurement buffer. Disabling the measurement buffer enables modulated/CW measu...
EXPORT int PwrSnsr_FetchCCDFPower(SessionID Vi, const char *Channel, double Percent, PwrSnsrCondCodeEnum *CondCode, double *Val)
Return relative power (in dB) for a given percent on the CCDF plot.
Definition: PwrSnsrLib.h:49
EXPORT int PwrSnsr_GetGateMode(SessionID Vi, PwrSnsrMeasBuffGateEnum *GateMode)
Each Measurement Buffer Entry is controlled by a buffer gate that defines the start and end of the en...
EXPORT int PwrSnsr_GetOverRan(SessionID Vi, int *OverRan)
Get flag indicating whether the power meter's internal buffer filled up before being emptied.
Definition: PwrSnsrLib.h:128
EXPORT int PwrSnsr_GetBufferedMeasurementsAvailable(SessionID Vi, int *MeasurementsAvailable)
Gets the number of measurements available in the power meter's internal buffer. Note: The number of r...
Definition: PwrSnsrLib.h:173
Definition: PwrSnsrLib.h:100
EXPORT int PwrSnsr_SetReturnCount(SessionID Vi, int ReturnCount)
Set the return count for each measurement query.
PwrSnsrBandwidthEnum
Definition: PwrSnsrLib.h:111
EXPORT int PwrSnsr_GetCalFactors(SessionID Vi, const char *Channel, float *MaxFrequency, float *MinFrequency, int FrequencyListBufferSize, float FrequencyList[], int *FrequencyListActualSize, int CalFactorListBufferSize, float CalFactorList[], int *CalFactorListActualSize, PwrSnsrBandwidthEnum Bandwidth)
Query information associated with calibration factors.
EXPORT int PwrSnsr_GetTimespan(SessionID Vi, float *Timespan)
Get the horizontal time span of the trace in pulse mode. Time span = 10* Time/Division....
EXPORT int PwrSnsr_ClearError(SessionID Vi)
This function clears the error code and error description for the given session.
float RiseTime
Definition: PwrSnsrLib.h:2584
Definition: PwrSnsrLib.h:106
Definition: PwrSnsrLib.h:256
Definition: PwrSnsrLib.h:280
EXPORT int PwrSnsr_GetManufactureDate(SessionID Vi, const char *Channel, int ManufactureDateBufferSize, char ManufactureDate[])
Date the sensor was manufactured in the following format YYYYmmDD.
EXPORT int PwrSnsr_FetchPowerArray(SessionID Vi, const char *Channel, float *PulsePeak, PwrSnsrCondCodeEnum *PulsePeakValid, float *PulseCycleAvg, PwrSnsrCondCodeEnum *PulseCycleAvgValid, float *PulseOnAvg, PwrSnsrCondCodeEnum *PulseOnValid, float *IEEETop, PwrSnsrCondCodeEnum *IEEETopValid, float *IEEEBottom, PwrSnsrCondCodeEnum *IEEEBottomValid, float *Overshoot, PwrSnsrCondCodeEnum *OvershootValid, float *Droop, PwrSnsrCondCodeEnum *DroopValid)
Returns an array of the current automatic amplitude measurements performed on a periodic pulse wave...
EXPORT int PwrSnsr_GetSessionCount(SessionID Vi, int *SessionCount)
Get the count of elements for this measurement buffer session. Set to 0 for the meter to continuously...
EXPORT int PwrSnsr_GetMaxFreqLowBandwidth(SessionID Vi, const char *Channel, float *MaxFreqLowBandwidth)
Maximum frequency carrier the sensor can measure in low bandwidth.
EXPORT int PwrSnsr_FetchCWPower(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the most recently acquired CW power.
EXPORT int PwrSnsr_GetCapture(SessionID Vi, const char *Channel, int *Capture)
Get whether statistical capture is enabled.
EXPORT int PwrSnsr_FetchMarkerRDelta(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *condCode, float *Val)
Return the difference between MK2 and MK1. The units will be the same as marker units.
EXPORT int PwrSnsr_GetMinimumTrig(SessionID Vi, const char *Channel, float *MinimumTrig)
Minimum internal trigger level in dBm.
EXPORT int PwrSnsr_SetSessionTimeout(SessionID Vi, float Seconds)
Set the count of elements for this measurement buffer session. Set to 0 for the meter to continuously...
Definition: PwrSnsrLib.h:38
EXPORT int PwrSnsr_AcquireMeasurements(SessionID Vi, double Timeout, int Count, PwrSnsrMeasBuffStopReasonEnum *StopReason, int *Val)
Initiates new acquisition from the measurement buffer system (if acquisition is in the stopped state)...
PwrSnsrPulseUnitsEnum
Definition: PwrSnsrLib.h:126
EXPORT int PwrSnsr_ReadArrayMarkerPower(SessionID Vi, const char *Channel, float *AvgPower, PwrSnsrCondCodeEnum *AvgPowerCondCode, float *MaxPower, PwrSnsrCondCodeEnum *MaxPowerCondCode, float *MinPower, PwrSnsrCondCodeEnum *MinPowerCondCode, float *PkToAvgRatio, PwrSnsrCondCodeEnum *PkToAvgRatioCondCode, float *Marker1Power, PwrSnsrCondCodeEnum *Marker1PowerCondCode, float *Marker2Power, PwrSnsrCondCodeEnum *Marker2PowerCondCode, float *MarkerRatio, PwrSnsrCondCodeEnum *MarkerRatioCondCode)
Returns an array of the current marker measurements for the specified channel.
EXPORT int PwrSnsr_SetTermAction(SessionID Vi, const char *Channel, PwrSnsrTermActionEnum TermAction)
Set the termination action for statistical capturing.
Definition: PwrSnsrLib.h:147
Definition: PwrSnsrLib.h:135
Definition: PwrSnsrLib.h:271
Definition: PwrSnsrLib.h:274
PwrSnsrErrorCodesEnum
Definition: PwrSnsrLib.h:234
Definition: PwrSnsrLib.h:223
float Width
Definition: PwrSnsrLib.h:2577
EXPORT int PwrSnsr_AdvanceReadIndex(SessionID Vi)
Send a command to the meter to notify it the user is done reading and to advance the read index.
Definition: PwrSnsrLib.h:107
Definition: PwrSnsrLib.h:63
EXPORT int PwrSnsr_SetStartDelay(SessionID Vi, float StartDelay)
Set delay time added to the detected beginning of a burst for analysis. Typically used to exclude the...
EXPORT int PwrSnsr_FetchMarkerRRatio(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the ratio of MK2 to MK1. The units will be dB for logarithmic units or percent for linear unit...
EXPORT int PwrSnsr_FetchIntervalMaxAvg(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return maximum of the average power trace between MK1 and MK2. The units will be the same as the spec...
EXPORT int PwrSnsr_FetchIEEEBottom(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the IEEE-define base line, i.e. The two portions of a pulse waveform which represent the firs...
PwrSnsrMeasBuffGateEnum
Definition: PwrSnsrLib.h:193
EXPORT int PwrSnsr_SetTrigHoldoffMode(SessionID Vi, PwrSnsrHoldoffModeEnum HoldoffMode)
Sets the holdoff mode to normal or gap holdoff.
EXPORT int PwrSnsr_QueryMinMeasurements(SessionID Vi, const char *Channel, int ValBufferSize, float Val[], int *ValActualSize)
Query the power meter for all buffered minimum power measurements.
EXPORT int PwrSnsr_GetMeasurementsAvailable(SessionID Vi, const char *Channel, int *Val)
Get the number of measurement entries available that were captured during AcquireMeasurements().
EXPORT int PwrSnsr_GetTrigStatus(SessionID Vi, PwrSnsrTriggerStatusEnum *Status)
The status of the triggering system. Update rate is controlled by FetchLatency setting.
EXPORT int PwrSnsr_ReadPulseOnAverage(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Average power of the ON portion of the pulse.
EXPORT int PwrSnsr_ClearMeasurements(SessionID Vi)
Clears cached average, min, max, duration, start time, and sequence number measurements.
PwrSnsrAcquisitionStatusEnum
Definition: PwrSnsrLib.h:35
EXPORT int PwrSnsr_GetTrigSlope(SessionID Vi, PwrSnsrTriggerSlopeEnum *Slope)
Return the trigger slope or polarity.
EXPORT int PwrSnsr_SetFetchLatency(SessionID Vi, int Latency)
Set the period the library waits to update fetch measurements in ms.
EXPORT int PwrSnsr_FetchMarkerMin(SessionID Vi, const char *Channel, int Marker, PwrSnsrCondCodeEnum *IsValid, float *Val)
Forthe specified marker, return the minimum power or voltage at the marker. The units are the same as...
EXPORT int PwrSnsr_GetCurrentTemp(SessionID Vi, const char *Channel, double *CurrentTemp)
Get current sensor internal temperature in degrees C.
EXPORT int PwrSnsr_SetTrigDelay(SessionID Vi, float Delay)
Sets the trigger delay time in seconds with respect to the trigger for the trigger display location i...
EXPORT int PwrSnsr_ClearUserCal(SessionID Vi, const char *Channel)
Resets the value of fixed cal, zero, and skew to factory defaults.
EXPORT int PwrSnsr_ReadWaveformMinMax(SessionID Vi, const char *Channel, int MinWaveformBufferSize, float MinWaveform[], int *MinWaveformActualSize, int MaxWaveformBufferSize, float MaxWaveform[], int *MaxWaveformActualSize, int WaveformArrayBufferSize, float WaveformArray[], int *WaveformArrayActualSize)
Initiates an acquisition on all enabled channels, waits (up to MaxTime) for the acquisition to comple...
EXPORT int PwrSnsr_SetHorizontalOffset(SessionID Vi, const char *Channel, double HorizontalOffset)
Set the statistical mode horizontal scale offset in dB. The offset value will appear at the leftmost ...
EXPORT int PwrSnsr_SetTrigVernier(SessionID Vi, float Vernier)
Set the fine position of the trigger event on the power sweep.
Data structure containing pulse information.
Definition: PwrSnsrLib.h:2575
EXPORT int PwrSnsr_reset(SessionID Vi)
EXPORT int PwrSnsr_SetPeakHoldDecay(SessionID Vi, const char *Channel, int PeakHoldDecay)
Set the number of min/max traces averaged together to form the peak hold measurement results on the s...
EXPORT int PwrSnsr_SetTermCount(SessionID Vi, const char *Channel, double TermCount)
Set the termination count for statistical capturing. After the sample count has been reached,...
EXPORT int PwrSnsr_QueryStartTimes(SessionID Vi, const char *Channel, int ValBufferSize, float Val[], int *ValActualSize)
Query the power meter for all buffered start times in seconds.
EXPORT int PwrSnsr_GetFpgaVersion(SessionID Vi, const char *Channel, int ValBufferSize, char Val[])
Get the sensor FPGA version.
Definition: PwrSnsrLib.h:151
Definition: PwrSnsrLib.h:95
EXPORT int PwrSnsr_GetTrigVernier(SessionID Vi, float *Vernier)
Return the fine position of the trigger event on the power sweep.
EXPORT int PwrSnsr_GetFetchLatency(SessionID Vi, int *Latency)
Get the period the library waits to update fetch measurements in ms.
EXPORT int PwrSnsr_FetchStatMeasurementArray(SessionID Vi, const char *Channel, double *Pavg, PwrSnsrCondCodeEnum *PavgCond, double *Ppeak, PwrSnsrCondCodeEnum *PpeakCond, double *Pmin, PwrSnsrCondCodeEnum *PminCond, double *PkToAvgRatio, PwrSnsrCondCodeEnum *PkToAvgRatioCond, double *CursorPwr, PwrSnsrCondCodeEnum *CursorPwrCond, double *CursorPct, PwrSnsrCondCodeEnum *CursorPctCond, double *SampleCount, PwrSnsrCondCodeEnum *SampleCountCond, double *SecondsRun, PwrSnsrCondCodeEnum *SecondsRunCond)
Returns an array of the current automatic statistical measurements performed on a sample population.
EXPORT int PwrSnsr_ClearBuffer(SessionID Vi)
Sends a command to the power meter to clear all buffered readings. This method does not clear cached ...
EXPORT int PwrSnsr_SetTrigOutMode(SessionID Vi, const char *Channel, int Mode)
Sets the trigger out/mult io mode. Setting trigger mode overrides this command.
EXPORT int PwrSnsr_FetchMarkerAverage(SessionID Vi, const char *Channel, int Marker, PwrSnsrCondCodeEnum *IsValid, float *Val)
Forthe specified marker, return the average power or voltage at the marker. The units are the same as...
PwrSnsrTriggerPositionEnum
Definition: PwrSnsrLib.h:61
EXPORT int PwrSnsr_GetEndDelay(SessionID Vi, float *EndDelay)
Get delay time added to the detected end of a burst for analysis. Typically negative....
EXPORT int PwrSnsr_SetRdgsEnableFlag(SessionID Vi, int Flag)
Set the flag indicating which measurement buffer arrays will be read when calling PwrSnsr_AcquireMeas...
EXPORT int PwrSnsr_SetPercentPosition(SessionID Vi, const char *Channel, double PercentPosition)
Set the cursor percent on the CCDF plot.
PwrSnsrFilterStateEnum
Definition: PwrSnsrLib.h:118
EXPORT int PwrSnsr_GetAcqStatusArray(SessionID Vi, const char *Channel, int *SweepLength, double *SampleRate, double *SweepRate, double *SweepTime, double *StartTime, int *StatusWord)
Returns data about the status of the acquisition system.
PwrSnsrTrigOutModeEnum
Definition: PwrSnsrLib.h:178
EXPORT int PwrSnsr_GetFirmwareVersion(SessionID Vi, const char *Channel, int FirmwareVersionBufferSize, char FirmwareVersion[])
Returns the firmware version of the power meter associated with this channel.
EXPORT int PwrSnsr_GetTermAction(SessionID Vi, const char *Channel, PwrSnsrTermActionEnum *TermAction)
Get the termination action for statistical capturing.
EXPORT int PwrSnsr_GetFactoryCalDate(SessionID Vi, const char *Channel, int FactoryCalDateBufferSize, char FactoryCalDate[])
The date (YYYYmmDD) the last time the sensor was calibrated at the factory.
EXPORT int PwrSnsr_GetIsAvailable(SessionID Vi, const char *Channel, int *IsAvailable)
Returns true if modulated/CW measurement system is available. Will always return false if measurement...
EXPORT int PwrSnsr_ReadIntervalAvg(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the average power or voltage in the time interval between marker 1 and marker 2....
EXPORT int PwrSnsr_SetMarkerPixelPosition(SessionID Vi, int MarkerNumber, int PixelPosition)
Set the horizontal pixel position (X-axis-position) of the selected vertical marker....
EXPORT int PwrSnsr_ReadIntervalMinAvg(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return minimum of the average power trace between MK1 and MK2. The units will be the same as the spec...
EXPORT int PwrSnsr_GetDongleSerialNumber(long *val)
Get the hardware license serial number.
EXPORT int PwrSnsr_ReadPulsePeak(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the peak amplitude during the pulse.
EXPORT int PwrSnsr_FetchPulsePeak(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the peak amplitude during the pulse.
EXPORT int PwrSnsr_ReadDutyCycle(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the ratio of the pulse on-time to off-time.
EXPORT int PwrSnsr_SetStartMode(SessionID Vi, PwrSnsrMeasBuffStartModeEnum StartMode)
Set the mode used to start acquisition of buffer entries.
EXPORT int PwrSnsr_FetchIntervalAvg(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the average power or voltage in the time interval between marker 1 and marker 2....
Definition: PwrSnsrLib.h:247
Definition: PwrSnsrLib.h:259
EXPORT int PwrSnsr_GetCCDFTraceCount(SessionID Vi, const char *Channel, int *TraceCount)
Get the number of points in the CCDF trace plot.
Definition: PwrSnsrLib.h:283
EXPORT int PwrSnsr_GetPercentPosition(SessionID Vi, const char *Channel, double *PercentPosition)
Get the cursor percent on the CCDF plot.
EXPORT int PwrSnsr_GetEndQual(SessionID Vi, float *EndQual)
Get the minimum amount of time power remains below the trigger point to be counted as the end of a bu...
EXPORT int PwrSnsr_ReadMarkerMin(SessionID Vi, const char *Channel, int Marker, PwrSnsrCondCodeEnum *CondCode, float *Val)
Forthe specified marker, return the minimum power or voltage at the marker. The units are the same as...
EXPORT int PwrSnsr_FetchPulseCycleAvg(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the average power of the entire pulse.
EXPORT int PwrSnsr_GetAttenuation(SessionID Vi, const char *Channel, float *Attenuation)
Attenuation in dB for the sensor.
EXPORT int PwrSnsr_GetStartDelay(SessionID Vi, float *StartDelay)
Get delay time added to the detected beginning of a burst for analysis. Typically used to exclude the...
EXPORT int PwrSnsr_ReadCWPower(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
EXPORT int PwrSnsr_SetPowerPosition(SessionID Vi, const char *Channel, double PowerPosition)
Set the cursor power in dB on the CCDF plot.
EXPORT int PwrSnsr_FetchCursorPercent(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, double *Val)
Returns the percent CCDF at the cursor.
Definition: PwrSnsrLib.h:85
Definition: PwrSnsrLib.h:139
Definition: PwrSnsrLib.h:243
float RiseDistal
Definition: PwrSnsrLib.h:2583
EXPORT int PwrSnsr_Status(SessionID Vi, PwrSnsrAcquisitionStatusEnum *Val)
Returns whether an acquisition is in progress, complete, or if the status is unknown.
PwrSnsrMarkerNumberEnum
Definition: PwrSnsrLib.h:104
EXPORT int PwrSnsr_Zero(SessionID Vi, const char *Channel)
Performs a zero offset null adjustment.
EXPORT int PwrSnsr_GetStartTimes(SessionID Vi, const char *Channel, int ValBufferSize, double Val[], int *ValActualSize)
Get the start time entries in seconds that were captured during the last call to AcquireMeasurements.
EXPORT int PwrSnsr_GetChanTraceCount(SessionID Vi, const char *Channel, int *TraceCount)
Get the number of points in the CCDF trace plot.
EXPORT int PwrSnsr_GetMinFreqHighBandwidth(SessionID Vi, const char *Channel, float *MinFreqHighBandwidth)
Minimum frequency of RF the sensor can measure in high bandwidth.
Definition: PwrSnsrLib.h:239
EXPORT int PwrSnsr_GetIsAvgSensor(SessionID Vi, const char *Channel, int *IsAvgSensor)
Retruns true if sensor is average responding (not peak detecting).
EXPORT int PwrSnsr_ReadMarkerRatio(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the ratio of MK1 to MK2. The units will be dB for logarithmic units or percent for linear unit...
EXPORT int PwrSnsr_ReadMarkerAverage(SessionID Vi, const char *Channel, int Marker, PwrSnsrCondCodeEnum *CondCode, float *Val)
Forthe specified marker, return the average power or voltage at the marker. The units are the same as...
EXPORT int PwrSnsr_Clear(SessionID Vi)
Clear all data buffers. Clears averaging filters to empty.
Definition: PwrSnsrLib.h:265
EXPORT int PwrSnsr_FetchWaveformMinMax(SessionID Vi, const char *Channel, int MinWaveformBufferSize, float MinWaveform[], int *MinWaveformActualSize, int MaxWaveformBufferSize, float MaxWaveform[], int *MaxWaveformActualSize, int WaveformArrayBufferSize, float WaveformArray[], int *WaveformArrayActualSize)
Returns the previously acquired minimum and maximum waveforms for this specified channel....
EXPORT int PwrSnsr_SetEnabled(SessionID Vi, const char *Channel, int Enabled)
Get the measurement state of the selected channel. When the value is true, the channel performs measu...
Definition: PwrSnsrLib.h:236
EXPORT int PwrSnsr_GetSweepTime(SessionID Vi, const char *Channel, float *SweepTime)
Get sweep time for the trace in seconds.
EXPORT int PwrSnsr_IsLicenseDongleConnected(int *val)
Get whether the hardware license dongle is connected.
Definition: PwrSnsrLib.h:145
EXPORT int PwrSnsr_GetUnits(SessionID Vi, const char *Channel, PwrSnsrUnitsEnum *Units)
Get units for the selected channel.
EXPORT int PwrSnsr_FetchIntervalFilteredMax(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the maximum filtered power or voltage in the time interval between marker 1 and marker 2....
Definition: PwrSnsrLib.h:166
EXPORT int PwrSnsr_ReadWidth(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the pulse width, i.e. the interval between the first and second signal crossings of the mesia...
Definition: PwrSnsrLib.h:226
Definition: PwrSnsrLib.h:129
Definition: PwrSnsrLib.h:248
EXPORT int PwrSnsr_ReadIntervalFilteredMax(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the maximum filtered power or voltage in the time interval between marker 1 and marker 2....
Definition: PwrSnsrLib.h:74
Definition: PwrSnsrLib.h:289
EXPORT int PwrSnsr_FetchExtendedWaveform(SessionID Vi, const char *Channel, int WaveformArrayBufferSize, float WaveformArray[], int *WaveformArrayActualSize, int Count)
When capture priority is enabled, returns up to 100000 points of trace data based on the current time...
float RiseProximal
Definition: PwrSnsrLib.h:2582
Definition: PwrSnsrLib.h:268
PwrSnsrUnitsEnum
Definition: PwrSnsrLib.h:93
EXPORT int PwrSnsr_LoadMemChanFromArchive(SessionID Vi, const char *memChan, const char *ArchiveContent)
Loads the named memory channel using the given archive. If the memory channel does not exist,...
Definition: PwrSnsrLib.h:160
float FallProximal
Definition: PwrSnsrLib.h:2585
EXPORT int PwrSnsr_SetCalFactor(SessionID Vi, const char *Channel, float CalFactor)
Set the frequency calibration factor currently in use on the selected channel.
int EXPORT PwrSnsr_GetVerticalCenter(SessionID Vi, const char *Channel, float *VerticalCenter)
Gets vertical center based on current units: <arg> = (range varies by units)
Definition: PwrSnsrLib.h:84
EXPORT int PwrSnsr_QuerySequenceNumbers(SessionID Vi, const char *Channel, int ValBufferSize, long long Val[], int *ValActualSize)
Query the power meter for all buffered sequence numbers.
EXPORT int PwrSnsr_ReadOvershoot(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the difference between the distortion following a major transition and the IEEE top line in d...
EXPORT int PwrSnsr_GetMinFreqLowBandwidth(SessionID Vi, const char *Channel, float *MinFreqLowBandwidth)
Minimum frequency carrier the sensor can measure in low bandwidth.
EXPORT int PwrSnsr_GetTimedOut(SessionID Vi, int *TimedOut)
Check if the last measurement buffer session timed out.
EXPORT int PwrSnsr_FetchArrayMarkerPower(SessionID Vi, const char *Channel, float *AvgPower, PwrSnsrCondCodeEnum *AvgPowerCondCode, float *MaxPower, PwrSnsrCondCodeEnum *MaxPowerCondCode, float *MinPower, PwrSnsrCondCodeEnum *MinPowerCondCode, float *PkToAvgRatio, PwrSnsrCondCodeEnum *PkToAvgRatioCondCode, float *Marker1Power, PwrSnsrCondCodeEnum *Marker1PowerCondCode, float *Marker2Power, PwrSnsrCondCodeEnum *Marker2PowerCondCode, float *MarkerRatio, PwrSnsrCondCodeEnum *MarkerRatioCondCode)
Returns an array of the current marker measurements for the specified channel.
Definition: PwrSnsrLib.h:237
EXPORT int PwrSnsr_SetInternalSkew(SessionID Vi, const char *Channel, float InternalSkew)
Sets the skew in seconds for the internal trigger.
EXPORT int PwrSnsr_GetReturnCount(SessionID Vi, int *ReturnCount)
Get the return count for each measurement query.
Definition: PwrSnsrLib.h:79
EXPORT int PwrSnsr_ReadIntervalPkToAvg(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the peak-to-average ratio of the power or voltage between marker 1 and marker 2....
EXPORT int PwrSnsr_GetDistal(SessionID Vi, const char *Channel, float *Distal)
Get the pulse amplitude percentage, which is used to define the end of a rising edge or beginning of ...
Definition: PwrSnsrLib.h:99
Definition: PwrSnsrLib.h:224
EXPORT int PwrSnsr_GetPeakHoldTracking(SessionID Vi, const char *Channel, int *EnvelopeTracking)
Returns whether peak hold decay automatically tracks trace averaging. If set to true,...
EXPORT int PwrSnsr_GetHorizontalOffset(SessionID Vi, const char *Channel, double *HorizontalOffset)
Get the statistical mode horizontal scale offset in dB. The offset value will appear at the leftmost ...
EXPORT int PwrSnsr_GetSerialNumber(SessionID Vi, const char *Channel, int SerialNumberBufferSize, char SerialNumber[])
Gets the serial number of the sensor.
EXPORT int PwrSnsr_GetMaxFreqHighBandwidth(SessionID Vi, const char *Channel, float *MaxFreqHighBandwidth)
Maximum frequency carrier the sensor can measure in high bandwidth.
EXPORT int PwrSnsr_GetPeriod(SessionID Vi, float *Period)
Get the period each timed mode acquisition (measurement buffer) is started.
EXPORT int PwrSnsr_SetGateMode(SessionID Vi, PwrSnsrMeasBuffGateEnum GateMode)
Each Measurement Buffer Entry is controlled by a buffer gate that defines the start and end of the en...
EXPORT int PwrSnsr_ReadIntervalMax(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the maximum instantaneous power or voltage in the time interval between marker1 and marker 2....
EXPORT int PwrSnsr_ReadMarkerMax(SessionID Vi, const char *Channel, int Marker, PwrSnsrCondCodeEnum *CondCode, float *Val)
Forthe specified marker, return the maximum power or voltage at the marker. The units are the same as...
EXPORT int PwrSnsr_GetSlaveSkew(SessionID Vi, const char *Channel, float *SlaveSkew)
Gets the skew in seconds for the slave trigger.
float Min
Definition: PwrSnsrLib.h:2579
EXPORT int PwrSnsr_SetAverage(SessionID Vi, const char *Channel, int Average)
Set the number of traces averaged together to form the measurement result on the selected channel.
EXPORT int PwrSnsr_FetchCursorPower(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, double *Val)
Returns the power CCDF in dB at the cursor.
Definition: PwrSnsrLib.h:78
EXPORT int PwrSnsr_SetFrequency(SessionID Vi, const char *Channel, float Frequency)
Set the RF frequency for the current sensor, and apply the appropriate frequency calibration factor f...
EXPORT int PwrSnsr_SetOffsetdB(SessionID Vi, const char *Channel, float OffsetdB)
Set a measurement offset in dB for the selected sensor.
PwrSnsrRdgsEnableFlag
Definition: PwrSnsrLib.h:220
EXPORT int PwrSnsr_SendSCPIToNamedParser(SessionID Vi, const char *name, const char *Command)
Send a SCPI command to the instrument using a named SCPI parser.
EXPORT int PwrSnsr_GetBandwidth(SessionID Vi, const char *Channel, PwrSnsrBandwidthEnum *Bandwidth)
Get the sensor video bandwidth for the selected sensor.
Definition: PwrSnsrLib.h:75
EXPORT int PwrSnsr_ReadIntervalFilteredMin(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the minmum power or voltage in the time interval between marker 1 and marker 2....
EXPORT int PwrSnsr_FetchFallTime(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the interval between the last signal crossing of the distal line to the last signalcrossing o...
EXPORT int PwrSnsr_GetHorizontalScale(SessionID Vi, const char *Channel, double *HorizontalScale)
Get the statistical mode horizontal scale in dB/Div.
EXPORT int PwrSnsr_ZeroQuery(SessionID Vi, const char *Channel, int *Val)
Performs a zero offset null adjustment and returns true if successful.
EXPORT int PwrSnsr_GetEnabled(SessionID Vi, const char *Channel, int *Enabled)
Get the measurement state of the selected channel. When the value is true, the channel performs measu...
EXPORT int PwrSnsr_FetchWidth(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the pulse width, i.e. the interval between the first and second signal crossings of the mesia...
EXPORT int PwrSnsr_FetchAllMultiPulse(SessionID Vi, const char *Channel, int PulseInfosSize, PulseInfo PulseInfos[], int *PulseInfosActualSize)
Return all previously acquired multiple pulse measurements. The elements in the PulseInfos array corr...
EXPORT int PwrSnsr_ReadIEEEBottom(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the IEEE-define base line, i.e. The two portions of a pulse waveform which represent the firs...
PwrSnsrCondCodeEnum
Definition: PwrSnsrLib.h:133
EXPORT int PwrSnsr_ReadPulseCycleAvg(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the average power of the entire pulse.
EXPORT int PwrSnsr_FetchIEEETop(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the IEEE-defined top line, i.e. the portion of a pulse waveform which represents the second n...
EXPORT int PwrSnsr_ReadCWArray(SessionID Vi, const char *Channel, float *PeakAverage, PwrSnsrCondCodeEnum *PeakAverageValid, float *PeakMax, PwrSnsrCondCodeEnum *PeakMaxValid, float *PeakMin, PwrSnsrCondCodeEnum *PeakMinValid, float *PeakToAvgRatio, PwrSnsrCondCodeEnum *PeakToAvgRatioValid)
Returns the current average, maximum, minimum powers or voltages and the peak-to-average ratio of the...
EXPORT int PwrSnsr_FetchIntervalFilteredMin(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the minmum power or voltage in the time interval between marker 1 and marker 2....
Definition: PwrSnsrLib.h:249
EXPORT int PwrSnsr_SetContinuousCapture(SessionID Vi, int ContinuousCapture)
Set whether AcquireMeasurements will stop the measurement buffer session or continue capturing measur...
EXPORT int PwrSnsr_GetTrigDelay(SessionID Vi, float *Delay)
Return the trigger delay time in seconds with respect to the trigger for the trigger display location...
EXPORT int PwrSnsr_StopAcquisition(SessionID Vi)
Sends a command to stop the measurement buffer from acquiring readings.
Definition: PwrSnsrLib.h:122
EXPORT int PwrSnsr_GetTrigSource(SessionID Vi, PwrSnsrTriggerSourceEnum *Source)
Set the signal the power meter monitors for a trigger. It can be channel external input,...
EXPORT int PwrSnsr_SetHorizontalScale(SessionID Vi, const char *Channel, double HorizontalScale)
Set the statistical mode horizontal scale in dB/Div.
Definition: PwrSnsrLib.h:72
EXPORT int PwrSnsr_SetFilterState(SessionID Vi, const char *Channel, PwrSnsrFilterStateEnum FilterState)
Set the current setting of the integration filter on the selected channel.
EXPORT int PwrSnsr_self_test(SessionID Vi, int *TestResult)
Performs an instrument self test, waits for the instrument to complete the test, and queries the inst...
EXPORT int PwrSnsr_StartAcquisition(SessionID Vi)
Starts measurement buffer acquisition. This method allows the user to send a command to the power met...
EXPORT int PwrSnsr_QueryDurations(SessionID Vi, const char *Channel, int ValBufferSize, float Val[], int *ValActualSize)
Query the power meter for all buffered measurement durations in seconds.
EXPORT int PwrSnsr_FetchRiseTime(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the interval between the first signal crossing of the proximal line to the first signal cross...
Definition: PwrSnsrLib.h:246
EXPORT int PwrSnsr_GetMaxMeasurements(SessionID Vi, const char *Channel, int ValBufferSize, float Val[], int *ValActualSize)
Get the maximum power measurements that were captured during the last call to AcquireMeasurements.
PwrSnsrMeasBuffStartModeEnum
Definition: PwrSnsrLib.h:203
EXPORT int PwrSnsr_SetTrigPosition(SessionID Vi, PwrSnsrTriggerPositionEnum Position)
Set the position of the trigger event on displayed sweep.
EXPORT int PwrSnsr_FetchDistal(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the actual detected power of the distal level in the current channel units.
EXPORT int PwrSnsr_SetExternalSkew(SessionID Vi, const char *Channel, float External)
Sets the skew in seconds for the external trigger.
EXPORT int PwrSnsr_Write(SessionID Vi, const char *Channel, int DataBufferSize, unsigned char Data[])
Write a byte array to the meter.
Definition: PwrSnsrLib.h:136
EXPORT int PwrSnsr_FetchOvershoot(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the difference between the distortion following a major transition and the IEEE top line in d...
EXPORT int PwrSnsr_SetDuration(SessionID Vi, float Duration)
Set the duration samples are captured during each timed mode acquisition.
EXPORT int PwrSnsr_ReadWaveform(SessionID Vi, const char *Channel, int WaveformArrayBufferSize, float WaveformArray[], int *WaveformArrayActualSize)
Initiates an acquisition on all enabled channels, waits (up to MaxTime) for the acquisition to comple...
float FallTime
Definition: PwrSnsrLib.h:2587
EXPORT int PwrSnsr_SetWriteProtection(SessionID Vi, int WriteProtection)
Set whether to allow the measurement buffer to overwrite entries that have not been read by the user.
PwrSnsrTriggerSourceEnum
Definition: PwrSnsrLib.h:69
Definition: PwrSnsrLib.h:241
EXPORT int PwrSnsr_ReadIntervalMin(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Return the minimum instantaneous power or voltage in the time interval between marker1 and marker 2....
Definition: PwrSnsrLib.h:96
EXPORT int PwrSnsr_ResetContinuousCapture(SessionID Vi)
Sets a flag indicating to restart continuous capture. This method allows the user to restart continuo...
EXPORT int PwrSnsr_GetMemChanArchive(SessionID Vi, const char *memChan, int ValBufferSize, char Val[])
Returns an XML document containing settings and readings obtained using the SaveToMemoryChannel metho...
Definition: PwrSnsrLib.h:245
Definition: PwrSnsrLib.h:150
Definition: PwrSnsrLib.h:253
EXPORT int PwrSnsr_SetTrigSource(SessionID Vi, PwrSnsrTriggerSourceEnum Source)
Get the signal the power meter monitors for a trigger. It can be channel external input,...
EXPORT int PwrSnsr_GetMarkerTimePosition(SessionID Vi, int MarkerNumber, float *TimePosition)
Get the time (x-axis-position) of the selected marker relative to the trigger.
PwrSnsrMeasBuffStopReasonEnum
Definition: PwrSnsrLib.h:211
EXPORT int PwrSnsr_FetchMesial(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the actual detected power of the mesial level in the current channel units.
EXPORT int PwrSnsr_GetTrigHoldoffMode(SessionID Vi, PwrSnsrHoldoffModeEnum *HoldoffMode)
Returns the holdoff mode to normal or gap holdoff.
EXPORT int PwrSnsr_SetTrigHoldoff(SessionID Vi, float Holdoff)
Sets the trigger holdoff time in seconds.
EXPORT int PwrSnsr_SetTempComp(SessionID Vi, const char *Channel, int TempComp)
Set the state of the peak sensor temperature compensation system.
Definition: PwrSnsrLib.h:225
Definition: PwrSnsrLib.h:86
float PulseAvg
Definition: PwrSnsrLib.h:2580
EXPORT int PwrSnsr_GetMaxTimebase(SessionID Vi, float *MaxTimebase)
Gets the maximum timebase setting available.
EXPORT int PwrSnsr_SendSCPICommand(SessionID Vi, const char *Command)
Send a SCPI command to the instrument.
EXPORT int PwrSnsr_FetchPRF(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the number of cycles of a repetitive signal that take place in one second (Pulse Repetition F...
PwrSnsrHoldoffModeEnum
Definition: PwrSnsrLib.h:164
float Position
Definition: PwrSnsrLib.h:2581
EXPORT int PwrSnsr_GetOffsetdB(SessionID Vi, const char *Channel, float *OffsetdB)
Get a measurement offset in dB for the selected sensor.
EXPORT int PwrSnsr_SetStartQual(SessionID Vi, float StartQual)
Set the minimum amount of time power remains above the trigger point to be counted as the beginning o...
EXPORT int PwrSnsr_GetTermTime(SessionID Vi, const char *Channel, int *TermTime)
Get the termination time in seconds for statistical capturing. After the time has elapsed,...
EXPORT int PwrSnsr_GetDurations(SessionID Vi, const char *Channel, int ValBufferSize, float Val[], int *ValActualSize)
Get the duration entries in seconds that were captured during the last call to AcquireMeasurements.
EXPORT int PwrSnsr_SetDistal(SessionID Vi, const char *Channel, float Distal)
Set the pulse amplitude percentage, which is used to define the end of a rising edge or beginning of ...
int EXPORT PwrSnsr_GetVerticalScale(SessionID Vi, const char *Channel, float *VerticalScale)
Gets vertical scale based on current units: <arg> = (range varies by units)
Definition: PwrSnsrLib.h:87
EXPORT int PwrSnsr_SaveUserCal(SessionID Vi, const char *Channel)
Instructs power meter to save the value of fixed cal, zero, and skew values.
EXPORT int PwrSnsr_GetStartQual(SessionID Vi, float *StartQual)
Get the minimum amount of time power remains above the trigger point to be counted as the beginning o...
Definition: PwrSnsrLib.h:65
EXPORT int PwrSnsr_QueryAverageMeasurements(SessionID Vi, const char *Channel, int ValBufferSize, float Val[], int *ValActualSize)
Query the power meter for all buffered average power measurements.
EXPORT int PwrSnsr_GetMinMeasurements(SessionID Vi, const char *Channel, int ValBufferSize, float Val[], int *ValActualSize)
Get the minimum power measurements that were captured during the last call to AcquireMeasurements.
EXPORT int PwrSnsr_SetSlaveSkew(SessionID Vi, const char *Channel, float SlaveSkew)
Sets the skew in seconds for the slave trigger.
Definition: PwrSnsrLib.h:158
EXPORT int PwrSnsr_GetMesial(SessionID Vi, const char *Channel, float *Mesial)
Get the pulse amplitude percentage, which is used to define the midpoint of a rising edge or end of a...
EXPORT int PwrSnsr_FetchProximal(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the actual detected power of the proximal level in the current channel units.
EXPORT int PwrSnsr_SetBandwidth(SessionID Vi, const char *Channel, PwrSnsrBandwidthEnum Bandwidth)
Set the sensor video bandwidth for the selected sensor.
Definition: PwrSnsrLib.h:113
struct PulseInfo PulseInfo
Data structure containing pulse information.
Definition: PwrSnsrLib.h:98
EXPORT int PwrSnsr_ReadTimeArray(SessionID Vi, const char *Channel, float *Frequency, PwrSnsrCondCodeEnum *FrequencyValid, float *Period, PwrSnsrCondCodeEnum *PeriodValid, float *Width, PwrSnsrCondCodeEnum *WidthValid, float *Offtime, PwrSnsrCondCodeEnum *OfftimeValid, float *DutyCycle, PwrSnsrCondCodeEnum *DutyCycleValid, float *Risetime, PwrSnsrCondCodeEnum *RisetimeValid, float *Falltime, PwrSnsrCondCodeEnum *FalltimeValid, float *EdgeDelay, PwrSnsrCondCodeEnum *EdgeDelayValid, float *Skew, PwrSnsrCondCodeEnum *SkewValid)
Returns an array of the current automatic timing measurements performed on a periodic pulse waveform.
EXPORT int PwrSnsr_GetError(SessionID Vi, int *ErrorCode, int ErrorDescriptionBufferSize, char ErrorDescription[])
This function retrieves and then clears the error information for the session. Normally,...