FX3ConnectionMeasureBusyPulse Method (Byte, IPinObject, UInt32, UInt32) |
Overload of measure busy pulse which triggers the DUT event using a SPI write instead of a pin drive.
Namespace:
FX3Api
Assembly:
FX3Api (in FX3Api.dll) Version: 2.9.4.0 (2.9.4)
Syntaxpublic double MeasureBusyPulse(
byte[] SpiTriggerData,
IPinObject BusyPin,
uint BusyPolarity,
uint Timeout
)
Public Function MeasureBusyPulse (
SpiTriggerData As Byte(),
BusyPin As IPinObject,
BusyPolarity As UInteger,
Timeout As UInteger
) As Double
public:
double MeasureBusyPulse(
array<unsigned char>^ SpiTriggerData,
IPinObject^ BusyPin,
unsigned int BusyPolarity,
unsigned int Timeout
)
member MeasureBusyPulse :
SpiTriggerData : byte[] *
BusyPin : IPinObject *
BusyPolarity : uint32 *
Timeout : uint32 -> float
Parameters
- SpiTriggerData
- Type: SystemByte
The data to transmit on the MOSI line, to trigger the operation being measured - 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