Click or drag to resize

FX3ConnectionMeasurePinDelay Method

This function measures the time delay between toggling a trigger pin, and a state change on the busy pin. This can be used to measure the propagation delay between a sync edge and data ready being de-asserted.

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

Parameters

TriggerPin
Type: IPinObject
The pin to toggle. When this pin is driven to the selected polarity the delay timer starts
TriggerDrivePolarity
Type: SystemUInt32
The polarity to drive the trigger pin to. 1- high, 0 - low
BusyPin
Type: IPinObject
The pin to measure.
Timeout
Type: SystemUInt32
Operation timeout period, in ms

Return Value

Type: Double
The delay time, in ms
See Also