Adlink PCI-8158 Manuel d'utilisateur Page 204

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 220
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 203
194 Function Library
6.18 General-purpose DIO
@ Name
_8158_set_gpio_output – Set digital output
_8158_get_gpio_output – Get digital output
_8158_get_gpio_input – Get digital input
_8158_set_gpio_input_function – Set the signal types for
any digital inputs
@ Description
_8158_set_gpio_output:
The PCI-8158 has 8 digital output channels. By this function,
user could control the digital outputs.
_8158_get_gpio_output:
This function is used to get the digital output status.
_8158_get_gpio_input:
PCI-8158 has 8 digital input channels. By this function, user
can get the digital input status.
_8158_set_gpio_input_function:
PCI-8158 has 8 digital input channels. By this function, user
can set one of several input signals to any specific DI channels.
Those signals include LTCn, SDn, PCSn, CLRn, EMG. (The
index word n mean axis index.)
@ Syntax
C/C++(Windows 2000/XP)
I16 _8158_set_gpio_output(I16 card_id, I16
DoValue);
I16 _8158_get_gpio_output(I16 card_id, I16 *
DoValue);
I16 _8158_get_gpio_input(I16 card_id, I16 *
DiValue);
I16 _8158_set_gpio_input_function(I16 card_id,
I16 Channel, I16Select, I16 Logic);
Vue de la page 203
1 2 ... 199 200 201 202 203 204 205 206 207 208 209 ... 219 220

Commentaires sur ces manuels

Pas de commentaire