Measurement-computing Data Acquisition Systems rev.10.4 Manual de usuario Pagina 264

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 366
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 263
4.5-34 Daq API Command Reference 908794 Programmer’s Manual
daqIOWrite
Also See: daqIORead, daqIOReadBit, daqIOWriteBit
.
Format
daqIOWrite(handle, devType, devPort, whichDevice, whichExpPort, value)
Purpose
daqIOwrite writes to the specified port on the selected device.
Parameter Summary
Parameter Type Description
handle DaqHandleT
Handle to the device to perform the IO write
devType DaqIODeviceType
IO device type
devPort DaqIODevicePort
IO device port selection
whichDevice DWORD
IO device instance to write from
whichExpPort DaqIOExpansionPort
IO device expansion port to write from
value DWORD
Pointer to IO value to write
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
value: valid values range from 0 to 65,535
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
DiodtWbk17
WBK17
Vista de pagina 263
1 2 ... 259 260 261 262 263 264 265 266 267 268 269 ... 365 366

Comentarios a estos manuales

Sin comentarios