Admin Production ni-theme
Current Publication

CNSDataGetScalarValue

LabWindows/CVI

CNSDataGetScalarValue

int CNSDataGetScalarValue (CNSData data, void *value);

Purpose

Gets the value a network stream data object containing a scalar.

Parameters

Input
Name Type Description
data CNSData The reference to the network stream data object.
Output
Name Type Description
value void The reference to the scalar. If the data type is a string, you must call CNSFreeMemory to free it.

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