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)
Syntaxpublic double MeasurePinDelay(
IPinObject TriggerPin,
uint TriggerDrivePolarity,
IPinObject BusyPin,
uint Timeout
)
Public Function MeasurePinDelay (
TriggerPin As IPinObject,
TriggerDrivePolarity As UInteger,
BusyPin As IPinObject,
Timeout As UInteger
) As Double
public:
double MeasurePinDelay(
IPinObject^ TriggerPin,
unsigned int TriggerDrivePolarity,
IPinObject^ BusyPin,
unsigned int Timeout
)
member MeasurePinDelay :
TriggerPin : IPinObject *
TriggerDrivePolarity : uint32 *
BusyPin : IPinObject *
Timeout : uint32 -> float
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:
DoubleThe delay time, in ms
See Also