Prosoft-technology MVI69-ADM Bedienungsanleitung Seite 199

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 342
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 198
MVI-ADM 'C' Programmable Application Development Function Library - ADM API
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 199 of 342
February 20, 2013
ADM_RAM_GetDouble
Syntax
double ADM_RAM_GetDouble(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_GetDouble tries to find the Topic name passed to the function in the
file.
Return Value
Value of a type Double found under the Topic name or 0 if the sub-section is not
found.
Example
module.time = ADM_RAM_GetDouble(adm_handle, tptr, "Time");
if(module.time < 0 || module.time > module.max_regs-61)
{
module.time = -1;
module.err_freq = 0;
}
else
{
module.err_freq = 500;
}
Seitenansicht 198
1 2 ... 194 195 196 197 198 199 200 201 202 203 204 ... 341 342

Kommentare zu diesen Handbüchern

Keine Kommentare