Intel PCI-7200 Manuel d'utilisateur Page 46

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 65
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 45
36
C/C++ Libraries
5.10 _7200_DI_Channel
@ Description
This function is used to read data from digital input channels (bit). There are
32 digital input channels on the PCI-7200. When performs this function, the
digital input port is read and the value of the corresponding channel is
returned.
* channel means each bit of digital input port.
@ Syntax
Visual C++ (Windows 95)
int W_7200_DI_Channel (U8 di_ch_no, Boolean *di_data)
Visual Basic (Windows 95)
W_7200_DI_Channel (ByVal di_ch_no As Byte, di_data As Byte)
As Long
C/C++ (DOS)
int _7200_DI_Channel (U8 di_ch_no, Boolean *di_data)
@ Argument
di_ch_no : the DI channel number, the value has to be set within 0 and
31.
di_data : return value, either 0 or 1.
@ Return Code
ERR_NoError
ERR_InvalidDIChannel
5.11 _7200_DO
@ Description
This function is used to write data to digital output port. There are 32 digital
outputs on the PCI-7200.
@ Syntax
Visual C++ (Windows 95)
int W_7200_DO (U32 do_data)
Visual Basic (Windows 95)
W_7200_DO (ByVal do_data As Long) As Long
C/C++ (DOS)
int _7200_DO (U32 do_data)
@ Argument
do_data : value will be written to digital output port
@ Return Code
ERR_NoError
Vue de la page 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 64 65

Commentaires sur ces manuels

Pas de commentaire