Download downloading

Transcript
PT_FAIIntScanStart
typedef struct tagPT_FAIIntScanStart
{
USHORT
TrigSrc;
DWORD
SampleRate;
USHORT
NumChans;
USHORT
StartChan;
USHORT far *GainList;
USHORT far *buffer;
ULONG
count;
USHORT
cyclic;
USHORT
IntrCount;
} PT_FAIIntScanStart, FAR * LPT_FAIIntScanStart;
PT_FAIIntScanStart is used by DRV_FAIIntScanStart function .
Member Description
Name
TrigSrc
Direction
Input
Type
unsigned short
SampleRate
Input
floating point
NumChans
Input
unsigned short
StartChan
Input
unsigned short
GainList
Input
buffer
Output
count
cyclic
Input
Input
long pointer to
unsigned short
array with
NumChans
entries
long pointer to
unsigned short
array
unsigned long
unsigned short
IntrCount
Input
unsigned short
Range
0,1
depends on the
pacer on
hardware
0-n (n depends
on the available
channels on
hardware)
0-n (n depends
on hardware)
depends on input
range on
hardware
depends on I/O
register format
on hardware
1-65536
0,1
depends on
hardware
Description
triggering source:
external (1),
internal (0)
sampling rate in
second
number of
channels
start channel of
the scan channel
gain code array
for the scan
channel
data buffer
allocated by user
conversion count
cyclic mode:
cyclic (1),
non cyclic (0)
count to interrupt
Table 5-156: PT_FAIIntScanStart Member Description
Note
The IntrCount value for PCL-818HD and PCL818HG can be set to 1
or FIFO_SIZE(512), the IntrCount value for PCL-1800 is varied
(>=1). But the IntrCount value for other cards which has no FIFO on
board should be set to 1 only.
The IntrCount value for PCI-1710 can be set to 1 or
FIFO_SIZE(2048), the IntrCount value for PCI-1710 is varied
(>=1). But the IntrCount value for other cards which has no FIFO on
board should be set to 1 only.
Chapter 5 Functions Reference
307