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)
Syntaxpublic double MeasureBusyPulse(
IPinObject TriggerPin,
uint TriggerDriveTime,
uint TriggerDrivePolarity,
IPinObject BusyPin,
uint BusyPolarity,
uint Timeout
)
Public Function MeasureBusyPulse (
TriggerPin As IPinObject,
TriggerDriveTime As UInteger,
TriggerDrivePolarity As UInteger,
BusyPin As IPinObject,
BusyPolarity As UInteger,
Timeout As UInteger
) As Double
public:
double MeasureBusyPulse(
IPinObject^ TriggerPin,
unsigned int TriggerDriveTime,
unsigned int TriggerDrivePolarity,
IPinObject^ BusyPin,
unsigned int BusyPolarity,
unsigned int Timeout
)
member MeasureBusyPulse :
TriggerPin : IPinObject *
TriggerDriveTime : uint32 *
TriggerDrivePolarity : uint32 *
BusyPin : IPinObject *
BusyPolarity : uint32 *
Timeout : uint32 -> float
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:
DoubleThe pulse width, in ms. Accurate to approx. 1us
See Also