Difference between revisions of "API Scope.FindBaud"

From Flowcode Help
Jump to navigationJump to search
(XML import for latest API)
(No difference)

Revision as of 16:15, 12 November 2013


<sidebar>API Contents</sidebar> Attempts to calculate the baud given a series of transitions for the stream, returns calculated baud

Class hierarchy

Scope

FindBaud

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

ULONG

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