User manual
UniversitàdegliStudidiCatania
IntroductiontoNILabVIEW
LabVIEWG‐Language:Function&Interface
double myFunction (double* a, int size)
{
double result = 0;
int tempSize = size;
while (tempSize-->0)
result += *a++;
return result/size;
}
myFunction
int
double*
double
INPUTS
OUTPUTS
Black‐boxapproach;weonlyneedtheprototype
TheconnectionpaneofLabVIEW nodesplaysthe
sameroleofthefunctionprototypeina
traditionaltext‐basedprogramminglanguage
1Darrayofdouble
doublescalar
intscalar
DIEEI