Справочник Пользователя для National Instruments 321645c-01

Скачать
Страница из 554
Chapter 2
Function Reference — Get_DAQ_Device_Info
NI-DAQ FRM for PC Compatibles
2-196
©
 National Instruments Corporation
infoType can be one of the following. 
 
Note
C Programmers—infoValue is a pass-by-reference parameter.
infoType
Description
ND_ACK_REQ_EXCHANGE_GR1
ND_ACK_REQ_EXCHANGE_GR2
See the 
Set_DAQ_Device_Info
 function for details. 
ND_NOT_APPLICABLE
 if not relevant to the device.
ND_AI_FIFO_INTERRUPTS
Mode of interrupt generation for analog input
ND_BASE_ADDRESS
Base address, in hexadecimal, of the device specified by 
deviceNumber
ND_CLOCK_REVERSE_MODE_GR1
ND_CLOCK_REVERSE-MODE_GR2
See the 
Set_DAQ_Device_Info
 function for details. 
ND_NOT_APPLICABLE
 if not relevant to the device.
ND_COUNTER_1_SOURCE
See the 
Set_DAQ_Device_Info
 function for details. 
ND_NOT_APPLICABLE
 if not relevant to the device.
ND_DATA_XFER_MODE_AI
ND_DATA_XFER_MODE_AO_GR1
ND_DATA_XFER_MODE_AO_GR2
ND_DATA_XFER_MODE_GPCTR0
ND_DATA_XFER_MODE_GPCTR1
ND_DATA_XFER_MODE_DIO_GR1
ND_DATA_XFER_MODE_DIO_GR2
ND_DATA_XFER_MODE_DIO_GR3
ND_DATA_XFER_MODE_DIO_GR4
ND_DATA_XFER_MODE_DIO_GR5
ND_DATA_XFER_MODE_DIO_GR6
ND_DATA_XFER_MODE_DIO_GR7
ND_DATA_XFER_MODE_DIO_GR8
See the 
Set_DAQ_Device_Info
 function for details. 
ND_NOT_APPLICABLE
 if not relevant to the device.
ND_DEVICE_TYPE_CODE
Type of the device specified by deviceNumber
See
Init_DA_Brds
 for a list of device type codes.
ND_DMA_A_LEVEL
ND_DMA_B_LEVEL
ND_DMA_C_LEVEL
Level of the DMA channel assigned to the device as 
channel A, B, and C. 
ND_NOT_APPLICABLE
 if not 
relevant or disabled.
ND_INTERRUPT_A_LEVEL
ND_INTERRUPT_B_LEVEL
Level of the interrupt assigned to the device as interrupt 
A and B. 
ND_NOT_APPLICABLE
 if not relevant or 
disabled.
ND_SUSPEND_POWER_STATE
State of the USB device power when operating system 
enters power saving/suspend mode. Keep in mind that 
this applies only to USB devices run by external power.