API Scope.FindBaud
From Flowcode Help
Jump to navigationJump to search
<sidebar>API Contents</sidebar>
Attempts to calculate the baud given a series of transitions for the stream, returns calculated baud
Contents
Parameters
HANDLE StreamH
- The stream that is to be read
LONG TimeUS
- The time offset to start the calculation from, in microseconds
ULONG SearchMax
- The maximum number of microseconds to scan, +ve only
ULONG MinBaud
- A minimum value to consider for the baud
- The default value for this parameter is: 1
ULONG MaxBaud
- A maximum value to consider for the baud
- The default value for this parameter is: -1
Return value
Returns calculated baud
Detailed description
No additional information
Examples
Calling in a calculation
- Declare a variable 'result' of type ULONG
- Add to a calculation icon:
result = ::Scope.FindBaud(streamh, timeus, searchmax, minbaud, maxbaud)
No additional examples