User`s manual

Application Hints 43
PCIS-DASK
Analog Input
One-Shot Analog Input
This section describes the function flow typical of non-buffered sin-
gle-point analog input readings. While performing one-shot AI
operation, most cards (except PCI-9118 Series cards) doesn't
need to include the AI configuration step at the beginning of the
application.
Example code fragment
NO
AI_VReadChannelAI_ReadChannel
Voltage reading?
AI_9118_Config
(on PCI-9118 Series cards only)
NO YES
YES
Another reading?
card = Register_Card(PCI_9118, card_number);
AI_9118_Config(card,Input_Signal|Input_Mode,0,0,0);
AI_ReadChannel(card, channelNo, range,
&analog_input[i]);
Release_Card(card);