Click or drag to resize

FX3ConnectionMeasureBusyPulse Method (IPinObject, UInt32, UInt32, IPinObject, UInt32, UInt32)

This function triggers a DUT action using a pulse drive, and then measures the following pulse width on a separate busy line. The pulse time on the busy pin is measured using a 10MHz timer with approx. 0.1us accuracy.

Namespace:  FX3Api
Assembly:  FX3Api (in FX3Api.dll) Version: 2.9.4.0 (2.9.4)
Syntax
public double MeasureBusyPulse(
	IPinObject TriggerPin,
	uint TriggerDriveTime,
	uint TriggerDrivePolarity,
	IPinObject BusyPin,
	uint BusyPolarity,
	uint Timeout
)

Parameters

TriggerPin
Type: IPinObject
The pin to drive for the trigger condition (for example a sync pin)
TriggerDriveTime
Type: SystemUInt32
The time, in ms, to drive the trigger pin for
TriggerDrivePolarity
Type: SystemUInt32
The polarity to drive the trigger pin at (0 - low, 1 - high)
BusyPin
Type: IPinObject
The pin to measure a busy pulse on
BusyPolarity
Type: SystemUInt32
The polarity of the pulse being measured (0 will measure a low pulse, 1 will measure a high pulse)
Timeout
Type: SystemUInt32
The timeout, in ms, to wait before canceling, if the pulse is never detected

Return Value

Type: Double
The pulse width, in ms. Accurate to approx. 1us
See Also