Duratech DA05 WinCE Uživatelský manuál Strana 19

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 41
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 18
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
Zobrazit stránku 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 40 41

Komentáře k této Příručce

Žádné komentáře