API Scope.SetBuffer

From Flowcode Help
Jump to navigationJump to search

<sidebar>API Contents</sidebar> Sets the contents of a snapshot stream

Class hierarchy

Scope

SetBuffer

Parameters

HANDLE StreamH

A handle to a previously created datascope buffer

ULONG ElemBase

The index to start writing the data to in the buffer
The default value for this parameter is: 0

ULONG ElemStep

The number of elements to tep after each write
The default value for this parameter is: 1

ARRAY Values

The buffer values to write, typically 0 to 1 floats

ULONG Elements

The max number of elements to write from Values
The default value for this parameter is: -1


Return value

This call does not return a value


Detailed description

No additional information


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Scope.SetBuffer(streamh, elembase, elemstep, _arrayvalues, elements)

No additional examples