Prosoft-technology MVI69-ADM Manuel d'utilisateur Page 200

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 342
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 199
Application Development Function Library - ADM API MVI-ADM 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 200 of 342 ProSoft Technology, Inc.
February 20, 2013
ADM_RAM_GetChar
Syntax
unsigned char ADM_RAM_GetChar (ADMHANDLE adm_handle, char huge * mydata, char *
Topic);
Parameters
adm_handle
Handle returned by previous call to ADM_Open
mydata
Pointer return from ADM_RAM_Find_Section.
Topic
Pointer to name of a variable.
Description
ADM_RAM_GetChar tries to find the Topic name passed to the function in the
file.
Return Value
Character found under the Topic name or ' ' if the sub-section is not found.
Example
module.enable = ADM_RAM_GetChar(adm_handle, tptr, "Enable");
if(module.enable == ' ')
{
module.time = -1;
module.err_freq = 0;
}
else
{
module.err_freq = 500;
}
Vue de la page 199
1 2 ... 195 196 197 198 199 200 201 202 203 204 205 ... 341 342

Commentaires sur ces manuels

Pas de commentaire