Difference between revisions of "API Scope.AddBuffer"
From Flowcode Help
Jump to navigationJump to search (XML Import to change Variable types into Variable Types) |
(XML import of updated API docs) |
||
Line 1: | Line 1: | ||
+ | |||
+ | |||
<sidebar>API contents</sidebar> | <sidebar>API contents</sidebar> | ||
Adds a fixed-view stream to the given group suitable for inputs and operations | Adds a fixed-view stream to the given group suitable for inputs and operations | ||
Line 38: | Line 40: | ||
* Add to a calculation icon: <pre class="brush:[cpp]">result = ::Scope.AddBuffer(grouph, "name", clkstep, samples)</pre> | * Add to a calculation icon: <pre class="brush:[cpp]">result = ::Scope.AddBuffer(grouph, "name", clkstep, samples)</pre> | ||
− | ''<span style="color:red;">No additional | + | ''<span style="color:red;">No additional examples</span>'' |
Revision as of 09:58, 17 June 2013
<sidebar>API contents</sidebar>
Adds a fixed-view stream to the given group suitable for inputs and operations
Contents
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
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 examples