18
If StartMode is 0, then IrqMode should be set as 1.
ScanMode
:
Scan mode of the DAQ card. 0 for fixed channel mode, 1 for automatic
switching channel scan.
Return value
:
0
:
Success
;
-1: Failure.
AiRangeSet()
long
_stdcall
AiRangeSet(
unsigned
long
Index,
float
AiRange)
Notes
:
Set the channel range.
Parameter
:
Index
:
card index, to select the card to manage.
AiRange
:
In here, positive number means positive range, while negative number means
negative and positive range, measured in mV.
For example
:
A setting of 10000 means 0~10V
,
while a setting of -5000
means -5~5V
。
Return value
:
0
:
Success
;
-1: Failure.
AiChanSet()
long
_stdcall
AiChanSet(
unsigned
long
Index,
unsigned
long
ChanMode,
unsigned
long
AiChan)
Notes
:
Set channel, that is write offset address 0.
Parameter
:
Index
:
card index, to select the card to manage.
ChanMode
:
Set channel mode, 0 for single-ended input, 1 for differential input.
AiChan
:
When the DAQ card is set as fixed channel mode, this means setting the
channel number.
When the card is configured to automatic switching channel san, this means
the ending channel number.
Attention
:
When the card is configured as single-ended input, this can be set
as 0~31;
When the card is configured as differential input, this can be set as 0~15.
Содержание PCI-1255
Страница 1: ...PCI 1255 Multifunctional DAQ Device User Manual Smacq Technologies Co Ltd 2015 09 10...
Страница 15: ...14 Figure 3 1 Basic tests using example codes...
Страница 26: ...25...