Power Sensor Library
|
Go to the source code of this file.
Data Structures | |
struct | PulseInfo |
Data structure containing pulse information. More... | |
Macros | |
#define | SUCCESS (0L) |
#define | CURRENT_TIMEOUT (-2) |
#define | EXPORT |
#define | ERROR_BASE (0xBFFA0000L) |
Functions | |
EXPORT int | PwrSnsr_SendSCPICommand (SessionID Vi, const char *Command) |
Send a SCPI command to the instrument. More... | |
EXPORT int | PwrSnsr_ReadSCPI (SessionID Vi, int ValueBufferSize, long *ValueActualSize, char Value[], int Timeout) |
Read a SCPI string response from the instrument. More... | |
EXPORT int | PwrSnsr_SendSCPIToNamedParser (SessionID Vi, const char *name, const char *Command) |
Send a SCPI command to the instrument using a named SCPI parser. More... | |
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. More... | |
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 function to open a session to an instrument. More... | |
EXPORT int | PwrSnsr_GetMinimumSupportedFirmware (int *Version) |
Gets the minimum supported firmware as an integer. Format is YYYYMMDD. More... | |
EXPORT int | PwrSnsr_SendSCPIBytes (SessionID Vi, int CommandBufferSize, char Command[]) |
Send a SCPI command as a byte array. More... | |
EXPORT int | PwrSnsr_ReadSCPIBytes (SessionID Vi, int ValueBufferSize, char Value[], long *ValueActualSize, int Timeout) |
Read a SCPI byte array response from the instrument. More... | |
EXPORT int | PwrSnsr_SetTimeOut (SessionID Vi, long Milliseconds) |
Sets the time out in milliseconds for I/O. More... | |
EXPORT int | PwrSnsr_GetTimeOut (SessionID Vi, long *Val) |
Returns the time out value for I/O in milliseconds. More... | |
EXPORT int | PwrSnsr_init (char *ResourceName, SessionID *Vi) |
Initialize a communication session with a supported USB power sensor. More... | |
EXPORT int | PwrSnsr_close (SessionID Vi) |
Closes the I/O session to the instrument. Driver methods and properties that access the instrument are not accessible after Close is called. More... | |
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, the error information describes the first error that occurred since the user last called the Get Error or Clear Error function. More... | |
EXPORT int | PwrSnsr_ClearError (SessionID Vi) |
This function clears the error code and error description for the given session. More... | |
EXPORT int | PwrSnsr_reset (SessionID Vi) |
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 instrument for the results. If the instrument passes the test, TestResult is 0. More... | |
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. Instrument remains stopped in Modulated Mode after a measurement. More... | |
EXPORT int | PwrSnsr_FetchCWPower (SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val) |
Returns the most recently acquired CW power. More... | |
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. Instrument remains stopped in Modulated Mode after a measurement. More... | |
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 complete, and returns the min/max waveforms for this channel. Call FetchMinMaxWaveform to obtain the min/max waveforms for other channels. More... | |
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 complete, and returns the waveform for this channel. Call FetchWaveform to obtain the waveforms for other channels. More... | |
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. The acquisition must be made prior to calling this method. Call this method separately for each channel. More... | |
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 calling this method. Call this method separately for each channel. More... | |
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 waveform. More... | |
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. More... | |
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 the specified channel. Units are the same as the channel units. Note the peak-to-average ratio and marker ratio are returned in dB for logarithmic channel units, and percent for all other channel units. More... | |
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 crossing of the distal line. More... | |
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 mesial line. More... | |
EXPORT int | PwrSnsr_FetchPulsePeak (SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val) |
Returns the peak amplitude during the pulse. More... | |
EXPORT int | PwrSnsr_FetchPulseOnAverage (SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val) |
Average power of the ON portion of the pulse. More... | |
EXPORT int | PwrSnsr_FetchPulseCycleAvg (SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val) |
Returns the average power of the entire pulse. More... | |
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 Frequency). More... | |
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) More... | |
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 dB or percent, depending on the channel units. More... | |
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). More... | |
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 nominal state of a pulse. More... | |
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 first nominal state from which a pulse departs and to which it ultimately returns. More... | |
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 of the proximal line. More... | |
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 on the waveform. More... | |
EXPORT int | PwrSnsr_FetchDutyCycle (SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val) |
Returns the ratio of the pulse on-time to off-time. More... | |
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 in the LEFT position. More... | |
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 in the LEFT position. More... | |
EXPORT int | PwrSnsr_GetTrigHoldoff (SessionID Vi, float *Holdoff) |
Return the trigger holdoff time in seconds. More... | |
EXPORT int | PwrSnsr_SetTrigHoldoff (SessionID Vi, float Holdoff) |
Sets the trigger holdoff time in seconds. More... | |
EXPORT int | PwrSnsr_GetTrigHoldoffMode (SessionID Vi, PwrSnsrHoldoffModeEnum *HoldoffMode) |
Returns the holdoff mode to normal or gap holdoff. More... | |
EXPORT int | PwrSnsr_SetTrigHoldoffMode (SessionID Vi, PwrSnsrHoldoffModeEnum HoldoffMode) |
Sets the holdoff mode to normal or gap holdoff. More... | |
EXPORT int | PwrSnsr_GetTrigLevel (SessionID Vi, float *Level) |
Return the trigger level for synchronizing data acquisition with a pulsed input signal. More... | |
EXPORT int | PwrSnsr_SetTrigLevel (SessionID Vi, float Level) |
Set the trigger level for synchronizing data acquisition with a pulsed input signal. More... | |
EXPORT int | PwrSnsr_GetTrigMode (SessionID Vi, PwrSnsrTriggerModeEnum *Mode) |
Return the trigger mode for synchronizing data acquisition with pulsed signals. More... | |
EXPORT int | PwrSnsr_SetTrigMode (SessionID Vi, PwrSnsrTriggerModeEnum Mode) |
Set the trigger mode for synchronizing data acquisition with pulsed signals. More... | |
EXPORT int | PwrSnsr_GetTrigPosition (SessionID Vi, PwrSnsrTriggerPositionEnum *Position) |
Return the position of the trigger event on displayed sweep. More... | |
EXPORT int | PwrSnsr_SetTrigPosition (SessionID Vi, PwrSnsrTriggerPositionEnum Position) |
Set the position of the trigger event on displayed sweep. More... | |
EXPORT int | PwrSnsr_GetTrigSource (SessionID Vi, PwrSnsrTriggerSourceEnum *Source) |
Set the signal the power meter monitors for a trigger. It can be channel external input, or independent. More... | |
EXPORT int | PwrSnsr_SetTrigSource (SessionID Vi, PwrSnsrTriggerSourceEnum Source) |
Get the signal the power meter monitors for a trigger. It can be channel external input, or independent. More... | |
EXPORT int | PwrSnsr_GetTrigStatus (SessionID Vi, PwrSnsrTriggerStatusEnum *Status) |
The status of the triggering system. Update rate is controlled by FetchLatency setting. More... | |
EXPORT int | PwrSnsr_SetFetchLatency (SessionID Vi, int Latency) |
Set the period the library waits to update fetch measurements in ms. More... | |
EXPORT int | PwrSnsr_GetFetchLatency (SessionID Vi, int *Latency) |
Get the period the library waits to update fetch measurements in ms. More... | |
EXPORT int | PwrSnsr_GetTrigVernier (SessionID Vi, float *Vernier) |
Return the fine position of the trigger event on the power sweep. More... | |
EXPORT int | PwrSnsr_SetTrigVernier (SessionID Vi, float Vernier) |
Set the fine position of the trigger event on the power sweep. More... | |
EXPORT int | PwrSnsr_GetTrigSlope (SessionID Vi, PwrSnsrTriggerSlopeEnum *Slope) |
Return the trigger slope or polarity. More... | |
EXPORT int | PwrSnsr_SetTrigSlope (SessionID Vi, PwrSnsrTriggerSlopeEnum Slope) |
Sets the trigger slope or polarity. More... | |
EXPORT int | PwrSnsr_Clear (SessionID Vi) |
Clear all data buffers. Clears averaging filters to empty. More... | |
EXPORT int | PwrSnsr_InitiateAquisition (SessionID Vi) |
Starts a single measurement cycle when INITiate:CONTinuous is set to OFF. More... | |
EXPORT int | PwrSnsr_Status (SessionID Vi, PwrSnsrAcquisitionStatusEnum *Val) |
Returns whether an acquisition is in progress, complete, or if the status is unknown. More... | |
EXPORT int | PwrSnsr_SetInitiateContinuous (SessionID Vi, int InitiateContinuous) |
Set the data acquisition mode for single or free-run measurements. More... | |
EXPORT int | PwrSnsr_GetInitiateContinuous (SessionID Vi, int *InitiateContinuous) |
Get the data acquisition mode for single or free-run measurements. More... | |
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. More... | |
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 measurements; when the value is false, the channel is disabled and no measurements are performed. More... | |
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 measurements; when the value is false, the channel is disabled and no measurements are performed. More... | |
EXPORT int | PwrSnsr_GetSerialNumber (SessionID Vi, const char *Channel, int SerialNumberBufferSize, char SerialNumber[]) |
Gets the serial number of the sensor. More... | |
EXPORT int | PwrSnsr_GetChannelCount (SessionID Vi, int *Count) |
Get number of channels. More... | |
EXPORT int | PwrSnsr_GetUnits (SessionID Vi, const char *Channel, PwrSnsrUnitsEnum *Units) |
Get units for the selected channel. More... | |
EXPORT int | PwrSnsr_SetUnits (SessionID Vi, const char *Channel, PwrSnsrUnitsEnum Units) |
Set units for the selected channel. More... | |
EXPORT int | PwrSnsr_GetCurrentTemp (SessionID Vi, const char *Channel, double *CurrentTemp) |
Get current sensor internal temperature in degrees C. More... | |
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. More... | |
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. More... | |
EXPORT int | PwrSnsr_GetBandwidth (SessionID Vi, const char *Channel, PwrSnsrBandwidthEnum *Bandwidth) |
Get the sensor video bandwidth for the selected sensor. More... | |
EXPORT int | PwrSnsr_SetBandwidth (SessionID Vi, const char *Channel, PwrSnsrBandwidthEnum Bandwidth) |
Set the sensor video bandwidth for the selected sensor. More... | |
EXPORT int | PwrSnsr_GetFilterState (SessionID Vi, const char *Channel, PwrSnsrFilterStateEnum *FilterState) |
Get the current setting of the integration filter on the selected channel. More... | |
EXPORT int | PwrSnsr_SetFilterState (SessionID Vi, const char *Channel, PwrSnsrFilterStateEnum FilterState) |
Set the current setting of the integration filter on the selected channel. More... | |
EXPORT int | PwrSnsr_GetFilterTime (SessionID Vi, const char *Channel, float *FilterTime) |
Get the current length of the integration filter on the selected channel. More... | |
EXPORT int | PwrSnsr_SetFilterTime (SessionID Vi, const char *Channel, float FilterTime) |
Set the current length of the integration filter on the selected channel. More... | |
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 a falling edge transition. More... | |
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 a falling edge transition. More... | |
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. More... | |
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. More... | |
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 falling edge transition. More... | |
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 falling edge transition. More... | |
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 a falling edge transition. More... | |
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 a falling edge transition. More... | |
EXPORT int | PwrSnsr_GetPulseUnits (SessionID Vi, const char *Channel, PwrSnsrPulseUnitsEnum *Units) |
Get the units for entering the pulse distal, mesial and proximal levels. More... | |
EXPORT int | PwrSnsr_SetPulseUnits (SessionID Vi, const char *Channel, PwrSnsrPulseUnitsEnum PwrSnsrPulseUnitsEnum) |
Set the units for entering the pulse distal, mesial and proximal levels. More... | |
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. More... | |
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. More... | |
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. More... | |
EXPORT int | PwrSnsr_GetCalFactor (SessionID Vi, const char *Channel, float *CalFactor) |
Get the frequency calibration factor currently in use on the selected channel. More... | |
EXPORT int | PwrSnsr_SetCalFactor (SessionID Vi, const char *Channel, float CalFactor) |
Set the frequency calibration factor currently in use on the selected channel. More... | |
EXPORT int | PwrSnsr_GetFrequency (SessionID Vi, const char *Channel, float *Frequency) |
Get the RF frequency for the current sensor. More... | |
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 from the sensor internal table. More... | |
EXPORT int | PwrSnsr_GetOffsetdB (SessionID Vi, const char *Channel, float *OffsetdB) |
Get a measurement offset in dB for the selected sensor. More... | |
EXPORT int | PwrSnsr_SetOffsetdB (SessionID Vi, const char *Channel, float OffsetdB) |
Set a measurement offset in dB for the selected sensor. More... | |
EXPORT int | PwrSnsr_GetTempComp (SessionID Vi, const char *Channel, int *TempComp) |
Get the state of the peak sensor temperature compensation system. More... | |
EXPORT int | PwrSnsr_SetTempComp (SessionID Vi, const char *Channel, int TempComp) |
Set the state of the peak sensor temperature compensation system. More... | |
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 max timebase) sec in a 1-2-5 sequence,. More... | |
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 (or max timebase) in a 1-2-5 sequence,. More... | |
EXPORT int | PwrSnsr_SetTimespan (SessionID Vi, float Timespan) |
Set the horizontal time span of the trace in pulse mode. Time span = 10* Time/Division. Value = 5e-8 to 100e-3 sec in a 1-2-5 sequence. More... | |
EXPORT int | PwrSnsr_GetTimespan (SessionID Vi, float *Timespan) |
Get the horizontal time span of the trace in pulse mode. Time span = 10* Time/Division. Value = 5e-8 to 100e-3 sec in a 1-2-5 sequence. More... | |
EXPORT int | PwrSnsr_GetMaxTimebase (SessionID Vi, float *MaxTimebase) |
Gets the maximum timebase setting available. More... | |
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. More... | |
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 the specified channel. More... | |
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 the specified channel. More... | |
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 the specified channel. More... | |
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. More... | |
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 the specified channel. More... | |
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 the specified channel. More... | |
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 the specified channel. More... | |
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. The units will be the same as the specified channel. More... | |
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. The units will be the same as the specified channel. More... | |
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. The units will be the same as the specified channel. More... | |
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. The units will be the same as the specified channel. More... | |
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. The units will be the same as the specified channel. More... | |
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. The units are dB for logarithmic channel units or percent for linear channel units. More... | |
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. The units will be the same as the specified channel. More... | |
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. The units will be the same as the specified channel. More... | |
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. The units will be the same as the specified channel. More... | |
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. The units will be the same as the specified channel. More... | |
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. The units will be the same as the specified channel. More... | |
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. The units are dB for logarithmic channel units or percent for linear channel units. More... | |
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 specified channel. More... | |
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 specified channel. More... | |
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 specified channel. More... | |
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 specified channel. More... | |
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. More... | |
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 units. More... | |
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. More... | |
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 units. More... | |
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. More... | |
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 units. More... | |
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. More... | |
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 units. More... | |
EXPORT int | PwrSnsr_ReadCWPower (SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *IsValid, float *Val) |
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 specified channel. Units are the same as the channel's units. Note the peak-to-average ratio and marker ratio are returned in dB for logarithmic channel units, and percent for all other channel units. More... | |
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 waveform. More... | |
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. More... | |
EXPORT int | PwrSnsr_ReadDutyCycle (SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val) |
Returns the ratio of the pulse on-time to off-time. More... | |
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 on the waveform. More... | |
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 of the proximal line. More... | |
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 first nominal state from which a pulse departs and to which it ultimately returns. More... | |
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 nominal state of a pulse. More... | |
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). More... | |
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 dB or percent, depending on the channel units. More... | |
EXPORT int | PwrSnsr_ReadPeriod (SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val) |
Returns the interval between two successive pulses. More... | |
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 Frequency). More... | |
EXPORT int | PwrSnsr_ReadPulseCycleAvg (SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val) |
Returns the average power of the entire pulse. More... | |
EXPORT int | PwrSnsr_ReadPulseOnAverage (SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val) |
Average power of the ON portion of the pulse. More... | |
EXPORT int | PwrSnsr_ReadPulsePeak (SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, float *Val) |
Returns the peak amplitude during the pulse. More... | |
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 crossing of the distal line. More... | |
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 mesial line. More... | |
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 edge of the scale with units dBr (decibels relative). More... | |
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 edge of the scale with units dBr (decibels relative). More... | |
EXPORT int | PwrSnsr_GetHorizontalScale (SessionID Vi, const char *Channel, double *HorizontalScale) |
Get the statistical mode horizontal scale in dB/Div. More... | |
EXPORT int | PwrSnsr_SetHorizontalScale (SessionID Vi, const char *Channel, double HorizontalScale) |
Set the statistical mode horizontal scale in dB/Div. More... | |
int EXPORT | PwrSnsr_GetVerticalCenter (SessionID Vi, const char *Channel, float *VerticalCenter) |
Gets vertical center based on current units: <arg> = (range varies by units) More... | |
int EXPORT | PwrSnsr_SetVerticalCenter (SessionID Vi, const char *Channel, float VerticalCenter) |
Sets vertical center based on current units: <arg> = (range varies by units) More... | |
int EXPORT | PwrSnsr_GetVerticalScale (SessionID Vi, const char *Channel, float *VerticalScale) |
Gets vertical scale based on current units: <arg> = (range varies by units) More... | |
int EXPORT | PwrSnsr_SetVerticalScale (SessionID Vi, const char *Channel, float VerticalScale) |
Sets vertical scale based on current units: <arg> = (range varies by units) More... | |
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. More... | |
EXPORT int | PwrSnsr_FetchCCDFTrace (SessionID Vi, const char *Channel, int TraceBufferSize, float Trace[], int *TraceActualSize) |
Returns the points in the CCDF trace. More... | |
EXPORT int | PwrSnsr_StatModeReset (SessionID Vi, const char *Channel) |
Resets statistical capturing mode by clearing the buffers and restarting the aquisition timer. More... | |
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. More... | |
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. More... | |
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. More... | |
EXPORT int | PwrSnsr_GetCapture (SessionID Vi, const char *Channel, int *Capture) |
Get whether statistical capture is enabled. More... | |
EXPORT int | PwrSnsr_SetCapture (SessionID Vi, const char *Channel, int Capture) |
Set whether statistical capture is enabled. More... | |
EXPORT int | PwrSnsr_GetGating (SessionID Vi, const char *Channel, PwrSnsrStatGatingEnum *Gating) |
Get whether statistical capture is enabled. More... | |
EXPORT int | PwrSnsr_SetGating (SessionID Vi, const char *Channel, PwrSnsrStatGatingEnum Gating) |
Set whether the statical capture is gated by markers or free-running. More... | |
EXPORT int | PwrSnsr_GetTermAction (SessionID Vi, const char *Channel, PwrSnsrTermActionEnum *TermAction) |
Get the termination action for statistical capturing. More... | |
EXPORT int | PwrSnsr_SetTermAction (SessionID Vi, const char *Channel, PwrSnsrTermActionEnum TermAction) |
Set the termination action for statistical capturing. More... | |
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, the action determined by TermAction is taken. More... | |
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, the action determined by TermAction is taken. More... | |
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, the action determined by TermAction is taken. More... | |
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, the action determined by TermAction is taken. More... | |
EXPORT int | PwrSnsr_GetCCDFTraceCount (SessionID Vi, const char *Channel, int *TraceCount) |
Get the number of points in the CCDF trace plot. More... | |
EXPORT int | PwrSnsr_SetCCDFTraceCount (SessionID Vi, const char *Channel, int TraceCount) |
Set the number of points (1 - 16384) in the CCDF trace plot. More... | |
EXPORT int | PwrSnsr_FetchCursorPercent (SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, double *Val) |
Returns the percent CCDF at the cursor. More... | |
EXPORT int | PwrSnsr_FetchCursorPower (SessionID Vi, const char *Channel, PwrSnsrCondCodeEnum *CondCode, double *Val) |
Returns the power CCDF in dB at the cursor. More... | |
EXPORT int | PwrSnsr_GetPercentPosition (SessionID Vi, const char *Channel, double *PercentPosition) |
Get the cursor percent on the CCDF plot. More... | |
EXPORT int | PwrSnsr_SetPercentPosition (SessionID Vi, const char *Channel, double PercentPosition) |
Set the cursor percent on the CCDF plot. More... | |
EXPORT int | PwrSnsr_SetPowerPosition (SessionID Vi, const char *Channel, double PowerPosition) |
Set the cursor power in dB on the CCDF plot. More... | |
EXPORT int | PwrSnsr_GetPowerPosition (SessionID Vi, const char *Channel, double *PowerPosition) |
Get the cursor power in dB on the CCDF plot. More... | |
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. More... | |
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. More... | |
EXPORT int | PwrSnsr_GetMarkerTimePosition (SessionID Vi, int MarkerNumber, float *TimePosition) |
Get the time (x-axis-position) of the selected marker relative to the trigger. More... | |
EXPORT int | PwrSnsr_SetMarkerTimePosition (SessionID Vi, int MarkerNumber, float TimePosition) |
Set the time (x-axis-position) of the selected marker relative to the trigger. More... | |
EXPORT int | PwrSnsr_GetMarkerPixelPosition (SessionID Vi, int MarkerNumber, int *PixelPosition) |
Get the horizontal pixel position (X-axis-position) of the selected vertical marker. There are 501 pixel positions numbered from 0 to 500 inclusive. More... | |
EXPORT int | PwrSnsr_SetMarkerPixelPosition (SessionID Vi, int MarkerNumber, int PixelPosition) |
Set the horizontal pixel position (X-axis-position) of the selected vertical marker. There are 501 pixel positions numbered from 0 to 500 inclusive. More... | |
EXPORT int | PwrSnsr_GetManufactureDate (SessionID Vi, const char *Channel, int ManufactureDateBufferSize, char ManufactureDate[]) |
Date the sensor was manufactured in the following format YYYYmmDD. More... | |
EXPORT int | PwrSnsr_GetImpedance (SessionID Vi, const char *Channel, float *Impedance) |
Input impedance of the sensor. More... | |
EXPORT int | PwrSnsr_GetPeakPowerMax (SessionID Vi, const char *Channel, float *PeakPowerMax) |
Maximum power level the sensor can measure. More... | |
EXPORT int | PwrSnsr_GetPeakPowerMin (SessionID Vi, const char *Channel, float *PeakPowerMin) |
Minimum power level the sensor can measure. More... | |
EXPORT int | PwrSnsr_GetAttenuation (SessionID Vi, const char *Channel, float *Attenuation) |
Attenuation in dB for the sensor. More... | |
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. More... | |
EXPORT int | PwrSnsr_GetMinimumTrig (SessionID Vi, const char *Channel, float *MinimumTrig) |
Minimum internal trigger level in dBm. More... | |
EXPORT int | PwrSnsr_GetMinFreqHighBandwidth (SessionID Vi, const char *Channel, float *MinFreqHighBandwidth) |
Minimum frequency of RF the sensor can measure in high bandwidth. More... | |
EXPORT int | PwrSnsr_GetMaxFreqHighBandwidth (SessionID Vi, const char *Channel, float *MaxFreqHighBandwidth) |
Maximum frequency carrier the sensor can measure in high bandwidth. More... | |
EXPORT int | PwrSnsr_GetMinFreqLowBandwidth (SessionID Vi, const char *Channel, float *MinFreqLowBandwidth) |
Minimum frequency carrier the sensor can measure in low bandwidth. More... | |
EXPORT int | PwrSnsr_GetMaxFreqLowBandwidth (SessionID Vi, const char *Channel, float *MaxFreqLowBandwidth) |
Maximum frequency carrier the sensor can measure in low bandwidth. More... | |
EXPORT int | PwrSnsr_GetFpgaVersion (SessionID Vi, const char *Channel, int ValBufferSize, char Val[]) |
Get the sensor FPGA version. More... | |
EXPORT int | PwrSnsr_GetExternalSkew (SessionID Vi, const char *Channel, float *External) |
Gets the skew in seconds for the external trigger. More... | |
EXPORT int | PwrSnsr_SetExternalSkew (SessionID Vi, const char *Channel, float External) |
Sets the skew in seconds for the external trigger. More... | |
EXPORT int | PwrSnsr_GetSlaveSkew (SessionID Vi, const char *Channel, float *SlaveSkew) |
Gets the skew in seconds for the slave trigger. More... | |
EXPORT int | PwrSnsr_SetSlaveSkew (SessionID Vi, const char *Channel, float SlaveSkew) |
Sets the skew in seconds for the slave trigger. More... | |
EXPORT int | PwrSnsr_GetInternalSkew (SessionID Vi, const char *Channel, float *InternalSkew) |
Gets the skew in seconds for the internal trigger. More... | |
EXPORT int | PwrSnsr_SetInternalSkew (SessionID Vi, const char *Channel, float InternalSkew) |
Sets the skew in seconds for the internal trigger. More... | |
EXPORT int | PwrSnsr_Zero (SessionID Vi, const char *Channel) |
Performs a zero offset null adjustment. More... | |
EXPORT int | PwrSnsr_ZeroQuery (SessionID Vi, const char *Channel, int *Val) |
Performs a zero offset null adjustment and returns true if successful. More... | |
EXPORT int | PwrSnsr_Abort (SessionID Vi) |
Terminates any measurement in progress and resets the state of the trigger system. Note that Abort will leave the measurement in a stopped condition with all current measurements cleared. More... | |
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 timebase starting at the current trigger delay point. More... | |
EXPORT int | PwrSnsr_GetTimePerPoint (SessionID Vi, const char *Channel, float *TimePerPoint) |
Get time spacing for each waveform point in seconds. More... | |
EXPORT int | PwrSnsr_GetSweepTime (SessionID Vi, const char *Channel, float *SweepTime) |
Get sweep time for the trace in seconds. More... | |
EXPORT int | PwrSnsr_GetChanTraceCount (SessionID Vi, const char *Channel, int *TraceCount) |
Get the number of points in the CCDF trace plot. More... | |
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 information. More... | |
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. More... | |
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. More... | |
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. More... | |
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 correspond to pulses on the current trace from left to right (ascending time order). More... | |
EXPORT int | PwrSnsr_SetTrigOutMode (SessionID Vi, const char *Channel, int Mode) |
Sets the trigger out/mult io mode. Setting trigger mode overrides this command. More... | |
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, a new one is created. More... | |
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 method. More... | |
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, one is created. More... | |
EXPORT int | PwrSnsr_SaveUserCal (SessionID Vi, const char *Channel) |
Instructs power meter to save the value of fixed cal, zero, and skew values. More... | |
EXPORT int | PwrSnsr_ClearUserCal (SessionID Vi, const char *Channel) |
Resets the value of fixed cal, zero, and skew to factory defaults. More... | |
EXPORT int | PwrSnsr_GetIsAvgSensor (SessionID Vi, const char *Channel, int *IsAvgSensor) |
Retruns true if sensor is average responding (not peak detecting). More... | |
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 buffer is enabled. More... | |
EXPORT int | PwrSnsr_GetIsRunning (SessionID Vi, const char *Channel, int *IsRunning) |
Returns true if modulated/CW measuremnts are actively running. More... | |
EXPORT int | PwrSnsr_GetReadingPeriod (SessionID Vi, const char *Channel, float *ReadingPeriod) |
Returns the period (rate) in seconds per new filtered reading. More... | |
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. More... | |
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). Blocks until the number of measurements for each enabled channel is equal to count, or a time out has occurred. More... | |
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. More... | |
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. More... | |
EXPORT int | PwrSnsr_GetDuration (SessionID Vi, float *Duration) |
Get the time duration samples are captured during each timed mode acquisiton. More... | |
EXPORT int | PwrSnsr_SetDuration (SessionID Vi, float Duration) |
Set the duration samples are captured during each timed mode acquisition. More... | |
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. More... | |
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. More... | |
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. More... | |
EXPORT int | PwrSnsr_StartAcquisition (SessionID Vi) |
Starts measurement buffer acquisition. This method allows the user to send a command to the power meter to begin buffering measurements without waiting for all measurements to be completed. Alternately, you can call the AcquireReadings method to start buffering measurements and wait for them to be read from the meter. More... | |
EXPORT int | PwrSnsr_StopAcquisition (SessionID Vi) |
Sends a command to stop the measurement buffer from acquiring readings. More... | |
EXPORT int | PwrSnsr_ClearBuffer (SessionID Vi) |
Sends a command to the power meter to clear all buffered readings. This method does not clear cached measurements accessible through GetAverageMeasurements, etc. More... | |
EXPORT int | PwrSnsr_ClearMeasurements (SessionID Vi) |
Clears cached average, min, max, duration, start time, and sequence number measurements. More... | |
EXPORT int | PwrSnsr_GetMeasurementsAvailable (SessionID Vi, const char *Channel, int *Val) |
Get the number of measurement entries available that were captured during AcquireMeasurements(). More... | |
EXPORT int | PwrSnsr_SetPeriod (SessionID Vi, float Period) |
Set the period each timed mode acquisition (measurement buffer) is started. More... | |
EXPORT int | PwrSnsr_GetPeriod (SessionID Vi, float *Period) |
Get the period each timed mode acquisition (measurement buffer) is started. More... | |
EXPORT int | PwrSnsr_GetRdgsEnableFlag (SessionID Vi, int *Flag) |
Get the flag indicating which measurement buffer arrays will be read when calling PwrSnsr_AcquireMeasurements. More... | |
EXPORT int | PwrSnsr_SetRdgsEnableFlag (SessionID Vi, int Flag) |
Set the flag indicating which measurement buffer arrays will be read when calling PwrSnsr_AcquireMeasurements. More... | |
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 entry time interval. The gate signal may be internally or externally generated in several different ways. More... | |
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 entry time interval. More... | |
EXPORT int | PwrSnsr_GetStartMode (SessionID Vi, PwrSnsrMeasBuffStartModeEnum *StartMode) |
Get the mode used to start acquisition of buffer entries. More... | |
EXPORT int | PwrSnsr_SetStartMode (SessionID Vi, PwrSnsrMeasBuffStartModeEnum StartMode) |
Set the mode used to start acquisition of buffer entries. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
EXPORT int | PwrSnsr_GetTimedOut (SessionID Vi, int *TimedOut) |
Check if the last measurement buffer session timed out. More... | |
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 acquire measurements. More... | |
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 acquire measurements. More... | |
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 acquire measurements. More... | |
EXPORT int | PwrSnsr_GetReturnCount (SessionID Vi, int *ReturnCount) |
Get the return count for each measurement query. More... | |
EXPORT int | PwrSnsr_SetReturnCount (SessionID Vi, int ReturnCount) |
Set the return count for each measurement query. More... | |
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. More... | |
EXPORT int | PwrSnsr_GetOverRan (SessionID Vi, int *OverRan) |
Get flag indicating whether the power meter's internal buffer filled up before being emptied. More... | |
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 readings that have been acquired may be more or less. More... | |
EXPORT int | PwrSnsr_GetMeasBuffEnabled (SessionID Vi, int *MeasBuffEnabled) |
Get whether the measurement buffer has been enabled. More... | |
EXPORT int | PwrSnsr_SetMeasBuffEnabled (SessionID Vi, int MeasBuffEnabled) |
Enable or disable the measurement buffer. Disabling the measurement buffer enables modulated/CW measurements. Conversely, enabling it disables modulated/CW measurements. More... | |
EXPORT int | PwrSnsr_ResetContinuousCapture (SessionID Vi) |
Sets a flag indicating to restart continuous capture. This method allows the user to restart continuous acquisition. Has no effect if ContinuousCapture is set to false. More... | |
EXPORT int | PwrSnsr_GetEndDelay (SessionID Vi, float *EndDelay) |
Get delay time added to the detected end of a burst for analysis. Typically negative. Typically used to exclude the falling edge of a burst. More... | |
EXPORT int | PwrSnsr_SetEndDelay (SessionID Vi, float EndDelay) |
Set delay time added to the detected end of a burst for analysis. Typically negative. Typically used to exclude the falling edge of a burst. More... | |
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 of a burst. More... | |
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 of a burst. More... | |
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 rising edge of a burst. More... | |
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 rising edge of a burst. More... | |
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 burst. More... | |
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 burst. More... | |
EXPORT int | PwrSnsr_Write (SessionID Vi, const char *Channel, int DataBufferSize, unsigned char Data[]) |
Write a byte array to the meter. More... | |
EXPORT int | PwrSnsr_ReadByteArray (SessionID Vi, const char *Channel, int Count, int ValBufferSize, unsigned char Val[], int *ValActualSize) |
Reads byte array from the meter. More... | |
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. More... | |
EXPORT int | PwrSnsr_SetContinuousCapture (SessionID Vi, int ContinuousCapture) |
Set whether AcquireMeasurements will stop the measurement buffer session or continue capturing measurement buffer entries after being called. More... | |
EXPORT int | PwrSnsr_GetContinuousCapture (SessionID Vi, int *ContinuousCapture) |
Get whether AcquireMeasurements will stop the measurement buffer session or continue capturing measurement buffer entries after being called. More... | |
EXPORT int | PwrSnsr_GetModel (SessionID Vi, const char *Channel, int ModelBufferSize, char Model[]) |
Gets the model of the meter connected to the specified channel. More... | |
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 selected channel. More... | |
EXPORT int | PwrSnsr_GetPeakHoldTracking (SessionID Vi, const char *Channel, int *EnvelopeTracking) |
Returns whether peak hold decay automatically tracks trace averaging. If set to true, the peak hold decay and trace averaging values are the same. If set to false, peak hold decay is indepedent. More... | |
EXPORT int | PwrSnsr_SetPeakHoldTracking (SessionID Vi, const char *Channel, int EnvelopeTracking) |
Sets whether peak hold decay automatically tracks trace averaging. If set to true, the peak hold decay and trace averaging values are the same. If set to false, peak hold decay is indepedent. More... | |
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. More... | |
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 selected channel. More... | |
EXPORT int | PwrSnsr_GetDongleSerialNumber (long *val) |
Get the hardware license serial number. More... | |
EXPORT int | PwrSnsr_GetExpirationDate (int *Date) |
Get the hardware license expiration date. More... | |
EXPORT int | PwrSnsr_GetNumberOfCals (long *val) |
Get the number of calibrations left on the license. More... | |
EXPORT int | PwrSnsr_IsLicenseDongleConnected (int *val) |
Get whether the hardware license dongle is connected. More... | |
File containing all user-callable functions.
typedef enum PwrSnsrAcquisitionStatusEnum PwrSnsrAcquisitionStatusEnum |
typedef enum PwrSnsrBandwidthEnum PwrSnsrBandwidthEnum |
Video bandwidth enumeration.
typedef enum PwrSnsrCondCodeEnum PwrSnsrCondCodeEnum |
Condition code indicating validity of the measurement.
typedef enum PwrSnsrErrorCodesEnum PwrSnsrErrorCodesEnum |
Error codes
typedef enum PwrSnsrFilterStateEnum PwrSnsrFilterStateEnum |
Filter state enum.
typedef enum PwrSnsrHoldoffModeEnum PwrSnsrHoldoffModeEnum |
Trigger holdoff mode.
typedef enum PwrSnsrMarkerNumberEnum PwrSnsrMarkerNumberEnum |
Marker number enumeration.
typedef enum PwrSnsrMeasBuffGateEnum PwrSnsrMeasBuffGateEnum |
Measurement buffer gate modes.
typedef enum PwrSnsrMeasBuffStartModeEnum PwrSnsrMeasBuffStartModeEnum |
Measurement buffer start modes.
Measurement buffer stop reason.
typedef enum PwrSnsrPulseUnitsEnum PwrSnsrPulseUnitsEnum |
Enum for pulse calculation units.
typedef enum PwrSnsrRdgsEnableFlag PwrSnsrRdgsEnableFlag |
Select the action to take when either the statistical terminalcount is reached or the terminal time has elapsed.
typedef enum PwrSnsrStatGatingEnum PwrSnsrStatGatingEnum |
Gating value for statistical capture.
typedef enum PwrSnsrTermActionEnum PwrSnsrTermActionEnum |
Select the action to take when either the statistical terminalcount is reached or the terminal time has elapsed.
typedef enum PwrSnsrTriggerModeEnum PwrSnsrTriggerModeEnum |
Trigger mode for synchronizing data acquisition with pulsed signals.
typedef enum PwrSnsrTriggerPositionEnum PwrSnsrTriggerPositionEnum |
Set or return the position of the trigger event on displayed sweep.
typedef enum PwrSnsrTriggerSlopeEnum PwrSnsrTriggerSlopeEnum |
Values for edge trigger slope
typedef enum PwrSnsrTriggerSourceEnum PwrSnsrTriggerSourceEnum |
Trigger source used for synchronizing data acquisition.
typedef enum PwrSnsrTriggerStatusEnum PwrSnsrTriggerStatusEnum |
Trigger status of the acquisition system.
typedef enum PwrSnsrTrigOutModeEnum PwrSnsrTrigOutModeEnum |
Multi IO trigger out modes.
typedef enum PwrSnsrUnitsEnum PwrSnsrUnitsEnum |
Units returned by channel measurements.
enum PwrSnsrBandwidthEnum |
enum PwrSnsrCondCodeEnum |
Condition code indicating validity of the measurement.
Error codes
Trigger holdoff mode.
Measurement buffer gate modes.
Measurement buffer start modes.
Measurement buffer stop reason.
Select the action to take when either the statistical terminalcount is reached or the terminal time has elapsed.
Select the action to take when either the statistical terminalcount is reached or the terminal time has elapsed.
Trigger mode for synchronizing data acquisition with pulsed signals.
Trigger source used for synchronizing data acquisition.
Trigger status of the acquisition system.
Multi IO trigger out modes.
enum PwrSnsrUnitsEnum |
EXPORT int PwrSnsr_Abort | ( | SessionID | Vi | ) |
Terminates any measurement in progress and resets the state of the trigger system. Note that Abort will leave the measurement in a stopped condition with all current measurements cleared.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
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). Blocks until the number of measurements for each enabled channel is equal to count, or a time out has occurred.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Timeout | Maximum time in seconds to continue acquiring samples. Negative values will be treated as infinite. |
Count | Number of samples to acquire. |
StopReason | Reason aqcuisition stopped. |
Val | Number of samples acquired. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
EXPORT int PwrSnsr_Clear | ( | SessionID | Vi | ) |
Clear all data buffers. Clears averaging filters to empty.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
EXPORT int PwrSnsr_ClearBuffer | ( | SessionID | Vi | ) |
Sends a command to the power meter to clear all buffered readings. This method does not clear cached measurements accessible through GetAverageMeasurements, etc.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
EXPORT int PwrSnsr_ClearError | ( | SessionID | Vi | ) |
This function clears the error code and error description for the given session.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
EXPORT int PwrSnsr_ClearMeasurements | ( | SessionID | Vi | ) |
Clears cached average, min, max, duration, start time, and sequence number measurements.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
EXPORT int PwrSnsr_ClearUserCal | ( | SessionID | Vi, |
const char * | Channel | ||
) |
Resets the value of fixed cal, zero, and skew to factory defaults.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
EXPORT int PwrSnsr_close | ( | SessionID | Vi | ) |
Closes the I/O session to the instrument. Driver methods and properties that access the instrument are not accessible after Close is called.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Enabled | If set to 1, enables buffered mode. If set to zero, disables capture priority(default). |
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 correspond to pulses on the current trace from left to right (ascending time order).
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
PulseInfosSize | Number of elements in PulseInfos array. |
PulseInfos | Array to fill with multi pulse information. |
PulseInfosActualSize | Actual number of valid elements in PulseInfos array. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
AvgPower | Average power between the markers. |
AvgPowerCondCode | Condition code. |
MaxPower | Maximum power between the markers. |
MaxPowerCondCode | Condition code. |
MinPower | Minimum power between the markers. |
MinPowerCondCode | Condition code. |
PkToAvgRatio | The ratio of peak to average power between the markers. |
PkToAvgRatioCondCode | Condition code. |
Marker1Power | The power at Marker 1. |
Marker1PowerCondCode | Condition code. |
Marker2Power | The power at Marker 2. |
Marker2PowerCondCode | Condition code. |
MarkerRatio | Ratio of power at Marker 1 and power at Marker 2. |
MarkerRatioCondCode | Condition code. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Power | Relative power in dB |
CondCode | Condition code for the measurement. |
Val | Percent measurement at power. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Percent | Statistical percent to retrieve power from. |
CondCode | Condition code for the measurement. |
Val | relative power at percent. |
EXPORT int PwrSnsr_FetchCCDFTrace | ( | SessionID | Vi, |
const char * | Channel, | ||
int | TraceBufferSize, | ||
float | Trace[], | ||
int * | TraceActualSize | ||
) |
Returns the points in the CCDF trace.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TraceBufferSize | |
Trace | |
TraceActualSize |
EXPORT int PwrSnsr_FetchCursorPercent | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrCondCodeEnum * | CondCode, | ||
double * | Val | ||
) |
Returns the percent CCDF at the cursor.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. |
Val |
EXPORT int PwrSnsr_FetchCursorPower | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrCondCodeEnum * | CondCode, | ||
double * | Val | ||
) |
Returns the power CCDF in dB at the cursor.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. |
Val |
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 the specified channel. Units are the same as the
channel units. Note the peak-to-average ratio and marker ratio are returned
in dB for logarithmic channel units, and percent for all other channel units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
PeakAverage | Average power of the peak power envelope. |
PeakAverageValid | Condition code. |
PeakMax | maximum power of the peak power envelope. |
PeakMaxValid | Condition code. |
PeakMin | Minimum power of the peak power envelope. |
PeakMinValid | Condition code. |
PeakToAvgRatio | Peak to average ratio. |
PeakToAvgRatioValid | Condition code. |
EXPORT int PwrSnsr_FetchCWPower | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrCondCodeEnum * | CondCode, | ||
float * | Val | ||
) |
Returns the most recently acquired CW power.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. |
Val | CW power in channel units. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. |
Val | Detected power of the distal level in the current channel units. |
EXPORT int PwrSnsr_FetchDutyCycle | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrCondCodeEnum * | IsValid, | ||
float * | Val | ||
) |
Returns the ratio of the pulse on-time to off-time.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement return value. |
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 on the waveform.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | |
Val |
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 timebase starting at the current trigger delay point.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
WaveformArrayBufferSize | Number of elements in the WaveformArray buffer |
WaveformArray | Waveform buffer. |
WaveformArrayActualSize | Number of elements updated with data. |
Count | Number of points to capture. |
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 of the proximal line.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement return value. |
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 first nominal state from which a pulse departs and to which it ultimately returns.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement return value. |
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 nominal state of a pulse.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement return value. |
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. The units will be the same as the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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. The units will be the same as the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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. The units will be the same as the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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. The units will be the same as the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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. The units will be the same as the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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. The units are dB for logarithmic channel units or percent for linear channel units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Marker | Marker number. |
IsValid | Condition code. |
Val | Measurement value |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. |
Val | Measurement value. |
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 the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Marker | Marker number. |
IsValid | |
Val | Measurement value. |
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 the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Marker | Marker number. |
IsValid | |
Val | measurement value. |
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 units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. |
Val | Detected power of the mesial level in the current channel units. |
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).
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement return value. |
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 dB or percent, depending on the channel units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement return value. |
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)
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement return value. |
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 waveform.
Measurements performed are: peak amplitude during
the pulse, average amplitude over a full cycle of the pulse waveform, average
amplitude during the pulse, IEEE top amplitude, IEEE bottom amplitude, and overshoot.
Units are the same as the channel's units.
Note the pulse overshoot is returned in dB for logarithmic channel units,
and percent for all other units. Also, the pulse ?ON interval used for peak
and average calculations is defined by the SENSe:PULSe:STARTGT and :ENDGT time gating settings.
A full pulse (rise and fall) must be visible on the display to make average
and peak pulse power measurements, and a full cycle of the waveform must be
visible to calculate average cycle amplitude.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
PulsePeak | The peak amplitude during the pulse. |
PulsePeakValid | Condition code. |
PulseCycleAvg | Average cycle amplitude. |
PulseCycleAvgValid | Condition code. |
PulseOnAvg | Average power of the ON portion of the pulse. |
PulseOnValid | Condition code. |
IEEETop | The IEEE-defined top line, i.e. the portion of a pulse waveform, which represents the second nominal state of a pulse. |
IEEETopValid | Condition code. |
IEEEBottom | The IEEE-define base line, i.e. The two portions of a pulse waveform which represent the first nominal state from which a pulse departs and to which it ultimately returns. |
IEEEBottomValid | Condition code. |
Overshoot | The difference between the distortion following a major transition and the IEEE top line in dB or percent,depending on the channel units. |
OvershootValid | Condition code. |
Droop | Pulse droop. |
DroopValid | Condition code. |
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 Frequency).
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement return value. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. |
Val | Detected power of the proximal level in the current channel units. |
EXPORT int PwrSnsr_FetchPulseCycleAvg | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrCondCodeEnum * | IsValid, | ||
float * | Val | ||
) |
Returns the average power of the entire pulse.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement return value. |
EXPORT int PwrSnsr_FetchPulseOnAverage | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrCondCodeEnum * | IsValid, | ||
float * | Val | ||
) |
Average power of the ON portion of the pulse.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement return value. |
EXPORT int PwrSnsr_FetchPulsePeak | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrCondCodeEnum * | IsValid, | ||
float * | Val | ||
) |
Returns the peak amplitude during the pulse.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement return value. |
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 crossing of the distal line.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement return value. |
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.
Measurements performed are: long term average, peak and minimum amplitude, peak-to-average ratio, amplitude at the CCDF percent cursor, statistical percent at the CCDF power cursor, and the sample population size in samples. Note the peak-to-average ratio is returned in dB for logarithmic channel units, and percent for all other channel units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Pavg | Long term average power in channel units. |
PavgCond | Condition code. |
Ppeak | Peak power in channel units. |
PpeakCond | Condition code. |
Pmin | Minimum power in channel units. |
PminCond | Condition code. |
PkToAvgRatio | Peak-to-average power in percent or dB. |
PkToAvgRatioCond | Condition code. |
CursorPwr | Power at the cursor in channel units. |
CursorPwrCond | Condition code. |
CursorPct | Statistical percent at the cursor. |
CursorPctCond | Condition code. |
SampleCount | Population size in samples. |
SampleCountCond | Condition code. |
SecondsRun | Number of seconds the measurement has run. |
SecondsRunCond | Condition code. |
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.
Measurements performed are: the frequency, period, width, offtime and duty cycle of the pulse waveform, and the risetime and falltime of the edge transitions. For each of the measurements to be performed, the appropriate items to be measured must within the trace window. Pulse frequency, period, offtime and duty cycle measurements require that an entire cycle of the pulse waveform (minimum of three edge transitions) be present. Pulse width measurement requires that at least one full pulse is visible, and is most accurate if the pulse width is at least 0.4 divisions. Risetime and falltime measurements require that the edge being measured is visible, and will be most accurate if the transition takes at least 0.1 divisions. It is always best to have the power meter set on the fastest timebase possible that meets the edge visibility restrictions. Set the trace averaging as high as practical to reduce fluctuations and noise in the pulse timing measurements. Note that the timing of the edge transitions is defined by the settings of the SENSe:PULSe:DISTal, :MESIal and :PROXimal settings; see the descriptions Forthose commands. Units are the same as the channel's units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Frequency | The number of cycles of a repetitive signal that take place in one second (Pulse Repetition Frequency). |
FrequencyValid | Condition code. |
Period | The interval between two successive pulses. |
PeriodValid | Condition code. |
Width | The interval between the first and second signal crossings of the mesial line. |
WidthValid | Condition code. |
Offtime | The time a repetitive pulse is off. (Equal to the pulse period minus the pulse width). |
OfftimeValid | Condition code. |
DutyCycle | The ratio of the pulse on-time to period. |
DutyCycleValid | Condition code. |
Risetime | The interval between the first signal crossing of the proximal line to the first signal crossing of the distal line. |
RisetimeValid | Condition code. |
Falltime | The interval between the last signal crossing of the distal line to the last signal crossing of the proximal line. |
FalltimeValid | Condition code. |
EdgeDelay | Time offset from the trigger reference to the first mesial transition level of either slope on the waveform. |
EdgeDelayValid | Condition code. |
Skew | The trigger offset between the assigned trigger channel and this channel. |
SkewValid | Condition code. |
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 calling this method. Call this method separately for each channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
WaveformArrayBufferSize | Size in bytes of the Waveform buffer. |
WaveformArray | The array contains the average waveform. Units for the individual array elements are in the channel units setting. |
WaveformArrayActualSize | Size in bytes of the data written to WaveformArray. |
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. The acquisition must be made prior to calling this method. Call this method separately for each channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
MinWaveformBufferSize | Size in bytes of the MinWaveform buffer. |
MinWaveform | This array contains the min waveform. Units for the individual array elements are in the channel units setting. |
MinWaveformActualSize | Size in bytes of the data written to MinWaveform. |
MaxWaveformBufferSize | Size in bytes of the MaxWaveform buffer. |
MaxWaveform | This array contains the max waveform. Units for the individual array elements are in the channel units setting. |
MaxWaveformActualSize | Size in bytes of the data written to MaxWaveform. |
WaveformArrayBufferSize | Size in bytes of the Waveform buffer. |
WaveformArray | The array contains the average waveform. Units for the individual array elements are in the channel units setting. |
WaveformArrayActualSize | Size in bytes of the data written to WaveformArray. |
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 mesial line.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement return value. |
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 function to open a session to an instrument.
Delimiter | The string used to delimit the list of resources ie. "|", " ", ";", etc. |
ValBufferSize | Number of elements in Val. |
Val | The return string. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
SweepLength | Returns the number of points in the trace. |
SampleRate | Returns the sample rate. |
SweepRate | Returns the number of triggered sweeps per second. |
SweepTime | Returns the sweep time for the trace. |
StartTime | Returns the start time relative to the trigger. |
StatusWord | Internal use - acquisition system status word. |
EXPORT int PwrSnsr_GetAttenuation | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | Attenuation | ||
) |
Attenuation in dB for the sensor.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Attenuation |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Average |
EXPORT int PwrSnsr_GetBandwidth | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrBandwidthEnum * | Bandwidth | ||
) |
Get the sensor video bandwidth for the selected sensor.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Bandwidth |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ValBufferSize | Buffer size of Val. |
Val | Array of average measurements. |
ValActualSize | Actual size of Val. |
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 readings that have been acquired may be more or less.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MeasurementsAvailable | The number of measurements available in the power meter's internal buffer. Note: The number of readings that have been acquired may be more or less. |
EXPORT int PwrSnsr_GetCalFactor | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | CalFactor | ||
) |
Get the frequency calibration factor currently in use on the selected channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CalFactor |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
MaxFrequency | Maximum RF frequency measureable by this channel. |
MinFrequency | Minimum RF frequency measureable by this channel. |
FrequencyListBufferSize | Number of elements in FrequencyList. |
FrequencyList | List of frequencies correlated to the cal factors. |
FrequencyListActualSize | Actual number of elements returned in FrequencyList. |
CalFactorListBufferSize | Number of elements in CalFactorList. |
CalFactorList | List of cal factors correlated to the frequencies. |
CalFactorListActualSize | Actual number of elements returned in CalFactorList. |
Bandwidth | Bandwidth of interest. Cal factors for low and high bandwidth are different. |
EXPORT int PwrSnsr_GetCapture | ( | SessionID | Vi, |
const char * | Channel, | ||
int * | Capture | ||
) |
Get whether statistical capture is enabled.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Capture |
EXPORT int PwrSnsr_GetCCDFTraceCount | ( | SessionID | Vi, |
const char * | Channel, | ||
int * | TraceCount | ||
) |
Get the number of points in the CCDF trace plot.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TraceCount |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Buffer size for Channel |
Channel | Channel number buffer |
Index | the index of the channel |
EXPORT int PwrSnsr_GetChannelCount | ( | SessionID | Vi, |
int * | Count | ||
) |
Get number of channels.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Count | Number of channels |
EXPORT int PwrSnsr_GetChanTraceCount | ( | SessionID | Vi, |
const char * | Channel, | ||
int * | TraceCount | ||
) |
Get the number of points in the CCDF trace plot.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TraceCount | The number of points in the CCDF trace plot. |
EXPORT int PwrSnsr_GetContinuousCapture | ( | SessionID | Vi, |
int * | ContinuousCapture | ||
) |
Get whether AcquireMeasurements will stop the measurement buffer session or continue capturing measurement buffer entries after being called.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
ContinuousCapture | True if AcquireMeasurements will stop the measurement buffer session or continue capturing measurement buffer entries after being called. |
EXPORT int PwrSnsr_GetCurrentTemp | ( | SessionID | Vi, |
const char * | Channel, | ||
double * | CurrentTemp | ||
) |
Get current sensor internal temperature in degrees C.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CurrentTemp |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
DetectorTemp | Temperature in degrees C at the RF detector. |
CpuTemp | Temperature of the CPU in degrees C. |
MioVoltage | Voltage at the Multi I/O port. |
VccInt10 | Vcc 10 voltage. |
VccAux18 | Vcc Aux 18 voltage. |
Vcc50 | Vcc 50 voltage. |
Vcc25 | Vcc 25 voltage. |
Vcc33 | Vcc 33 voltage. |
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 a falling edge transition.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Distal |
EXPORT int PwrSnsr_GetDongleSerialNumber | ( | long * | val | ) |
Get the hardware license serial number.
val | Serial number of the license dongle |
EXPORT int PwrSnsr_GetDuration | ( | SessionID | Vi, |
float * | Duration | ||
) |
Get the time duration samples are captured during each timed mode acquisiton.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Duration | The duration in seconds samples are captured during each timed mode acquisiton. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ValBufferSize | Size of the buffer. |
Val | Array of measurement durations in seconds. |
ValActualSize | Actual size of the returned buffer. |
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 measurements; when the value is false, the channel is disabled and no measurements are performed.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Enabled | Boolean. 1 for enabled; 0 for disabled. |
EXPORT int PwrSnsr_GetEndDelay | ( | SessionID | Vi, |
float * | EndDelay | ||
) |
Get delay time added to the detected end of a burst for analysis. Typically negative. Typically used to exclude the falling edge of a burst.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
EndDelay | The delay time added to the detected end of a burst for analysis. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
EndGate |
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 burst.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
EndQual | The minimum amount of time power remains below the trigger point to be counted as the end of a burst. |
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, the error information describes the first error that occurred since the user last called the Get Error or Clear Error function.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
ErrorCode | |
ErrorDescriptionBufferSize | |
ErrorDescription |
EXPORT int PwrSnsr_GetExpirationDate | ( | int * | Date | ) |
Get the hardware license expiration date.
Date | expiration date in the format YYYYMMDD |
EXPORT int PwrSnsr_GetExternalSkew | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | External | ||
) |
Gets the skew in seconds for the external trigger.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
External | Trigger skew in seconds (-1e-6 to 1e-6). |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
FactoryCalDateBufferSize | Size of FactoryCalDate in bytes. |
FactoryCalDate |
EXPORT int PwrSnsr_GetFetchLatency | ( | SessionID | Vi, |
int * | Latency | ||
) |
Get the period the library waits to update fetch measurements in ms.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Latency | Fetch latency in ms. |
EXPORT int PwrSnsr_GetFilterState | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrFilterStateEnum * | FilterState | ||
) |
Get the current setting of the integration filter on the selected channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ManufactureDateBufferSize | |
ManufactureDate |
EXPORT int PwrSnsr_GetFilterTime | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | FilterTime | ||
) |
Get the current length of the integration filter on the selected channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
FilterTime |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
FirmwareVersionBufferSize | Size of the FirmwareVersion buffer. |
FirmwareVersion | Buffer to hold the firmware version. |
EXPORT int PwrSnsr_GetFpgaVersion | ( | SessionID | Vi, |
const char * | Channel, | ||
int | ValBufferSize, | ||
char | Val[] | ||
) |
Get the sensor FPGA version.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ValBufferSize | Size pf Val in bytes |
Val | Buffer for staoring the version |
EXPORT int PwrSnsr_GetFrequency | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | Frequency | ||
) |
Get the RF frequency for the current sensor.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Frequency | RF Frequency in Hz. |
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 entry time interval. The gate signal may be internally or externally generated in several different ways.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
GateMode | Buffer gate mode that defines the start and end of the entry time interval. |
EXPORT int PwrSnsr_GetGating | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrStatGatingEnum * | Gating | ||
) |
Get whether statistical capture is enabled.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". whether the statical capture is gated by markers or free-running. |
Gating |
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 edge of the scale with units dBr (decibels relative).
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
HorizontalOffset |
EXPORT int PwrSnsr_GetHorizontalScale | ( | SessionID | Vi, |
const char * | Channel, | ||
double * | HorizontalScale | ||
) |
Get the statistical mode horizontal scale in dB/Div.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
HorizontalScale |
EXPORT int PwrSnsr_GetImpedance | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | Impedance | ||
) |
Input impedance of the sensor.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Impedance |
EXPORT int PwrSnsr_GetInitiateContinuous | ( | SessionID | Vi, |
int * | InitiateContinuous | ||
) |
Get the data acquisition mode for single or free-run measurements.
If INITiate:CONTinuous is set to ON, the instrument immediately begins taking measurements (Modulated, CW and Statistical Modes), or arms its trigger and takes a measurement each time a trigger occurs (Pulse Mode). If set to OFF, the measurement will begin (or be armed) as soon as the INITiate command is issued, and will stop once the measurement criteria (averaging, filtering or sample count) has been satisfied. Note that INITiate:IMMediate and READ commands are invalid when INITiate:CONTinuous is set to ON; however, by convention this situation does not result in a SCPI error.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
InitiateContinuous | Boolean. 0 for off or 1 for on. |
EXPORT int PwrSnsr_GetInternalSkew | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | InternalSkew | ||
) |
Gets the skew in seconds for the internal trigger.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
InternalSkew | Trigger skew in seconds (-1e-6 to 1e-6). |
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 buffer is enabled.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsAvailable | True if modulated/CW measurement system is available. Will always return false if measurement buffer is enabled. |
EXPORT int PwrSnsr_GetIsAvgSensor | ( | SessionID | Vi, |
const char * | Channel, | ||
int * | IsAvgSensor | ||
) |
Retruns true if sensor is average responding (not peak detecting).
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsAvgSensor | True if sensor is average responding. |
EXPORT int PwrSnsr_GetIsRunning | ( | SessionID | Vi, |
const char * | Channel, | ||
int * | IsRunning | ||
) |
Returns true if modulated/CW measuremnts are actively running.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsRunning | True if modulated/CW measuremnts are actively running. |
EXPORT int PwrSnsr_GetManufactureDate | ( | SessionID | Vi, |
const char * | Channel, | ||
int | ManufactureDateBufferSize, | ||
char | ManufactureDate[] | ||
) |
Date the sensor was manufactured in the following format YYYYmmDD.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ManufactureDateBufferSize | Size of ManufactureDate in bytes. |
ManufactureDate | Return value. |
EXPORT int PwrSnsr_GetMarkerPixelPosition | ( | SessionID | Vi, |
int | MarkerNumber, | ||
int * | PixelPosition | ||
) |
Get the horizontal pixel position (X-axis-position) of the selected vertical marker. There are 501 pixel positions numbered from 0 to 500 inclusive.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MarkerNumber | |
PixelPosition |
EXPORT int PwrSnsr_GetMarkerTimePosition | ( | SessionID | Vi, |
int | MarkerNumber, | ||
float * | TimePosition | ||
) |
Get the time (x-axis-position) of the selected marker relative to the trigger.
Note that time markers must be positioned within the time limits of the trace window in the graph display. If a time outside of the display limits is entered, the marker will be placed at the first or last time position as appropriate.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MarkerNumber | |
TimePosition |
EXPORT int PwrSnsr_GetMaxFreqHighBandwidth | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | MaxFreqHighBandwidth | ||
) |
Maximum frequency carrier the sensor can measure in high bandwidth.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
MaxFreqHighBandwidth |
EXPORT int PwrSnsr_GetMaxFreqLowBandwidth | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | MaxFreqLowBandwidth | ||
) |
Maximum frequency carrier the sensor can measure in low bandwidth.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
MaxFreqLowBandwidth |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ValBufferSize | Size of the buffer. |
Val | Array of max measurements. |
ValActualSize | Actual size of the returned array in elements. |
EXPORT int PwrSnsr_GetMaxTimebase | ( | SessionID | Vi, |
float * | MaxTimebase | ||
) |
Gets the maximum timebase setting available.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MaxTimebase |
EXPORT int PwrSnsr_GetMeasBuffEnabled | ( | SessionID | Vi, |
int * | MeasBuffEnabled | ||
) |
Get whether the measurement buffer has been enabled.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MeasBuffEnabled | True if measurement buffer is enabled. |
EXPORT int PwrSnsr_GetMeasurementsAvailable | ( | SessionID | Vi, |
const char * | Channel, | ||
int * | Val | ||
) |
Get the number of measurement entries available that were captured during AcquireMeasurements().
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Val | Number of measurement entries available. |
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 method.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MemChan | The name of the memory channel to get the archive from. |
ValBufferSize | |
Val | XML document containing settings and readings. |
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 falling edge transition.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Mesial |
EXPORT int PwrSnsr_GetMinFreqHighBandwidth | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | MinFreqHighBandwidth | ||
) |
Minimum frequency of RF the sensor can measure in high bandwidth.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
MinFreqHighBandwidth |
EXPORT int PwrSnsr_GetMinFreqLowBandwidth | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | MinFreqLowBandwidth | ||
) |
Minimum frequency carrier the sensor can measure in low bandwidth.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
MinFreqLowBandwidth |
EXPORT int PwrSnsr_GetMinimumSupportedFirmware | ( | int * | Version | ) |
Gets the minimum supported firmware as an integer. Format is YYYYMMDD.
EXPORT int PwrSnsr_GetMinimumTrig | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | MinimumTrig | ||
) |
Minimum internal trigger level in dBm.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
MinimumTrig |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ValBufferSize | Size of the buffer. |
Val | Array of min measurements. |
ValActualSize | Actual size of the returned array in elements. |
EXPORT int PwrSnsr_GetModel | ( | SessionID | Vi, |
const char * | Channel, | ||
int | ModelBufferSize, | ||
char | Model[] | ||
) |
Gets the model of the meter connected to the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ModelBufferSize | Size of the buffer.. |
Model | Buffer where the model is read into. |
EXPORT int PwrSnsr_GetNumberOfCals | ( | long * | val | ) |
Get the number of calibrations left on the license.
val | Number of cals left. |
EXPORT int PwrSnsr_GetOffsetdB | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | OffsetdB | ||
) |
Get a measurement offset in dB for the selected sensor.
This setting is used to compensate for external couplers, attenuators or amplifiers in the RF signal path ahead of the power sensor.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
OffsetdB |
EXPORT int PwrSnsr_GetOverRan | ( | SessionID | Vi, |
int * | OverRan | ||
) |
Get flag indicating whether the power meter's internal buffer filled up before being emptied.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
OverRan | True if the power meter's internal buffer filled up before being emptied. |
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 selected channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
EnvelopeAverage | Out parameter value. |
EXPORT int PwrSnsr_GetPeakHoldTracking | ( | SessionID | Vi, |
const char * | Channel, | ||
int * | EnvelopeTracking | ||
) |
Returns whether peak hold decay automatically tracks trace averaging. If set to true, the peak hold decay and trace averaging values are the same. If set to false, peak hold decay is indepedent.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
EnvelopeTracking | Out boolean parameter value. |
EXPORT int PwrSnsr_GetPeakPowerMax | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | PeakPowerMax | ||
) |
Maximum power level the sensor can measure.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
PeakPowerMax |
EXPORT int PwrSnsr_GetPeakPowerMin | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | PeakPowerMin | ||
) |
Minimum power level the sensor can measure.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
PeakPowerMin |
EXPORT int PwrSnsr_GetPercentPosition | ( | SessionID | Vi, |
const char * | Channel, | ||
double * | PercentPosition | ||
) |
Get the cursor percent on the CCDF plot.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". Channel Channel number. For single instruments, set this to 1. |
PercentPosition |
EXPORT int PwrSnsr_GetPeriod | ( | SessionID | Vi, |
float * | Period | ||
) |
Get the period each timed mode acquisition (measurement buffer) is started.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Period | The period in seconds each timed mode acquisition is started. |
EXPORT int PwrSnsr_GetPowerPosition | ( | SessionID | Vi, |
const char * | Channel, | ||
double * | PowerPosition | ||
) |
Get the cursor power in dB on the CCDF plot.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
PowerPosition |
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 a falling edge transition.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Proximal |
EXPORT int PwrSnsr_GetPulseUnits | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrPulseUnitsEnum * | Units | ||
) |
Get the units for entering the pulse distal, mesial and proximal levels.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
PwrSnsrPulseUnitsEnum |
EXPORT int PwrSnsr_GetRdgsEnableFlag | ( | SessionID | Vi, |
int * | Flag | ||
) |
Get the flag indicating which measurement buffer arrays will be read when calling PwrSnsr_AcquireMeasurements.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Flag | Bit masked value indicating which measurement arrays will be queried (see PwrSnsrRdgsEnableFlag). |
EXPORT int PwrSnsr_GetReadingPeriod | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | ReadingPeriod | ||
) |
Returns the period (rate) in seconds per new filtered reading.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ReadingPeriod | The period (rate) in seconds per new filtered reading. |
EXPORT int PwrSnsr_GetReturnCount | ( | SessionID | Vi, |
int * | ReturnCount | ||
) |
Get the return count for each measurement query.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
ReturnCount | The return count for each measurement query. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ValBufferSize | Size of the buffer. |
Val | Array of sequence numbers. |
ValActualSize | Actual size of the returned array in elements. |
EXPORT int PwrSnsr_GetSerialNumber | ( | SessionID | Vi, |
const char * | Channel, | ||
int | SerialNumberBufferSize, | ||
char | SerialNumber[] | ||
) |
Gets the serial number of the sensor.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
SerialNumberBufferSize | Size in bytes of Serial number. |
SerialNumber | Out parameter. ASCII string serial number. |
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 acquire measurements.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
SessionCount | Get the count of elements for this measurement buffer session. Set to 0 for the meter to continuously acquire measurements. |
EXPORT int PwrSnsr_GetSlaveSkew | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | SlaveSkew | ||
) |
Gets the skew in seconds for the slave trigger.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
SlaveSkew | Trigger skew in seconds (-1e-6 to 1e-6). |
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 rising edge of a burst.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
StartDelay | Delay time in seconds added to the detected beginning of a burst for analysis. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
StartGate |
EXPORT int PwrSnsr_GetStartMode | ( | SessionID | Vi, |
PwrSnsrMeasBuffStartModeEnum * | StartMode | ||
) |
Get the mode used to start acquisition of buffer entries.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
StartMode | Mode used to start acquisition of buffer entries. |
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 of a burst.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
StartQual | The minimum amount of time power remains above the trigger point to be counted as the beginning of a burst. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ValBufferSize | Size of the buffer. |
Val | Array of start times. |
ValActualSize | Actual size of the returned array in elements. |
EXPORT int PwrSnsr_GetSweepTime | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | SweepTime | ||
) |
Get sweep time for the trace in seconds.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
SweepTime | Sweep time for the trace in seconds. |
EXPORT int PwrSnsr_GetTempComp | ( | SessionID | Vi, |
const char * | Channel, | ||
int * | TempComp | ||
) |
Get the state of the peak sensor temperature compensation system.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TempComp | Boolean. 1 for on; 0 for off. |
EXPORT int PwrSnsr_GetTermAction | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrTermActionEnum * | TermAction | ||
) |
Get the termination action for statistical capturing.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TermAction |
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, the action determined by TermAction is taken.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TermCount |
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, the action determined by TermAction is taken.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TermTime |
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 max timebase) sec in a 1-2-5 sequence,.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Timebase |
EXPORT int PwrSnsr_GetTimedOut | ( | SessionID | Vi, |
int * | TimedOut | ||
) |
Check if the last measurement buffer session timed out.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
TimedOut | True if the last measurement buffer session timed out. |
EXPORT int PwrSnsr_GetTimeOut | ( | SessionID | Vi, |
long * | Val | ||
) |
Returns the time out value for I/O in milliseconds.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Val | Time out in milliseconds. -1 denote infinite time out. |
EXPORT int PwrSnsr_GetTimePerPoint | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | TimePerPoint | ||
) |
Get time spacing for each waveform point in seconds.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TimePerPoint | Time spacing for each waveform point in seconds. |
EXPORT int PwrSnsr_GetTimespan | ( | SessionID | Vi, |
float * | Timespan | ||
) |
Get the horizontal time span of the trace in pulse mode. Time span = 10* Time/Division. Value = 5e-8 to 100e-3 sec in a 1-2-5 sequence.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Timespan |
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 information.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TraceStartTime | Time offset (start time) of the trace in seconds. May be negative, indicating pre-trigger information. |
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 in the LEFT position.
Positive values cause the actual trigger to occur after the trigger condition is met. This places the trigger event to the left of the trigger point on the display, and is useful for viewing events during a pulse, some fixed delay time after the rising edge trigger. Negative trigger delay places the trigger event to the right of the trigger point on the display, and is useful for looking at events before the trigger edge.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Delay |
EXPORT int PwrSnsr_GetTrigHoldoff | ( | SessionID | Vi, |
float * | Holdoff | ||
) |
Return the trigger holdoff time in seconds.
Trigger holdoff is used to disable the trigger for a specified amount of time after each trigger event. The holdoff time starts immediately after each valid trigger edge, and will not permit any new triggers until the time has expired. When the holdoff time is up, the trigger re-arms, and the next valid trigger event (edge) will cause a new sweep. This feature is used to help synchronize the power meter with burst waveforms such as a TDMA or GSM frame. The trigger holdoff resolution is 10 nanoseconds, and it should be set to a time that is just slightly shorter than the frame repetition interval.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Holdoff |
EXPORT int PwrSnsr_GetTrigHoldoffMode | ( | SessionID | Vi, |
PwrSnsrHoldoffModeEnum * | HoldoffMode | ||
) |
Returns the holdoff mode to normal or gap holdoff.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
HoldoffMode | holdoff mode. |
EXPORT int PwrSnsr_GetTrigLevel | ( | SessionID | Vi, |
float * | Level | ||
) |
Return the trigger level for synchronizing data acquisition with a pulsed input signal.
The internal trigger level entered should include any global offset and will also be affected by the frequency cal factor. The available internal trigger level range is sensor dependent. The trigger level is set and returned in dBm. This setting is only valid for normal and auto trigger modes.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Level | Trigger level in dBm. |
EXPORT int PwrSnsr_GetTrigMode | ( | SessionID | Vi, |
PwrSnsrTriggerModeEnum * | Mode | ||
) |
Return the trigger mode for synchronizing data acquisition with pulsed signals.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Mode | Trigger mode. |
EXPORT int PwrSnsr_GetTrigPosition | ( | SessionID | Vi, |
PwrSnsrTriggerPositionEnum * | Position | ||
) |
Return the position of the trigger event on displayed sweep.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Position | Trigger position. |
EXPORT int PwrSnsr_GetTrigSlope | ( | SessionID | Vi, |
PwrSnsrTriggerSlopeEnum * | Slope | ||
) |
Return the trigger slope or polarity.
When set to positive, trigger events will be generated when a signal rising edge crosses the trigger level threshold. When negative, trigger events are generated on the falling edge of the pulse.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Slope |
EXPORT int PwrSnsr_GetTrigSource | ( | SessionID | Vi, |
PwrSnsrTriggerSourceEnum * | Source | ||
) |
Set the signal the power meter monitors for a trigger. It can be channel external input, or independent.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Source |
EXPORT int PwrSnsr_GetTrigStatus | ( | SessionID | Vi, |
PwrSnsrTriggerStatusEnum * | Status | ||
) |
The status of the triggering system. Update rate is controlled by FetchLatency setting.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Status | Status of the trigger. |
EXPORT int PwrSnsr_GetTrigVernier | ( | SessionID | Vi, |
float * | Vernier | ||
) |
Return the fine position of the trigger event on the power sweep.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Vernier | Trigger position -30.0 to 30.0 (0.0 = left, 5.0 = middle, 10.0 = Right). |
EXPORT int PwrSnsr_GetUnits | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrUnitsEnum * | Units | ||
) |
Get units for the selected channel.
Voltage is calculated with reference to the sensor input impedance. Note that for ratiometric results, logarithmic units will always return dBr (dB relative) while linear units return percent.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Units |
int EXPORT PwrSnsr_GetVerticalCenter | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | VerticalCenter | ||
) |
Gets vertical center based on current units: <arg> = (range varies by units)
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
VerticalCenter | Vertical center in units |
int EXPORT PwrSnsr_GetVerticalScale | ( | SessionID | Vi, |
const char * | Channel, | ||
float * | VerticalScale | ||
) |
Gets vertical scale based on current units: <arg> = (range varies by units)
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
VerticalCenter | Vertical scale in units |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
WriteProtection | Returns trueif the measurement buffer is allowed to overwrite members that have not been read by the user. |
EXPORT int PwrSnsr_init | ( | char * | ResourceName, |
SessionID * | Vi | ||
) |
Initialize a communication session with a supported USB power sensor.
ResourceName | Name of the resource. The resource descriptor is in the following format: USB::[VID]::[PID]::[Serial Number]::BTN Where serial number is the USB power meter’s serial number in decimal format, and the VID and PID are in hexidecimal format. e.g. For serial number 1234, VID of 0x1bfe and PID of 0x5500: USB::0x1BFE::0x5500::1234::BTN Multiple channel synthetic meters can be defined by combining more than one descriptor separated by a semicolon. Channel assignment is determined by the order in the list, in other words CH1 would be the first listed resource, CH2 the second resource, etc. e.g. Define a synthetic peak power meter using serial number 1234 for CH1 and serial number 4242 for CH2: USB::0x1BFE::0x5500::1234::BTN;USB::0x1BFE::0x5500::4242::BTN |
EXPORT int PwrSnsr_InitiateAquisition | ( | SessionID | Vi | ) |
Starts a single measurement cycle when INITiate:CONTinuous is set to OFF.
In Modulated Mode, the measurement will complete once the power has been integrated for the full FILTer time. In Pulse Mode, enough trace sweeps must be triggered to satisfy the AVERaging setting. In Statistical Mode, acquisition stops once the terminal condition(s) are met. In each case, no reading will be returned until the measurement is complete. This command is not valid when INITiate:CONTinuous is ON, however, by convention this situation does not result in a SCPI error
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
EXPORT int PwrSnsr_IsLicenseDongleConnected | ( | int * | val | ) |
Get whether the hardware license dongle is connected.
val | Boolean. 1 for connected or 0 for not connected. |
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, one is created.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MemChan | Memory channel name. Must have the form MEM1...n, where n is the number of measurement channels. In single channel configurations, this parameter should always be "MEM1". |
ArchiveContent | An xml document containing settings and readings obtained using the SaveToMemoryChannel method. An archive can be obtained using the GetMemChanArchive method. |
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. Instrument remains stopped in Modulated Mode after a measurement.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. |
Val | Average power in dBm |
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. Instrument remains stopped in Modulated Mode after a measurement.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. |
Val | Average voltage in linear volts. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ValBufferSize | Size of the buffer in elements. |
Val | Array of average power measurements. |
ValActualSize | Actual size of the returned array in elements. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ValBufferSize | Size of the buffer. |
Val | Array of buffered measurement durations. |
ValActualSize | Actual size of the returned array in elements. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ValBufferSize | Size of the buffer. |
Val | Array of max measurements. |
ValActualSize | Actual size of the returned array in elements. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ValBufferSize | Size of the buffer. |
Val | Array of min measurements. |
ValActualSize | Actual size of the returned array in elements. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ValBufferSize | Size of the buffer. |
Val | Array of sequence numbers. |
ValActualSize | Actual size of the returned array in elements. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
ValBufferSize | Size of the buffer. |
Val | Array of start times in seconds. |
ValActualSize | Actual size of the returned array in elements. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
AvgPower | Average power between the markers. |
AvgPowerCondCode | Condition code. |
MaxPower | Maximum power between the markers. |
MaxPowerCondCode | Condition code. |
MinPower | Minimum power between the markers. |
MinPowerCondCode | Condition code. |
PkToAvgRatio | The ratio of peak to average power between the markers. |
PkToAvgRatioCondCode | Condition code. |
Marker1Power | The power at Marker 1. |
Marker1PowerCondCode | Condition code. |
Marker2Power | The power at Marker 2. |
Marker2PowerCondCode | Condition code. |
MarkerRatio | Ratio of power at Marker 1 and power at Marker 2. |
MarkerRatioCondCode | Condition code. |
EXPORT int PwrSnsr_ReadByteArray | ( | SessionID | Vi, |
const char * | Channel, | ||
int | Count, | ||
int | ValBufferSize, | ||
unsigned char | Val[], | ||
int * | ValActualSize | ||
) |
Reads byte array from the meter.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Count | Maximum count of bytes to return. |
ValBufferSize | Size of the buffer. |
Val | Byte array from the USB. |
ValActualSize | Actual size of the returned array in bytes. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Count | Maximum count to return. |
ValBufferSize | Size of the buffer. |
Val | Byte array from a USB control transfer. |
ValActualSize | Actual size of the returned array in bytes. |
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 specified channel. Units are the same as the channel's units. Note the peak-to-average ratio and marker ratio are returned in dB for logarithmic channel units, and percent for all other channel units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
PeakAverage | Average power of the peak power envelope. |
PeakAverageValid | Condition code. |
PeakMax | Maximum power of the peak power envelope. |
PeakMaxValid | Condition code. |
PeakMin | Minimum power of the peak power envelope. |
PeakMinValid | Condition code. |
PeakToAvgRatio | Peak to average ratio. |
PeakToAvgRatioValid | Condition code. |
EXPORT int PwrSnsr_ReadCWPower | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrCondCodeEnum * | IsValid, | ||
float * | Val | ||
) |
Initiates a CW power acquisition and returns the result in channel units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
IsValid | Condition code. |
Val | Measurement value. |
EXPORT int PwrSnsr_ReadDutyCycle | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrCondCodeEnum * | CondCode, | ||
float * | Val | ||
) |
Returns the ratio of the pulse on-time to off-time.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 on the waveform.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 of the proximal line.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 first nominal state from which a pulse departs and to which it ultimately returns.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 nominal state of a pulse.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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. The units will be the same as the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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. The units will be the same as the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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. The units will be the same as the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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. The units will be the same as the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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. The units will be the same as the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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. The units are dB for logarithmic channel units or percent for linear channel units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Marker | Marker number. |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Marker | Marker number. |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 the specified channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Marker | Marker number. |
CondCode | Condition code for the measurement. Condition code. |
Val | measurement value. |
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 units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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).
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 dB or percent, depending on the channel units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
EXPORT int PwrSnsr_ReadPeriod | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrCondCodeEnum * | CondCode, | ||
float * | Val | ||
) |
Returns the interval between two successive pulses.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 waveform.
Measurements performed are: peak amplitude during the pulse, average amplitude over a full cycle of the
pulse waveform, average amplitude during the pulse, IEEE top amplitude, IEEE bottom amplitude, and overshoot.
Units are the same as the channel's units. Note the pulse overshoot is returned in dB for logarithmic channel units,
and percent for all other units. Also, the pulse ON interval used for peak and average calculations is
defined by the SENSe:PULSe:STARTGT and :ENDGT time gating settings.
A full pulse (rise and fall) must be visible on the display to make average and peak pulse power measurements,
and a full cycle of the waveform must be visible to calculate average cycle amplitude.
Channel | Channel number. For single instruments, set this to "CH1". |
PulsePeak | The peak amplitude during the pulse. |
PulsePeakValid | Condition code. |
PulseCycleAvg | Average cycle amplitude. |
PulseCycleAvgValid | Condition code. |
PulseOnAvg | Average power of the ON portion of the pulse. |
PulseOnValid | Condition code. |
IEEETop | The IEEE-defined top line, i.e. the portion of a pulse waveform, which represents the second nominal state of a pulse. |
IEEETopValid | Condition code. |
IEEEBottom | The IEEE-define base line, i.e. The two portions of a pulse waveform which represent the first nominal state from which a pulse departs and to which it ultimately returns. |
IEEEBottomValid | Condition code. |
Overshoot | The difference between the distortion following a major transition and the IEEE top line in dB or percent,depending on the channel units. |
OvershootValid | Condition code. |
Droop | Pulse droop. |
DroopValid | Condition code. |
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 Frequency).
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
EXPORT int PwrSnsr_ReadPulseCycleAvg | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrCondCodeEnum * | CondCode, | ||
float * | Val | ||
) |
Returns the average power of the entire pulse.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
EXPORT int PwrSnsr_ReadPulseOnAverage | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrCondCodeEnum * | CondCode, | ||
float * | Val | ||
) |
Average power of the ON portion of the pulse.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
EXPORT int PwrSnsr_ReadPulsePeak | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrCondCodeEnum * | CondCode, | ||
float * | Val | ||
) |
Returns the peak amplitude during the pulse.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
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 crossing of the distal line.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
EXPORT int PwrSnsr_ReadSCPI | ( | SessionID | Vi, |
int | ValueBufferSize, | ||
long * | ValueActualSize, | ||
char | Value[], | ||
int | Timeout | ||
) |
Read a SCPI string response from the instrument.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
ValueBufferSize | Number of elements in Value. |
ValueActualSize | Number of elements actually written to Value. |
Value | The string returned from the instrument SCPI interface. |
Timeout | Time out in milliseconds for the read operation. Use -1 for infinite and -2 to use the existing time out value. |
EXPORT int PwrSnsr_ReadSCPIBytes | ( | SessionID | Vi, |
int | ValueBufferSize, | ||
char | Value[], | ||
long * | ValueActualSize, | ||
int | Timeout | ||
) |
Read a SCPI byte array response from the instrument.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
ValueBufferSize | Number of elements in Value. |
Value | The byte array returned from the instrument SCPI interface. |
ValueActualSize | |
Timeout | Time out in milliseconds for the read operation. Use -1 for infinite and -2 to use the existing time out value. Time out in milliseconds for the read operation. Use -1 for infinite and -2 to use the existing time out value. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
name | Name of the parser. If parser doesn't exist, returns PWR_SNSR_ERROR_NULL_POINTER. PwrSnsr_SendSCPIToNamedParser can be used to create a named parser. |
ValueBufferSize | Number of elements in Value. |
ValueActualSize | Number of elements actually written to Value. |
Value | The string returned from the instrument SCPI interface. |
Timeout | Time out in milliseconds for the read operation. Use -1 for infinite and -2 to use the existing time out value. |
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.
Measurements performed are: the frequency, period, width, offtime and duty cycle of the pulse waveform, and the risetime and falltime of the edge transitions. For each of the measurements to be performed, the appropriate items to be measured must within the trace window. Pulse frequency, period, offtime and duty cycle measurements require that an entire cycle of the pulse waveform (minimum of three edge transitions) be present. Pulse width measurement requires that at least one full pulse is visible, and is most accurate if the pulse width is at least 0.4 divisions. Risetime and falltime measurements require that the edge being measured is visible, and will be most accurate if the transition takes at least 0.1 divisions. It is always best to have the power meter set on the fastest timebase possible that meets the edge visibility restrictions. Set the trace averaging as high as practical to reduce fluctuations and noise in the pulse timing measurements. Note that the timing of the edge transitions is defined by the settings of the SENSe:PULSe:DISTal, :MESIal and :PROXimal settings; see the descriptions For those commands. Units are the same as the channel's units.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Frequency | The number of cycles of a repetitive signal that take place in one second (Pulse Repetition Frequency). |
FrequencyValid | Condition code. |
Period | The interval between two successive pulses. |
PeriodValid | Condition code. |
Width | The interval between the first and second signal crossings of the mesial line. |
WidthValid | Condition code. |
Offtime | The time a repetitive pulse is off. (Equal to the pulse period minus the pulse width). |
OfftimeValid | Condition code. |
DutyCycle | The ratio of the pulse on-time to period. |
DutyCycleValid | Condition code. |
Risetime | The interval between the first signal crossing of the proximal line to the first signal crossing of the distal line. |
RisetimeValid | Condition code. |
Falltime | The interval between the last signal crossing of the distal line to the last signal crossing of the proximal line. |
FalltimeValid | Condition code. |
EdgeDelay | Time offset from the trigger reference to the first mesial transition level of either slope on the waveform. |
EdgeDelayValid | Condition code. |
Skew | The trigger offset between the assigned trigger channel and this channel. |
SkewValid | Condition code. |
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 complete, and returns the waveform for this channel. Call FetchWaveform to obtain the waveforms for other channels.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
WaveformArrayBufferSize | Size in bytes of the Waveform buffer. |
WaveformArray | The array contains the average waveform. Units for the individual array elements are in the channel units setting. |
WaveformArrayActualSize | Size in bytes of the data written to WaveformArray. |
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 complete, and returns the min/max waveforms for this channel. Call FetchMinMaxWaveform to obtain the min/max waveforms for other channels.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
MinWaveformBufferSize | Size in bytes of the MinWaveform buffer. |
MinWaveform | This array contains the min waveform. Units for the individual array elements are in the channel units setting. |
MinWaveformActualSize | Size in bytes of the data written to MinWaveform. |
MaxWaveformBufferSize | Size in bytes of the MaxWaveform buffer. |
MaxWaveform | This array contains the max waveform. Units for the individual array elements are in the channel units setting. |
MaxWaveformActualSize | Size in bytes of the data written to MaxWaveform. |
WaveformArrayBufferSize | Size in bytes of the Waveform buffer. |
WaveformArray | The array contains the average waveform. Units for the individual array elements are in the channel units setting. |
WaveformArrayActualSize | Size in bytes of the data written to WaveformArray. |
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 mesial line.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CondCode | Condition code for the measurement. Condition code. |
Val | Measurement value. |
EXPORT int PwrSnsr_reset | ( | SessionID | Vi | ) |
Places the instrument in a known state.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
EXPORT int PwrSnsr_ResetContinuousCapture | ( | SessionID | Vi | ) |
Sets a flag indicating to restart continuous capture. This method allows the user to restart continuous acquisition. Has no effect if ContinuousCapture is set to false.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
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, a new one is created.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MemChan | Memory channel name. Must have the form MEM1...n, where n is the number of measurement channels. In single channel configurations, this parameter should always be "MEM1". |
Channel | The channel name to copy from. |
EXPORT int PwrSnsr_SaveUserCal | ( | SessionID | Vi, |
const char * | Channel | ||
) |
Instructs power meter to save the value of fixed cal, zero, and skew values.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
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 instrument for the results. If the instrument passes the test, TestResult is 0.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
TestResult | Error or success code. |
EXPORT int PwrSnsr_SendSCPIBytes | ( | SessionID | Vi, |
int | CommandBufferSize, | ||
char | Command[] | ||
) |
Send a SCPI command as a byte array.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
CommandBufferSize | Number of elements in Command. |
Command | Command to send. |
EXPORT int PwrSnsr_SendSCPICommand | ( | SessionID | Vi, |
const char * | Command | ||
) |
Send a SCPI command to the instrument.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Command |
EXPORT int PwrSnsr_SendSCPIToNamedParser | ( | SessionID | Vi, |
const char * | name, | ||
const char * | Command | ||
) |
Send a SCPI command to the instrument using a named SCPI parser.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
name | Name of the parser. Creates a new parser if the name is not already used. |
Command |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Average |
EXPORT int PwrSnsr_SetBandwidth | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrBandwidthEnum | Bandwidth | ||
) |
Set the sensor video bandwidth for the selected sensor.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Bandwidth |
EXPORT int PwrSnsr_SetCalFactor | ( | SessionID | Vi, |
const char * | Channel, | ||
float | CalFactor | ||
) |
Set the frequency calibration factor currently in use on the selected channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
CalFactor |
EXPORT int PwrSnsr_SetCapture | ( | SessionID | Vi, |
const char * | Channel, | ||
int | Capture | ||
) |
Set whether statistical capture is enabled.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Capture |
EXPORT int PwrSnsr_SetCCDFTraceCount | ( | SessionID | Vi, |
const char * | Channel, | ||
int | TraceCount | ||
) |
Set the number of points (1 - 16384) in the CCDF trace plot.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TraceCount |
EXPORT int PwrSnsr_SetContinuousCapture | ( | SessionID | Vi, |
int | ContinuousCapture | ||
) |
Set whether AcquireMeasurements will stop the measurement buffer session or continue capturing measurement buffer entries after being called.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
ContinuousCapture | True to set whether AcquireMeasurements will stop the measurement buffer session or continue capturing measurement buffer entries after being called. |
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 a falling edge transition.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Distal |
EXPORT int PwrSnsr_SetDuration | ( | SessionID | Vi, |
float | Duration | ||
) |
Set the duration samples are captured during each timed mode acquisition.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Duration | The duration samples are captured during each timed mode acquisition in seconds. |
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 measurements; when the value is false, the channel is disabled and no measurements are performed.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Enabled | Boolean. 1 for enable; 0 for disable. |
EXPORT int PwrSnsr_SetEndDelay | ( | SessionID | Vi, |
float | EndDelay | ||
) |
Set delay time added to the detected end of a burst for analysis. Typically negative. Typically used to exclude the falling edge of a burst.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
EndDelay | Delay time added to the detected end of a burst for analysis. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
EndGate |
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 burst.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
EndQual | The minimum amount of time power remains below the trigger point to be counted as the end of a burst. |
EXPORT int PwrSnsr_SetExternalSkew | ( | SessionID | Vi, |
const char * | Channel, | ||
float | External | ||
) |
Sets the skew in seconds for the external trigger.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
External | Trigger skew in seconds (-1e-6 to 1e-6). |
EXPORT int PwrSnsr_SetFetchLatency | ( | SessionID | Vi, |
int | Latency | ||
) |
Set the period the library waits to update fetch measurements in ms.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Latency | Fetch latency in ms. |
EXPORT int PwrSnsr_SetFilterState | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrFilterStateEnum | FilterState | ||
) |
Set the current setting of the integration filter on the selected channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
FilterState |
EXPORT int PwrSnsr_SetFilterTime | ( | SessionID | Vi, |
const char * | Channel, | ||
float | FilterTime | ||
) |
Set the current length of the integration filter on the selected channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
FilterTime |
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 from the sensor internal table.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Frequency | RF Frequency in Hz. |
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 entry time interval.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
GateMode | Buffer gate mode that defines the start and end of the entry time interval. |
EXPORT int PwrSnsr_SetGating | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrStatGatingEnum | Gating | ||
) |
Set whether the statical capture is gated by markers or free-running.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Gating |
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 edge of the scale with units dBr (decibels relative).
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
HorizontalOffset |
EXPORT int PwrSnsr_SetHorizontalScale | ( | SessionID | Vi, |
const char * | Channel, | ||
double | HorizontalScale | ||
) |
Set the statistical mode horizontal scale in dB/Div.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
HorizontalScale |
EXPORT int PwrSnsr_SetInitiateContinuous | ( | SessionID | Vi, |
int | InitiateContinuous | ||
) |
Set the data acquisition mode for single or free-run measurements.
If INITiate:CONTinuous is set to ON, the instrument immediately begins taking measurements (Modulated, CW and Statistical Modes), or arms its trigger and takes a measurement each time a trigger occurs (Pulse Mode). If set to OFF, the measurement will begin (or be armed) as soon as the INITiate command is issued, and will stop once the measurement criteria (averaging, filtering or sample count) has been satisfied. Note that INITiate:IMMediate and READ commands are invalid when INITiate:CONTinuous is set to ON; however, by convention this situation does not result in a SCPI error.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
InitiateContinuous | Boolean. 0 for off or 1 for on. |
EXPORT int PwrSnsr_SetInternalSkew | ( | SessionID | Vi, |
const char * | Channel, | ||
float | InternalSkew | ||
) |
Sets the skew in seconds for the internal trigger.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
InternalSkew | Trigger skew in seconds (-1e-6 to 1e-6). |
EXPORT int PwrSnsr_SetMarkerPixelPosition | ( | SessionID | Vi, |
int | MarkerNumber, | ||
int | PixelPosition | ||
) |
Set the horizontal pixel position (X-axis-position) of the selected vertical marker. There are 501 pixel positions numbered from 0 to 500 inclusive.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MarkerNumber | |
PixelPosition |
EXPORT int PwrSnsr_SetMarkerTimePosition | ( | SessionID | Vi, |
int | MarkerNumber, | ||
float | TimePosition | ||
) |
Set the time (x-axis-position) of the selected marker relative to the trigger.
Note that time markers must be positioned within the time limits of the trace window in the graph display. If a time outside of the display limits is entered, the marker will be placed at the first or last time position as appropriate.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MarkerNumber | |
TimePosition |
EXPORT int PwrSnsr_SetMeasBuffEnabled | ( | SessionID | Vi, |
int | MeasBuffEnabled | ||
) |
Enable or disable the measurement buffer. Disabling the measurement buffer enables modulated/CW measurements. Conversely, enabling it disables modulated/CW measurements.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
MeasBuffEnabled | True to enable measurement buffer, false to disable. |
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 falling edge transition.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Mesial |
EXPORT int PwrSnsr_SetOffsetdB | ( | SessionID | Vi, |
const char * | Channel, | ||
float | OffsetdB | ||
) |
Set a measurement offset in dB for the selected sensor.
This setting is used to compensate for external couplers, attenuators or amplifiers in the RF signal path ahead of the power sensor.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
OffsetdB |
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 selected channel.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
EnvelopeAverage | Peak hold decay value. |
EXPORT int PwrSnsr_SetPeakHoldTracking | ( | SessionID | Vi, |
const char * | Channel, | ||
int | EnvelopeTracking | ||
) |
Sets whether peak hold decay automatically tracks trace averaging. If set to true, the peak hold decay and trace averaging values are the same. If set to false, peak hold decay is indepedent.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
EnvelopeTracking | Boolean value. True to set peak hold tracking on. |
EXPORT int PwrSnsr_SetPercentPosition | ( | SessionID | Vi, |
const char * | Channel, | ||
double | PercentPosition | ||
) |
Set the cursor percent on the CCDF plot.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
PercentPosition |
EXPORT int PwrSnsr_SetPeriod | ( | SessionID | Vi, |
float | Period | ||
) |
Set the period each timed mode acquisition (measurement buffer) is started.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Period | The period in seconds each timed mode acquisition is started. |
EXPORT int PwrSnsr_SetPowerPosition | ( | SessionID | Vi, |
const char * | Channel, | ||
double | PowerPosition | ||
) |
Set the cursor power in dB on the CCDF plot.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
PowerPosition |
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 a falling edge transition.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Proximal |
EXPORT int PwrSnsr_SetPulseUnits | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrPulseUnitsEnum | PwrSnsrPulseUnitsEnum | ||
) |
Set the units for entering the pulse distal, mesial and proximal levels.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
PwrSnsrPulseUnitsEnum |
EXPORT int PwrSnsr_SetRdgsEnableFlag | ( | SessionID | Vi, |
int | Flag | ||
) |
Set the flag indicating which measurement buffer arrays will be read when calling PwrSnsr_AcquireMeasurements.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Flag | Bit masked value indicating which measurement arrays will be queried (see PwrSnsrRdgsEnableFlag). |
EXPORT int PwrSnsr_SetReturnCount | ( | SessionID | Vi, |
int | ReturnCount | ||
) |
Set the return count for each measurement query.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
ReturnCount | The return count for each measurement query. |
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 acquire measurements.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
SessionCount | Set the count of elements for this measurement buffer session. Set to 0 for the meter to continuously acquire measurements. |
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 acquire measurements.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Seconds | Set the time out value. Values less than or equal to 0 will be treated as infinite. Valid range : 0.001 to 1000 |
EXPORT int PwrSnsr_SetSlaveSkew | ( | SessionID | Vi, |
const char * | Channel, | ||
float | SlaveSkew | ||
) |
Sets the skew in seconds for the slave trigger.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
SlaveSkew | Trigger skew in seconds (-1e-6 to 1e-6). |
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 rising edge of a burst.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
StartDelay | Delay time in seconds added to the detected beginning of a burst for analysis. |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
StartGate |
EXPORT int PwrSnsr_SetStartMode | ( | SessionID | Vi, |
PwrSnsrMeasBuffStartModeEnum | StartMode | ||
) |
Set the mode used to start acquisition of buffer entries.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
StartMode | Mode used to start acquisition of buffer entries. |
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 of a burst.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
StartQual | The minimum amount of time power remains above the trigger point to be counted as the beginning of a burst. |
EXPORT int PwrSnsr_SetTempComp | ( | SessionID | Vi, |
const char * | Channel, | ||
int | TempComp | ||
) |
Set the state of the peak sensor temperature compensation system.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TempComp | Boolean. 1 for on; 0 for off. |
EXPORT int PwrSnsr_SetTermAction | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrTermActionEnum | TermAction | ||
) |
Set the termination action for statistical capturing.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TermAction |
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, the action determined by TermAction is taken.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TermCount |
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, the action determined by TermAction is taken.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
TermTime |
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 (or max timebase) in a 1-2-5 sequence,.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Timebase |
EXPORT int PwrSnsr_SetTimeOut | ( | SessionID | Vi, |
long | Milliseconds | ||
) |
Sets the time out in milliseconds for I/O.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Milliseconds | Time out in milliseconds. Use -1 for infinite time out. |
EXPORT int PwrSnsr_SetTimespan | ( | SessionID | Vi, |
float | Timespan | ||
) |
Set the horizontal time span of the trace in pulse mode. Time span = 10* Time/Division. Value = 5e-8 to 100e-3 sec in a 1-2-5 sequence.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Timespan |
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 in the LEFT position.
Positive values cause the actual trigger to occur after the trigger condition is met. This places the trigger event to the left of the trigger point on the display, and is useful for viewing events during a pulse, some fixed delay time after the rising edge trigger. Negative trigger delay places the trigger event to the right of the trigger point on the display, and is useful for looking at events before the trigger edge.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Delay |
EXPORT int PwrSnsr_SetTrigHoldoff | ( | SessionID | Vi, |
float | Holdoff | ||
) |
Sets the trigger holdoff time in seconds.
Trigger holdoff is used to disable the trigger for a specified amount of time after each trigger event. The holdoff time starts immediately after each valid trigger edge, and will not permit any new triggers until the time has expired. When the holdoff time is up, the trigger re-arms, and the next valid trigger event (edge) will cause a new sweep. This feature is used to help synchronize the power meter with burst waveforms such as a TDMA or GSM frame. The trigger holdoff resolution is 10 nanoseconds, and it should be set to a time that is just slightly shorter than the frame repetition interval.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Holdoff |
EXPORT int PwrSnsr_SetTrigHoldoffMode | ( | SessionID | Vi, |
PwrSnsrHoldoffModeEnum | HoldoffMode | ||
) |
Sets the holdoff mode to normal or gap holdoff.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
HoldoffMode | Holdoff mode. |
EXPORT int PwrSnsr_SetTrigLevel | ( | SessionID | Vi, |
float | Level | ||
) |
Set the trigger level for synchronizing data acquisition with a pulsed input signal.
The internal trigger level entered should include any global offset and will also be affected by the frequency cal factor. The available internal trigger level range is sensor dependent. The trigger level is set and returned in dBm. This setting is only valid for normal and auto trigger modes.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Level | Trigger level in dBm. |
EXPORT int PwrSnsr_SetTrigMode | ( | SessionID | Vi, |
PwrSnsrTriggerModeEnum | Mode | ||
) |
Set the trigger mode for synchronizing data acquisition with pulsed signals.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Mode | Trigger mode. |
EXPORT int PwrSnsr_SetTrigOutMode | ( | SessionID | Vi, |
const char * | Channel, | ||
int | Mode | ||
) |
Sets the trigger out/mult io mode. Setting trigger mode overrides this command.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Mode | Trigger out/multi IO mode |
EXPORT int PwrSnsr_SetTrigPosition | ( | SessionID | Vi, |
PwrSnsrTriggerPositionEnum | Position | ||
) |
Set the position of the trigger event on displayed sweep.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Position | Trigger position. |
EXPORT int PwrSnsr_SetTrigSlope | ( | SessionID | Vi, |
PwrSnsrTriggerSlopeEnum | Slope | ||
) |
Sets the trigger slope or polarity.
When set to positive, trigger events will be generated when a signal rising edge crosses the trigger level threshold. When negative, trigger events are generated on the falling edge of the pulse.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Slope |
EXPORT int PwrSnsr_SetTrigSource | ( | SessionID | Vi, |
PwrSnsrTriggerSourceEnum | Source | ||
) |
Get the signal the power meter monitors for a trigger. It can be channel external input, or independent.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Source |
EXPORT int PwrSnsr_SetTrigVernier | ( | SessionID | Vi, |
float | Vernier | ||
) |
Set the fine position of the trigger event on the power sweep.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Vernier | Trigger position -30.0 to 30.0 (0.0 = left, 5.0 = middle, 10.0 = Right). |
EXPORT int PwrSnsr_SetUnits | ( | SessionID | Vi, |
const char * | Channel, | ||
PwrSnsrUnitsEnum | Units | ||
) |
Set units for the selected channel.
Voltage is calculated with reference to the sensor input impedance. Note that for ratiometric results, logarithmic units will always return dBr (dB relative) while linear units return percent.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Units |
int EXPORT PwrSnsr_SetVerticalCenter | ( | SessionID | Vi, |
const char * | Channel, | ||
float | VerticalCenter | ||
) |
Sets vertical center based on current units: <arg> = (range varies by units)
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
VerticalCenter | Vertical center in units |
int EXPORT PwrSnsr_SetVerticalScale | ( | SessionID | Vi, |
const char * | Channel, | ||
float | VerticalScale | ||
) |
Sets vertical scale based on current units: <arg> = (range varies by units)
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
VerticalCenter | Vertical scale in units |
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.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
WriteProtection | Set false to allow the measurement buffer to overwrite entries that have not been read by the user. |
EXPORT int PwrSnsr_StartAcquisition | ( | SessionID | Vi | ) |
Starts measurement buffer acquisition. This method allows the user to send a command to the power meter to begin buffering measurements without waiting for all measurements to be completed. Alternately, you can call the AcquireReadings method to start buffering measurements and wait for them to be read from the meter.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
EXPORT int PwrSnsr_StatModeReset | ( | SessionID | Vi, |
const char * | Channel | ||
) |
Resets statistical capturing mode by clearing the buffers and restarting the aquisition timer.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
EXPORT int PwrSnsr_Status | ( | SessionID | Vi, |
PwrSnsrAcquisitionStatusEnum * | Val | ||
) |
Returns whether an acquisition is in progress, complete, or if the status is unknown.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Val | Status out parameter. |
EXPORT int PwrSnsr_StopAcquisition | ( | SessionID | Vi | ) |
Sends a command to stop the measurement buffer from acquiring readings.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
EXPORT int PwrSnsr_Write | ( | SessionID | Vi, |
const char * | Channel, | ||
int | DataBufferSize, | ||
unsigned char | Data[] | ||
) |
Write a byte array to the meter.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
DataBufferSize | Size of the buffer in bytes. |
Data | Data to send. |
EXPORT int PwrSnsr_Zero | ( | SessionID | Vi, |
const char * | Channel | ||
) |
Performs a zero offset null adjustment.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
EXPORT int PwrSnsr_ZeroQuery | ( | SessionID | Vi, |
const char * | Channel, | ||
int * | Val | ||
) |
Performs a zero offset null adjustment and returns true if successful.
Vi | The SessionID handle that you obtain from the PwrSnsr_init function. The handle identifies a particular instrument session. |
Channel | Channel number. For single instruments, set this to "CH1". |
Val | Boolean value for operation success or failure. |