User`s guide
16 ? PCIS-DASK Application Hints
4.1.1 One-Shot Analog input programming Scheme
This section described the function flow typical of non-buffered single-point analog input readings. While performing
one-shot AI operation, most of the cards (except PCI-9118 series cards) don’t need to include AI configuration step at
the beginning of your application.
[Example Code Fragment]
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);
AI_9118_Config
(only needed by PCI-
9118 series cards)
Voltage reading ?
Yes No
AI_VReadChannel AI_ReadChannel
Another reading ?
Yes
No