User manual

UniversitàdegliStudidiCatania
IntroductiontoNILabVIEW
LabVIEWGLanguage: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
Blackboxapproach;weonlyneedtheprototype
TheconnectionpaneofLabVIEW nodesplaysthe
sameroleofthefunctionprototypeina
traditionaltextbasedprogramminglanguage
1Darrayofdouble
doublescalar
intscalar
DIEEI