Difference between revisions of "API Scope.GetOutputBlock"
From Flowcode Help
Jump to navigationJump to search (XML import of updated API docs) |
(XML import) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | <sidebar>API Contents</sidebar> | |
− | |||
− | <sidebar>API | ||
Gets a block of the output stream with each input sample operated on, returns number of samples read | Gets a block of the output stream with each input sample operated on, returns number of samples read | ||
Latest revision as of 15:57, 16 January 2014
<sidebar>API Contents</sidebar> Gets a block of the output stream with each input sample operated on, returns number of samples read
Contents
Parameters
HANDLE StreamH
- The stream that is to be read
LONG TimeUS
- The time offset to extract the history from, in microseconds
ULONG TimeStep
- The step in microseconds between each sample extracted
ULONG Samples
- The number of samples to extract - this will expand the array
FLOAT[] Buffer
- The buffer to read the sample data into
Return value
Returns the block of the output stream with each input sample operated on, returns number of samples read
Detailed description
No additional information
Examples
Calling in a calculation
- Declare a variable 'result' of type ULONG
- Add to a calculation icon:
result = ::Scope.GetOutputBlock(streamh, timeus, timestep, samples, _arraybuffer)
No additional examples