FX3ConnectionReadDRFreq Method |
Reads the measured DR value
Namespace:
FX3Api
Assembly:
FX3Api (in FX3Api.dll) Version: 2.9.4.0 (2.9.4)
Syntaxpublic double ReadDRFreq(
IPinObject pin,
uint polarity,
uint timeoutInMs
)
Public Function ReadDRFreq (
pin As IPinObject,
polarity As UInteger,
timeoutInMs As UInteger
) As Double
public:
double ReadDRFreq(
IPinObject^ pin,
unsigned int polarity,
unsigned int timeoutInMs
)
member ReadDRFreq :
pin : IPinObject *
polarity : uint32 *
timeoutInMs : uint32 -> float
Parameters
- pin
- Type: IPinObject
The DR pin to measure - polarity
- Type: SystemUInt32
The edge to measure from. 1 - low to high, 0 - high to low - timeoutInMs
- Type: SystemUInt32
The timeout from when the pin measurement starts to when the function returns if the signal cannot be found
Return Value
Type:
DoubleThe DR frequency in Hz
See Also