Admin Production ni-theme
Current Publication

CNVGetProcesses

LabWindows/CVI

CNVGetProcesses

int CNVGetProcesses (char ***processes, int *numberOfProcesses);

Purpose

Obtains the names of the network variable processes in the current system.

Parameters

Output
Name Type Description
processes char ** Returns an array containing the names of network variable processes in the current system. CNVGetProcesses allocates memory for the array. The numProcesses parameter returns the length of the allocated array. You must free each element of this array and the array itself using CNVFreeMemory.
numberOfProcesses int The number of network variable processes in the current system.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. One indicates that a next item was found, zero indicates that a next item was not found, and a negative number indicates that an error occurred.

You can call CNVGetErrorDescription to obtain a string that describes the error.

Additional Information

Library: Network Variable Library

Include file: cvinetv.h

LabWindows/CVI compatibility: LabWindows/CVI 8.5 and later