Measurement-computing ADLIB WIN Manuel d'utilisateur Page 118

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 191
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 117
Chapter 38 Counter Modes
26-2
26.2 AL_GetCtrMode
Prototype C\C++
ERRNUM AL_GetCtrMode(LHLD lhld, LPSTR lpstrCtrMode, long lMaxlen);
Visual Basic for Windows
Function AL_GetCtrMode(ByVal lhld As Long, ByVal lpstrCtrMode As String,
ByVal lMaxlen As Long) As Long
LHLD lhld handle of the LDSD
LPSTR lpstrCtrMode destination address of the Counter/Timer mode string
long lMaxLength the count in bytes to be copied
The AL_GetDataCode function retrieves the current Counter/Timer modeof the LDSD.
Parameter Description
lhld Identifies the instance of the logical device subsystem.
lpstrCtrMode Points to the destination string for the copy.
lMaxLength Maximum length in bytes to be copied to the user string , including the
NULL termination character.
Returns:
On success ERRNUM is set to 1 and the destination string lpstrCtrMode is set to the LDSD Counter/Timer
mode, otherwise ERRNUM contains the last error code that occurred during the call and the destination
string is considered invalid.
Related Functions:
AL_SetCtrMode
AL_CounterIn
AL_CounterOut
Supported Logical Device Subsystems:
Pci55xx Series: CTR0, CTR1, CTR2, CTR3
Note that CTR0, CTR1 Counters are referenced in the user manual as CNTR0/1 and
Timers CTR2, CTR3 are referenced in the user manual as TMR0/1.
Vue de la page 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 190 191

Commentaires sur ces manuels

Pas de commentaire