    

 ## On this page

  

 

 # SyscInputScalarData Struct Reference

 Last update: 17.07.2025 

Provide a struct for input scalar data. [More...](structSyscInputScalarData.xhtml#details)

`#include <<a class="el" href="syscInputScalarData_8h_source.xhtml">syscInputScalarData.h</a>>`

## <a id="pub-attribs" name="pub-attribs"></a>Data Fields

enum [SyscPrimitiveType](group__SyscParticipantLibraryCAPI.xhtml#gade3becc3625d881bdd988111e0895a3c) [primitiveType](structSyscInputScalarData.xhtml#ab177e62c0635afebce589c1a411144fe) void \* [data](structSyscInputScalarData.xhtml#a1a84599e793064d8c6275084ffe16cfe) size\_t [size](structSyscInputScalarData.xhtml#aab4ae5518bec7d42d01359b5459bf7e2) <a id="details" name="details"></a>## Detailed Description

Provide a struct for input scalar data.

Input scalar data provides read and write access to an array of scalar data.

To create and/or initialize [SyscInputScalarData](structSyscInputScalarData.xhtml "Provide a struct for input scalar data."), it is highly recommended to use one of the functions with names starting with `syscGetInputScalarData`. These functions will initialize all members to the correct values and will help to avoid back-compatibility issues in the future. For example:

[SyscInputScalarData](structSyscInputScalarData.xhtml) isd = [syscGetInputScalarDataDouble](group__SyscParticipantLibraryCAPI.xhtml#ga3b76afcedb8ced51695a0a56dabfb3af)(array, arraySize);

[syscGetInputScalarDataDouble](group__SyscParticipantLibraryCAPI.xhtml#ga3b76afcedb8ced51695a0a56dabfb3af)

SyscInputScalarData syscGetInputScalarDataDouble(double *const data, size_t dataSize)

Create an input scalar data access struct.



[SyscInputScalarData](structSyscInputScalarData.xhtml)

Provide a struct for input scalar data.

**Definition** [syscInputScalarData.h:40](syscInputScalarData_8h_source.xhtml#l00040)





Definition at line [40](syscInputScalarData_8h_source.xhtml#l00040) of file [syscInputScalarData.h](syscInputScalarData_8h_source.xhtml).



## Field Documentation

<a id="a1a84599e793064d8c6275084ffe16cfe" name="a1a84599e793064d8c6275084ffe16cfe"></a>## [◆ ](#a1a84599e793064d8c6275084ffe16cfe)data

 void\* SyscInputScalarData::data

Pointer to the data array.

Definition at line [42](syscInputScalarData_8h_source.xhtml#l00042) of file [syscInputScalarData.h](syscInputScalarData_8h_source.xhtml).





<a id="ab177e62c0635afebce589c1a411144fe" name="ab177e62c0635afebce589c1a411144fe"></a>## [◆ ](#ab177e62c0635afebce589c1a411144fe)primitiveType

 enum [SyscPrimitiveType](group__SyscParticipantLibraryCAPI.xhtml#gade3becc3625d881bdd988111e0895a3c) SyscInputScalarData::primitiveType

Primitive type.

Definition at line [41](syscInputScalarData_8h_source.xhtml#l00041) of file [syscInputScalarData.h](syscInputScalarData_8h_source.xhtml).





<a id="aab4ae5518bec7d42d01359b5459bf7e2" name="aab4ae5518bec7d42d01359b5459bf7e2"></a>## [◆ ](#aab4ae5518bec7d42d01359b5459bf7e2)size

 size\_t SyscInputScalarData::size

Array size.

Definition at line [43](syscInputScalarData_8h_source.xhtml#l00043) of file [syscInputScalarData.h](syscInputScalarData_8h_source.xhtml).