Admin Production ni-theme
Current Publication

CNSDataCreateScalar

LabWindows/CVI

CNSDataCreateScalar

int CNSDataCreateScalar (CNSType dataType, CNSData *data, ...);

Purpose

Creates a network stream data object containing a scalar element.

Parameters

Input
Name Type Description
dataType CNSType The data type of the network stream data object you want to create.
value ... The data that you want to pack inside 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