31 #define CURRENT_TIMEOUT (-2) 37 # define EXPORT __declspec( dllexport ) 64 PwrSnsrTriggerModeFreerun = 4
194 PwrSnsrTrigOutModeMioOff = 0,
195 PwrSnsrTrigOutModeMioPullUp = 1,
196 PwrSnsrTrigOutModeMioTtl0 = 2,
197 PwrSnsrTrigOutModeMioTbRef = 3,
198 PwrSnsrTrigOutModeMioSweepHigh = 4,
199 PwrSnsrTrigOutModeMioSweepLow = 5,
200 PwrSnsrTrigOutModeMioTrigHigh = 6,
201 PwrSnsrTrigOutModeMioTrigLow = 7,
202 PwrSnsrTrigOutModeMioMaster = 8,
203 PwrSnsrTrigOutModeMioSlave = 9
209 PwrSnsrMeasBuffGateBurst = 0,
210 PwrSnsrMeasBuffGateMarker = 1,
211 PwrSnsrMeasBuffGateExtGate = 2,
212 PwrSnsrMeasBuffGatePeriodic = 3,
213 PwrSnsrMeasBuffGateExtTrig = 4
219 PwrSnsrMeasBuffStartModeImmediate = 1,
220 PwrSnsrMeasBuffStartModeExternalEnable = 2,
221 PwrSnsrMeasBuffStartModeExternalStart = 3
227 PwrSnsrMeasBuffStopReasonCountReached = 1,
228 PwrSnsrMeasBuffStopReasonTimedOut = 2,
229 PwrSnsrMeasBuffStopReasonBufferOverran = 3,
230 PwrSnsrMeasBuffStopReasonNone = 0
525 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);
552 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);
1259 float WaveformArray[],
int* WaveformArrayActualSize,
int Count);
1600 int FrequencyListBufferSize,
float FrequencyList[],
int * FrequencyListActualSize,
1601 int CalFactorListBufferSize,
float CalFactorList[],
int * CalFactorListActualSize,
PwrSnsrBandwidthEnum Bandwidth);
1903 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);
2484 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);
2795 const char * Channel,
2798 int* PulseInfosActualSize);
2883 float Val[],
int* ValActualSize);
2905 int* ValActualSize);
2916 int* ValActualSize);
2941 int* ValActualSize);
2952 int* ValActualSize);
2963 int* ValActualSize);
3070 int* ValActualSize);
3081 int* ValActualSize);
3092 int* ValActualSize);
3103 int* ValActualSize);
3114 int* ValActualSize);
3125 int* ValActualSize);
3317 int* ValActualSize);
3329 int* ValActualSize);
Definition: PwrSnsrLib.h:91
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_ReadPulsePeak(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the peak amplitude during the pulse.
EXPORT int PwrSnsr_GetTrigLevel(SessionID Vi, float *Level)
Return the trigger level for synchronizing data acquisition with a pulsed input signal.
EXPORT int PwrSnsr_OpenSimMeter(int NumChans, char *ResourceBuff, int ResourceBuffSize, SessionID *Vi)
Open a simulated power meter session.
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_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_GetMarkerPixelPosition(SessionID Vi, int MarkerNumber, int *PixelPosition)
Get the horizontal pixel position (X-axis-position) of the selected vertical marker....
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.
Definition: PwrSnsrLib.h:62
EXPORT int PwrSnsr_SetTrigPosition(SessionID Vi, PwrSnsrTriggerPositionEnum Position)
Set the position of the trigger event on displayed sweep.
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_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_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....
float Peak
Definition: PwrSnsrLib.h:2773
Definition: PwrSnsrLib.h:97
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...
EXPORT int PwrSnsr_SetPercentPosition(SessionID Vi, const char *Channel, double PercentPosition)
Set the cursor percent on the CCDF plot.
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_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_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_GetAverage(SessionID Vi, const char *Channel, int *Average)
Get the number of traces averaged together to form the measurement result on the selected channel.
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_SetSlaveSkew(SessionID Vi, const char *Channel, float SlaveSkew)
Sets the skew in seconds for the slave trigger.
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_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_ResetContinuousCapture(SessionID Vi)
Sets a flag indicating to restart continuous capture. This method allows the user to restart continuo...
Definition: PwrSnsrLib.h:288
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_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_GetTimePerPoint(SessionID Vi, const char *Channel, float *TimePerPoint)
Get time spacing for each waveform point in seconds.
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.
EXPORT int PwrSnsr_GetSimSignalAmplitude(SessionID Vi, const char *Channel, float *Amplitude, PwrSnsrSignalUnits Units)
Get the amplitude for the signal on a simulation channel.
PwrSnsrTriggerStatusEnum
Definition: PwrSnsrLib.h:157
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.
PwrSnsrSimParamWeight
Definition: PwrSnsrLib.h:3393
Definition: PwrSnsrLib.h:90
EXPORT int PwrSnsr_SetSimSignalModulation(SessionID Vi, const char *Channel, PwrSnsrSimParamWeight Weight)
Set the percent modulation for the signal on a simulation channel.
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_GetSweepTime(SessionID Vi, const char *Channel, float *SweepTime)
Get sweep time for the trace in seconds.
Definition: PwrSnsrLib.h:297
EXPORT int PwrSnsr_GetNumberOfCals(long *val)
Get the number of calibrations left on the license.
EXPORT int PwrSnsr_GetFilterTime(SessionID Vi, const char *Channel, float *FilterTime)
Get the current length of the integration filter on the selected channel.
EXPORT int PwrSnsr_SetTrigSlope(SessionID Vi, PwrSnsrTriggerSlopeEnum Slope)
Sets the trigger slope or polarity.
EXPORT int PwrSnsr_GetMinimumTrig(SessionID Vi, const char *Channel, float *MinimumTrig)
Minimum internal trigger level in dBm.
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_SetStartMode(SessionID Vi, PwrSnsrMeasBuffStartModeEnum StartMode)
Set the mode used to start acquisition of buffer entries.
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...
Definition: PwrSnsrLib.h:134
PwrSnsrTriggerModeEnum
Definition: PwrSnsrLib.h:59
EXPORT int PwrSnsr_Write(SessionID Vi, const char *Channel, int DataBufferSize, unsigned char Data[])
Write a byte array to the meter.
EXPORT int PwrSnsr_SetTimeOut(SessionID Vi, long Milliseconds)
Sets the time out in milliseconds for I/O.
Definition: PwrSnsrLib.h:251
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.
Definition: PwrSnsrLib.h:163
EXPORT int PwrSnsr_GetRdgsEnableFlag(SessionID Vi, int *Flag)
Get the flag indicating which measurement buffer arrays will be read when calling PwrSnsr_AcquireMeas...
Definition: PwrSnsrLib.h:162
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....
Definition: PwrSnsrLib.h:71
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_GetPowerPosition(SessionID Vi, const char *Channel, double *PowerPosition)
Get the cursor power in dB on the CCDF plot.
Definition: PwrSnsrLib.h:253
Definition: PwrSnsrLib.h:51
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.
PwrSnsrTriggerSlopeEnum
Definition: PwrSnsrLib.h:68
Definition: PwrSnsrLib.h:166
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 ...
Definition: PwrSnsrLib.h:70
Definition: PwrSnsrLib.h:53
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.
EXPORT int PwrSnsr_GetSlaveSkew(SessionID Vi, const char *Channel, float *SlaveSkew)
Gets the skew in seconds for the slave trigger.
Definition: PwrSnsrLib.h:61
EXPORT int PwrSnsr_FetchPulseCycleAvg(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the average power of the entire pulse.
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_GetManufactureDate(SessionID Vi, const char *Channel, int ManufactureDateBufferSize, char ManufactureDate[])
Date the sensor was manufactured in the following format YYYYmmDD.
Definition: PwrSnsrLib.h:96
EXPORT int PwrSnsr_GetPeakPowerMin(SessionID Vi, const char *Channel, float *PeakPowerMin)
Minimum power level the sensor can measure.
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...
PwrSnsrStatGatingEnum
Definition: PwrSnsrLib.h:185
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_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.
Definition: PwrSnsrLib.h:255
EXPORT int PwrSnsr_SetTrigMode(SessionID Vi, PwrSnsrTriggerModeEnum Mode)
Set the trigger mode for synchronizing data acquisition with pulsed signals.
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_GetUnits(SessionID Vi, const char *Channel, PwrSnsrUnitsEnum *Units)
Get units for the selected channel.
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...
Definition: PwrSnsrLib.h:236
EXPORT int PwrSnsr_SetPeakHoldTracking(SessionID Vi, const char *Channel, int EnvelopeTracking)
Sets whether peak hold decay automatically tracks trace averaging. If set to true,...
Definition: PwrSnsrLib.h:95
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_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).
float FallDistal
Definition: PwrSnsrLib.h:2781
struct PulseInfo PulseInfo
Data structure containing pulse information.
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.
Definition: PwrSnsrLib.h:128
Definition: PwrSnsrLib.h:249
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...
EXPORT int PwrSnsr_GetSimSignalDuty(SessionID Vi, const char *Channel, float *Duty)
Get the simulated signal duty cycle in percent. Affects Periodic only.
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_GetTrigVernier(SessionID Vi, float *Vernier)
Return the fine position of the trigger event on the power sweep.
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...
Definition: PwrSnsrLib.h:111
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_SetTempComp(SessionID Vi, const char *Channel, int TempComp)
Set the state of the peak sensor temperature compensation system.
EXPORT int PwrSnsr_SetOffsetdB(SessionID Vi, const char *Channel, float OffsetdB)
Set a measurement offset in dB for the selected sensor.
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 ...
Definition: PwrSnsrLib.h:135
Definition: PwrSnsrLib.h:94
Definition: PwrSnsrLib.h:152
EXPORT int PwrSnsr_SetReturnCount(SessionID Vi, int ReturnCount)
Set the return count for each measurement query.
EXPORT int PwrSnsr_ReadPeriod(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the interval between two successive pulses.
Definition: PwrSnsrLib.h:85
Definition: PwrSnsrLib.h:102
Definition: PwrSnsrLib.h:87
EXPORT int PwrSnsr_GetContinuousCapture(SessionID Vi, int *ContinuousCapture)
Get whether AcquireMeasurements will stop the measurement buffer session or continue capturing measur...
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_ReadCWPower(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Definition: PwrSnsrLib.h:160
Definition: PwrSnsrLib.h:181
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....
EXPORT int PwrSnsr_SendSCPIToNamedParser(SessionID Vi, const char *name, const char *Command)
Send a SCPI command to the instrument using a named SCPI parser.
Definition: PwrSnsrLib.h:241
EXPORT int PwrSnsr_close(SessionID Vi)
Closes the I/O session to the instrument. Driver methods and properties that access the instrument ar...
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_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_GetGating(SessionID Vi, const char *Channel, PwrSnsrStatGatingEnum *Gating)
Get whether statistical capture is enabled.
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....
Definition: PwrSnsrLib.h:173
EXPORT int PwrSnsr_ReadPulseOnAverage(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Average power of the ON portion of the pulse.
Definition: PwrSnsrLib.h:188
PwrSnsrTermActionEnum
Definition: PwrSnsrLib.h:170
Definition: PwrSnsrLib.h:273
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_GetFrequency(SessionID Vi, const char *Channel, float *Frequency)
Get the RF frequency for the current sensor.
EXPORT int PwrSnsr_GetSimSignalPRF(SessionID Vi, const char *Channel, float *PRF)
Get the simulated signal PRF. Valid for Periodic and Burst.
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:78
Definition: PwrSnsrLib.h:151
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_GetFetchLatency(SessionID Vi, int *Latency)
Get the period the library waits to update fetch measurements in ms.
EXPORT int PwrSnsr_SetPeriod(SessionID Vi, float Period)
Set the period each timed mode acquisition (measurement buffer) is started.
PwrSnsrSimSignalType
Definition: PwrSnsrLib.h:3383
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.
EXPORT int PwrSnsr_GetTempComp(SessionID Vi, const char *Channel, int *TempComp)
Get the state of the peak sensor temperature compensation system.
Definition: PwrSnsrLib.h:63
EXPORT int PwrSnsr_SetInternalSkew(SessionID Vi, const char *Channel, float InternalSkew)
Sets the skew in seconds for the internal trigger.
Definition: PwrSnsrLib.h:142
Definition: PwrSnsrLib.h:187
Definition: PwrSnsrLib.h:114
EXPORT int PwrSnsr_GetTrigSlope(SessionID Vi, PwrSnsrTriggerSlopeEnum *Slope)
Return the trigger slope or polarity.
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_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_GetIsAvgSensor(SessionID Vi, const char *Channel, int *IsAvgSensor)
Retruns true if sensor is average responding (not peak detecting).
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_ClearUserCal(SessionID Vi, const char *Channel)
Resets the value of fixed cal, zero, and skew to factory defaults.
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.
PwrSnsrBandwidthEnum
Definition: PwrSnsrLib.h:125
EXPORT int PwrSnsr_GetCurrentTemp(SessionID Vi, const char *Channel, double *CurrentTemp)
Get current sensor internal temperature in degrees C.
EXPORT int PwrSnsr_FetchCursorPower(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, double *Val)
Returns the power CCDF in dB at the cursor.
float RiseTime
Definition: PwrSnsrLib.h:2779
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.
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...
Definition: PwrSnsrLib.h:120
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...
Definition: PwrSnsrLib.h:267
EXPORT int PwrSnsr_SetSimSignalCompression(SessionID Vi, const char *Channel, PwrSnsrSimParamWeight Weight)
Set the percent compression for the signal on a simulation channel.
EXPORT int PwrSnsr_SendSCPICommand(SessionID Vi, const char *Command)
Send a SCPI command to the instrument.
Definition: PwrSnsrLib.h:291
EXPORT int PwrSnsr_Clear(SessionID Vi)
Clear all data buffers. Clears averaging filters to empty.
EXPORT int PwrSnsr_GetOffsetdB(SessionID Vi, const char *Channel, float *OffsetdB)
Get a measurement offset in dB for the selected sensor.
PwrSnsrSignalUnits
Definition: PwrSnsrLib.h:3373
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_GetMaxFreqHighBandwidth(SessionID Vi, const char *Channel, float *MaxFreqHighBandwidth)
Maximum frequency carrier the sensor can measure in high bandwidth.
Definition: PwrSnsrLib.h:52
PwrSnsrPulseUnitsEnum
Definition: PwrSnsrLib.h:140
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_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...
EXPORT int PwrSnsr_InitiateAquisition(SessionID Vi)
Starts a single measurement cycle when INITiate:CONTinuous is set to OFF.
Definition: PwrSnsrLib.h:161
EXPORT int PwrSnsr_FetchPulseOnAverage(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Average power of the ON portion of the pulse.
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_SetTermAction(SessionID Vi, const char *Channel, PwrSnsrTermActionEnum TermAction)
Set the termination action for statistical capturing.
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:149
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_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...
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_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_GetAttenuation(SessionID Vi, const char *Channel, float *Attenuation)
Attenuation in dB for the sensor.
Definition: PwrSnsrLib.h:282
Definition: PwrSnsrLib.h:285
PwrSnsrErrorCodesEnum
Definition: PwrSnsrLib.h:245
Definition: PwrSnsrLib.h:237
int EXPORT PwrSnsr_GetVerticalCenter(SessionID Vi, const char *Channel, float *VerticalCenter)
Gets vertical center based on current units: arg = (range varies by units)
float Width
Definition: PwrSnsrLib.h:2772
Definition: PwrSnsrLib.h:121
int EXPORT PwrSnsr_GetVerticalScale(SessionID Vi, const char *Channel, float *VerticalScale)
Gets vertical scale based on current units: arg = (range varies by units)
EXPORT int PwrSnsr_Status(SessionID Vi, PwrSnsrAcquisitionStatusEnum *Val)
Returns whether an acquisition is in progress, complete, or if the status is unknown.
Definition: PwrSnsrLib.h:77
EXPORT int PwrSnsr_SetInitiateContinuous(SessionID Vi, int InitiateContinuous)
Set the data acquisition mode for single or free-run measurements.
PwrSnsrMeasBuffGateEnum
Definition: PwrSnsrLib.h:207
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_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)...
PwrSnsrAcquisitionStatusEnum
Definition: PwrSnsrLib.h:49
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_SetTrigOutMode(SessionID Vi, const char *Channel, int Mode)
Sets the trigger out/mult io mode. Setting trigger mode overrides this command.
EXPORT int PwrSnsr_GetExternalSkew(SessionID Vi, const char *Channel, float *External)
Gets the skew in seconds for the external trigger.
EXPORT int PwrSnsr_reset(SessionID Vi)
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...
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_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_SetStartQual(SessionID Vi, float StartQual)
Set the minimum amount of time power remains above the trigger point to be counted as the beginning o...
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_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_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_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....
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.
Data structure containing pulse information.
Definition: PwrSnsrLib.h:2770
EXPORT int PwrSnsr_SetSimSignalDuty(SessionID Vi, const char *Channel, float Duty)
Set the simulated signal duty cycle in percent. Affects Periodic only.
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_SetPulseUnits(SessionID Vi, const char *Channel, PwrSnsrPulseUnitsEnum PwrSnsrPulseUnitsEnum)
Set the units for entering the pulse distal, mesial and proximal levels.
EXPORT int PwrSnsr_SetDuration(SessionID Vi, float Duration)
Set the duration samples are captured during each timed mode acquisition.
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,...
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...
EXPORT int PwrSnsr_GetMaxTimebase(SessionID Vi, float *MaxTimebase)
Gets the maximum timebase setting available.
EXPORT int PwrSnsr_GetCapture(SessionID Vi, const char *Channel, int *Capture)
Get whether statistical capture is enabled.
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:165
EXPORT int PwrSnsr_GetFilterState(SessionID Vi, const char *Channel, PwrSnsrFilterStateEnum *FilterState)
Get the current setting of the integration filter on the selected channel.
Definition: PwrSnsrLib.h:109
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.
EXPORT int PwrSnsr_GetMinFreqHighBandwidth(SessionID Vi, const char *Channel, float *MinFreqHighBandwidth)
Minimum frequency of RF the sensor can measure in high bandwidth.
EXPORT int PwrSnsr_Abort(SessionID Vi)
Terminates any measurement in progress and resets the state of the trigger system....
EXPORT int PwrSnsr_GetPeakPowerMax(SessionID Vi, const char *Channel, float *PeakPowerMax)
Maximum power level the sensor can measure.
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_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_GetPeakHoldTracking(SessionID Vi, const char *Channel, int *EnvelopeTracking)
Returns whether peak hold decay automatically tracks trace averaging. If set to true,...
EXPORT int PwrSnsr_GetSequenceNumbers(SessionID Vi, const char *Channel, int ValBufferSize, unsigned int Val[], int *ValActualSize)
Get the sequence number entries that were captured during the last call to AcquireMeasurements.
EXPORT int PwrSnsr_GetSimSignalType(SessionID Vi, const char *Channel, PwrSnsrSimSignalType *SignalType)
Get the simulated channel signal type.
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 ...
PwrSnsrTriggerPositionEnum
Definition: PwrSnsrLib.h:75
EXPORT int PwrSnsr_FetchCursorPercent(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, double *Val)
Returns the percent CCDF at the cursor.
EXPORT int PwrSnsr_StopAcquisition(SessionID Vi)
Sends a command to stop the measurement buffer from acquiring readings.
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.
PwrSnsrFilterStateEnum
Definition: PwrSnsrLib.h:132
PwrSnsrTrigOutModeEnum
Definition: PwrSnsrLib.h:192
EXPORT int PwrSnsr_GetMinimumSupportedFirmware(int *Version)
Gets the minimum supported firmware as an integer. Format is YYYYMMDD.
EXPORT int PwrSnsr_GetDuration(SessionID Vi, float *Duration)
Get the time duration samples are captured during each timed mode acquisiton.
EXPORT int PwrSnsr_GetTrigPosition(SessionID Vi, PwrSnsrTriggerPositionEnum *Position)
Return the position of the trigger event on displayed sweep.
EXPORT int PwrSnsr_SetTrigLevel(SessionID Vi, float Level)
Set the trigger level for synchronizing data acquisition with a pulsed input signal.
EXPORT int PwrSnsr_GetSimSignalModulation(SessionID Vi, const char *Channel, PwrSnsrSimParamWeight *Weight)
Get the percent modulation for the signal on a simulation channel.
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_SetSimSignalPRF(SessionID Vi, const char *Channel, float PRF)
Set the simulated signal PRF. Valid for Periodic and Burst.
EXPORT int PwrSnsr_GetMaxFreqLowBandwidth(SessionID Vi, const char *Channel, float *MaxFreqLowBandwidth)
Maximum frequency carrier the sensor can measure in low bandwidth.
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...
int SessionID
Definition: PwrSnsrLib.h:44
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_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.
EXPORT int PwrSnsr_GetFpgaVersion(SessionID Vi, const char *Channel, int ValBufferSize, char Val[])
Get the sensor FPGA version.
EXPORT int PwrSnsr_ReadByteArray(SessionID Vi, const char *Channel, int Count, int ValBufferSize, unsigned char Val[], int *ValActualSize)
Reads byte array from the meter.
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_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.
Definition: PwrSnsrLib.h:258
EXPORT int PwrSnsr_FetchCWPower(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the most recently acquired CW power.
Definition: PwrSnsrLib.h:270
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....
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.
Definition: PwrSnsrLib.h:294
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...
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_FetchCCDFTrace(SessionID Vi, const char *Channel, int TraceBufferSize, float Trace[], int *TraceActualSize)
Returns the points in the CCDF trace.
EXPORT int PwrSnsr_GetInternalSkew(SessionID Vi, const char *Channel, float *InternalSkew)
Gets the skew in seconds for the internal trigger.
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_SetMarkerTimePosition(SessionID Vi, int MarkerNumber, float TimePosition)
Set the time (x-axis-position) of the selected marker relative to the trigger.
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_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_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_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...
EXPORT int PwrSnsr_SetTrigHoldoff(SessionID Vi, float Holdoff)
Sets the trigger holdoff time in seconds.
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...
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...
Definition: PwrSnsrLib.h:99
Definition: PwrSnsrLib.h:3386
Definition: PwrSnsrLib.h:153
EXPORT int PwrSnsr_GetTimeOut(SessionID Vi, long *Val)
Returns the time out value for I/O in milliseconds.
EXPORT int PwrSnsr_GetInitiateContinuous(SessionID Vi, int *InitiateContinuous)
Get the data acquisition mode for single or free-run measurements.
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....
Definition: PwrSnsrLib.h:254
EXPORT int PwrSnsr_GetReturnCount(SessionID Vi, int *ReturnCount)
Get the return count for each measurement query.
float RiseDistal
Definition: PwrSnsrLib.h:2778
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...
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_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...
PwrSnsrMarkerNumberEnum
Definition: PwrSnsrLib.h:118
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...
EXPORT int PwrSnsr_GetTimedOut(SessionID Vi, int *TimedOut)
Check if the last measurement buffer session timed out.
EXPORT int PwrSnsr_SendSCPIBytes(SessionID Vi, int CommandBufferSize, char Command[])
Send a SCPI command as a byte array.
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_GetMeasurementsAvailable(SessionID Vi, const char *Channel, int *Val)
Get the number of measurement entries available that were captured during AcquireMeasurements().
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_GetMinFreqLowBandwidth(SessionID Vi, const char *Channel, float *MinFreqLowBandwidth)
Minimum frequency carrier the sensor can measure in low bandwidth.
EXPORT int PwrSnsr_GetBandwidth(SessionID Vi, const char *Channel, PwrSnsrBandwidthEnum *Bandwidth)
Get the sensor video bandwidth for the selected sensor.
EXPORT int PwrSnsr_SetExternalSkew(SessionID Vi, const char *Channel, float External)
Sets the skew in seconds for the external trigger.
EXPORT int PwrSnsr_SetHorizontalScale(SessionID Vi, const char *Channel, double HorizontalScale)
Set the statistical mode horizontal scale in dB/Div.
Definition: PwrSnsrLib.h:250
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_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...
Definition: PwrSnsrLib.h:276
EXPORT int PwrSnsr_GetDongleSerialNumber(long *val)
Get the hardware license serial number.
Definition: PwrSnsrLib.h:247
EXPORT int PwrSnsr_SetCalFactor(SessionID Vi, const char *Channel, float CalFactor)
Set the frequency calibration factor currently in use on the selected channel.
EXPORT int PwrSnsr_ClearError(SessionID Vi)
This function clears the error code and error description for the given session.
Definition: PwrSnsrLib.h:159
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_SetCapture(SessionID Vi, const char *Channel, int Capture)
Set whether statistical capture is enabled.
Definition: PwrSnsrLib.h:180
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.
Definition: PwrSnsrLib.h:240
Definition: PwrSnsrLib.h:143
EXPORT int PwrSnsr_SaveUserCal(SessionID Vi, const char *Channel)
Instructs power meter to save the value of fixed cal, zero, and skew values.
Definition: PwrSnsrLib.h:259
EXPORT int PwrSnsr_SetTrigHoldoffMode(SessionID Vi, PwrSnsrHoldoffModeEnum HoldoffMode)
Sets the holdoff mode to normal or gap holdoff.
Definition: PwrSnsrLib.h:88
EXPORT int PwrSnsr_SetTrigVernier(SessionID Vi, float Vernier)
Set the fine position of the trigger event on the power sweep.
Definition: PwrSnsrLib.h:300
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.
EXPORT int PwrSnsr_GetTrigHoldoff(SessionID Vi, float *Holdoff)
Return the trigger holdoff time in seconds.
float RiseProximal
Definition: PwrSnsrLib.h:2777
Definition: PwrSnsrLib.h:279
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...
EXPORT int PwrSnsr_SetSimSignalAmplitude(SessionID Vi, const char *Channel, float Amplitude, PwrSnsrSignalUnits Units)
Set the amplitude for the signal on a simulation channel.
EXPORT int PwrSnsr_SetContinuousCapture(SessionID Vi, int ContinuousCapture)
Set whether AcquireMeasurements will stop the measurement buffer session or continue capturing measur...
PwrSnsrUnitsEnum
Definition: PwrSnsrLib.h:107
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....
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_SetFilterState(SessionID Vi, const char *Channel, PwrSnsrFilterStateEnum FilterState)
Set the current setting of the integration filter on the selected channel.
Definition: PwrSnsrLib.h:3396
Definition: PwrSnsrLib.h:174
float FallProximal
Definition: PwrSnsrLib.h:2780
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,...
Definition: PwrSnsrLib.h:98
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_GetSerialNumber(SessionID Vi, const char *Channel, int SerialNumberBufferSize, char SerialNumber[])
Gets the serial number of the sensor.
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_GetImpedance(SessionID Vi, const char *Channel, float *Impedance)
Input impedance of the sensor.
Definition: PwrSnsrLib.h:248
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...
Definition: PwrSnsrLib.h:93
EXPORT int PwrSnsr_GetTrigMode(SessionID Vi, PwrSnsrTriggerModeEnum *Mode)
Return the trigger mode for synchronizing data acquisition with pulsed signals.
Definition: PwrSnsrLib.h:113
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...
Definition: PwrSnsrLib.h:238
Definition: PwrSnsrLib.h:3375
EXPORT int PwrSnsr_FetchPulsePeak(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val)
Returns the peak amplitude during the pulse.
EXPORT int PwrSnsr_GetTrigHoldoffMode(SessionID Vi, PwrSnsrHoldoffModeEnum *HoldoffMode)
Returns the holdoff mode to normal or gap holdoff.
EXPORT int PwrSnsr_QuerySequenceNumbers(SessionID Vi, const char *Channel, int ValBufferSize, unsigned int Val[], int *ValActualSize)
Query the power meter for all buffered sequence numbers.
EXPORT int PwrSnsr_StatModeReset(SessionID Vi, const char *Channel)
Resets statistical capturing mode by clearing the buffers and restarting the aquisition timer.
Definition: PwrSnsrLib.h:3395
EXPORT int PwrSnsr_SetPowerPosition(SessionID Vi, const char *Channel, double PowerPosition)
Set the cursor power in dB on the CCDF plot.
EXPORT int PwrSnsr_SetSimSignalType(SessionID Vi, const char *Channel, PwrSnsrSimSignalType SignalType)
Set the simulated channel signal type.
EXPORT int PwrSnsr_GetCCDFTraceCount(SessionID Vi, const char *Channel, int *TraceCount)
Get the number of points in the CCDF trace plot.
Definition: PwrSnsrLib.h:3397
EXPORT int PwrSnsr_GetTrigStatus(SessionID Vi, PwrSnsrTriggerStatusEnum *Status)
The status of the triggering system. Update rate is controlled by FetchLatency setting.
EXPORT int PwrSnsr_GetPulseUnits(SessionID Vi, const char *Channel, PwrSnsrPulseUnitsEnum *Units)
Get the units for entering the pulse distal, mesial and proximal levels.
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...
float Min
Definition: PwrSnsrLib.h:2774
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_SetBandwidth(SessionID Vi, const char *Channel, PwrSnsrBandwidthEnum Bandwidth)
Set the sensor video bandwidth for the selected sensor.
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.
Definition: PwrSnsrLib.h:92
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:3385
EXPORT int PwrSnsr_Zero(SessionID Vi, const char *Channel)
Performs a zero offset null adjustment.
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...
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_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_GetStartMode(SessionID Vi, PwrSnsrMeasBuffStartModeEnum *StartMode)
Get the mode used to start acquisition of buffer entries.
PwrSnsrRdgsEnableFlag
Definition: PwrSnsrLib.h:234
EXPORT int PwrSnsr_GetChanTraceCount(SessionID Vi, const char *Channel, int *TraceCount)
Get the number of points in the CCDF trace plot.
EXPORT int PwrSnsr_GetPercentPosition(SessionID Vi, const char *Channel, double *PercentPosition)
Get the cursor percent on the CCDF plot.
Definition: PwrSnsrLib.h:89
Definition: PwrSnsrLib.h:3398
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).
EXPORT int PwrSnsr_GetMeasBuffEnabled(SessionID Vi, int *MeasBuffEnabled)
Get whether the measurement buffer has been enabled.
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 ...
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_GetReadingPeriod(SessionID Vi, const char *Channel, float *ReadingPeriod)
Returns the period (rate) in seconds per new filtered reading.
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_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_GetCalFactor(SessionID Vi, const char *Channel, float *CalFactor)
Get the frequency calibration factor currently in use on the selected channel.
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....
PwrSnsrCondCodeEnum
Definition: PwrSnsrLib.h:147
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_GetBufferedMeasurementsAvailable(SessionID Vi, int *MeasurementsAvailable)
Gets the number of measurements available in the power meter's internal buffer. Note: The number of r...
EXPORT int PwrSnsr_init(char *ResourceName, SessionID *Vi)
Initialize a communication session with a supported USB power sensor.
EXPORT int PwrSnsr_ReadPulseCycleAvg(SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val)
Returns the average power of the entire pulse.
Definition: PwrSnsrLib.h:260
#define EXPORT
Definition: PwrSnsrLib.h:39
EXPORT int PwrSnsr_SetFetchLatency(SessionID Vi, int Latency)
Set the period the library waits to update fetch measurements in ms.
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....
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.
Definition: PwrSnsrLib.h:136
Definition: PwrSnsrLib.h:86
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_GetMarkerTimePosition(SessionID Vi, int MarkerNumber, float *TimePosition)
Get the time (x-axis-position) of the selected marker relative to the trigger.
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...
Definition: PwrSnsrLib.h:257
PwrSnsrMeasBuffStartModeEnum
Definition: PwrSnsrLib.h:217
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_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_SetWriteProtection(SessionID Vi, int WriteProtection)
Set whether to allow the measurement buffer to overwrite entries that have not been read by the user.
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_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_QueryMinMeasurements(SessionID Vi, const char *Channel, int ValBufferSize, float Val[], int *ValActualSize)
Query the power meter for all buffered minimum power measurements.
Definition: PwrSnsrLib.h:150
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_GetMemChanArchive(SessionID Vi, const char *MemChan, int ValBufferSize, char Val[])
Returns an XML document containing settings and readings obtained using the SaveToMemoryChannel metho...
EXPORT int PwrSnsr_IsLicenseDongleConnected(int *val)
Get whether the hardware license dongle is connected.
float FallTime
Definition: PwrSnsrLib.h:2782
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 ...
PwrSnsrTriggerSourceEnum
Definition: PwrSnsrLib.h:83
Definition: PwrSnsrLib.h:252
Definition: PwrSnsrLib.h:110
Definition: PwrSnsrLib.h:256
Definition: PwrSnsrLib.h:164
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...
Definition: PwrSnsrLib.h:264
PwrSnsrMeasBuffStopReasonEnum
Definition: PwrSnsrLib.h:225
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_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_GetPeriod(SessionID Vi, float *Period)
Get the period each timed mode acquisition (measurement buffer) is started.
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_SetUnits(SessionID Vi, const char *Channel, PwrSnsrUnitsEnum Units)
Set units for the selected channel.
EXPORT int PwrSnsr_GetExpirationDate(int *Date)
Get the hardware license expiration date.
Definition: PwrSnsrLib.h:239
Definition: PwrSnsrLib.h:100
float PulseAvg
Definition: PwrSnsrLib.h:2775
PwrSnsrHoldoffModeEnum
Definition: PwrSnsrLib.h:178
float Position
Definition: PwrSnsrLib.h:2776
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_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.
Definition: PwrSnsrLib.h:101
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_GetChannelCount(SessionID Vi, int *Count)
Get number of channels.
Definition: PwrSnsrLib.h:79
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...
EXPORT int PwrSnsr_GetTermAction(SessionID Vi, const char *Channel, PwrSnsrTermActionEnum *TermAction)
Get the termination action for statistical capturing.
Definition: PwrSnsrLib.h:3376
EXPORT int PwrSnsr_GetSimSignalCompression(SessionID Vi, const char *Channel, PwrSnsrSimParamWeight *Weight)
Get the percent compression for the signal on a simulation channel.
Definition: PwrSnsrLib.h:172
EXPORT int PwrSnsr_GetOverRan(SessionID Vi, int *OverRan)
Get flag indicating whether the power meter's internal buffer filled up before being emptied.
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...
Definition: PwrSnsrLib.h:127
EXPORT int PwrSnsr_ClearMeasurements(SessionID Vi)
Clears cached average, min, max, duration, start time, and sequence number measurements.
EXPORT int PwrSnsr_GetIsRunning(SessionID Vi, const char *Channel, int *IsRunning)
Returns true if modulated/CW measuremnts are actively running.
Definition: PwrSnsrLib.h:112