Measurement-computing Data Acquisition Systems rev.10.4 Manuel d'utilisateur Page 268

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 366
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 267
4.5-38 Daq API Command Reference 908794 Programmer’s Manual
daqIOWriteBit
Also See: daqIORead, daqIOReadBit, daqIOWrite
Format
daqIOWriteBit(handle, devType, devPort, whichDevice, whichExpPort, bitNum,
bitValue)
Purpose
daqIOWriteBit writes a specified bit on the selected device and port.
Parameter Summary
Parameter Type Description
handle DaqHandleT
Handle of the device to perform an IO write to
devType DaqIODeviceType
IO device type
devPort DaqIODevicePort
IO device port selection
whichDevice DWORD
IO device selection
whichExpPort DaqIOExpansionPort
IO device expansion port address
bitNum DWORD
Bit number on port to write
bitValue BOOL
Bit value to write (true – high, false – low)
Parameter Values
handle: obtained from the daqOpen function
devType: see table below
devPort: see table below
whichDevice: valid values range from 0 to 171
whichExpPort: see table below
bitNum: valid value range from 1 to 16
bitValue: valid values are either true ( 0) or false ( = 0)
Parameter Type Definitions
devType-(DaqIODeviceType)
Definition Description
DiodtLocalBitIO
P2 – Local addressing by bit
DiodtLocal8255
P2 – Local addressing on DaqBook/2000 Series, DaqBoard/2000 Series and cPCI
DaqBoard/2000c Series devices
DiodtP2Local8
P2 – Local addressing by byte
DiodtP3LocalDig16
P3 – Local addressing for HS 16-bit Dig I/O
DiodtP3LocalCtr16
P3 – Local addressing of 16-bit counters
DiodtP2Exp8
P2 – Expansion addressing by byte
DiodtExp8255
DBK20, DBK21
DiodtDbk23
DBK23
DiodtDbk24
DBK24
DiodtDbk25
DBK25
Vue de la page 267
1 2 ... 263 264 265 266 267 268 269 270 271 272 273 ... 365 366

Commentaires sur ces manuels

Pas de commentaire