Admin Production ni-theme
Current Publication

CNSDataCreateStruct

LabWindows/CVI

CNSDataCreateStruct

int CNSDataCreateStruct (CNSData fields[], size_t numFields, CNSData *data);

Purpose

Creates a network stream data object containing a structure.

Parameters

Input
Name Type Description
fields CNSData [] The fields of the structure you want to create.
numFields size_t The number of struct fields in the network stream data object.
Output
Name Type Description
data CNSData A reference to the network stream data object you created.

Return Value

Name Type Description
error int An error code returned by a Network Streams Library function.

Additional Information

Library: Network Streams Library

Include file: cvinetstreams.h

LabWindows/CVI compatibility: LabWindows/CVI 2013 and later