API Scope.AddBuffer

From Flowcode Help
Revision as of 13:51, 29 May 2013 by JonnyW (talk | contribs) (XML import of latest API)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search


<sidebar>API contents</sidebar> Adds a fixed-view stream to the given group suitable for inputs and operations

Class hierarchy

Scope

AddBuffer

Parameters

HANDLE GroupH

A handle to a previously created datascope group

STRING Name

The cosmetic name to display for the stream

FLOAT ClkStep

Clock increment per-sample of the buffer

UINT Samples

Number of samples to store in the buffer


Return value

HANDLE

No additional information


Detailed description

No additional information


Examples

Calling in a calculation

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon:
    result = ::Scope.AddBuffer(grouph, "name", clkstep, samples)

No additional information