ADLINK Technology PCI-6208 Guide de l'utilisateur Page 30

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 42
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 29
Software Library 23
5.2.4 _6208_DA
@ Description
This function is used to write data to D/A converters. There are 8 and 16
Digital-to-Analog conversion channels on the cPCI/PCI-6208.and PCI-6216
respectively. The resolution of each channel is 16 bits with sign; i.e. the
digital value range from -32768 (0x8000) to +32767 (0x7FFF). The
following table shows the output data format and the relation between the
digital value and the analog output voltage:
Digital value HEX value Output Voltage
32767 0x7FFF +9.99969V
16384 0x4000 +5.00000V
8192 0x2000 +2.50000V
1 0x0001 0.00031V
0 0x0000 0.00000V
-1 0xFFFF -0.00031V
-8192 0xE000 -2.50000V
-16384 0xC000 -5.00000V
-32767 0x8001 -9.99969V
-32768 0x8000 -10.00000V
@ Syntax
C/C++ (DOS)
U16 _6208_DA (U16 cardNo, U16 chn, I16 DAData)
C/C++ (Windows 95/98)
U16 W_6208_DA (U16 cardNo, U16 chn, I16 DAData)
Visual Basic (Windows 95/98)
W_6208_DA (ByVal cardNo As Integer, ByVal chn As Integer, ByVal
DAData As Integer) As Integer
@ Argument
cardNo: The card number of 6208 series card initialized. The first card (in
the most prior PCI slot) is with cardNo = 0.
Chn: D/A channel number
DAData: D/A converted value
Vue de la page 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 41 42

Commentaires sur ces manuels

Pas de commentaire