5. About Software
AD12-8(PM)
67
Sample Programs - Examples
Analog input
- AI
:
Uses AioInp to perform a single conversion and display the result.
- AIBack
:
It is Analog input processes with AioInpBack for non-memory device.
- AIMemory
:
Uses AioInpBdMem to perform continuous conversion and use AioReadBuf to
retrieve the data from the device memory. (The example uses an external clock.)
- AIInt
:
Uses AioInpBdMem and the half-full interrupt to perform sampling indefinitely
and calls AioReadBuf to retrieve the data each time an interrupt occurs.
- AITimer
:
Uses AioInpBdMem and continuous conversion to perform sampling indefinitely
and calls AioReadBuf to retrieve the data each time the system timer generates a
timer event.
- AISync
:
This sample program uses AioInpBdMem and AioDO to perform simultaneous
sampling using two devices each with on-board memory.
- AioInp
:
This sample console application uses AioOpenEx and AioInp.
Analog output
- AO
:
Uses AioOut to perform a single analog output.
- AOBack
:
Uses AioOutBack to perform analog output at fixed time intervals.
- AioOut
:
This sample console application uses AioOpenEx and AioOut.
Digital input/output
- DIO
:
Uses AioDO and AioDI to perform digital input and output.
Counter
- Timer
:
Sample program using the timer. This uses the counter API routines to measure
elapsed time.
- Counter
:
Sample program using the counter. This uses the counter API functions to count
an external pulse input.
The following sample Visual Basic programs are provided.
- ANALOG
:
General-purpose sample program using AioInp, AioInpBack, AioInpBdMem,
AioOut, AioOutBack, AioDO, AioDI, and other routines.
*
The actual types of sampling able to be performed depends on which functions your device
supports.
Содержание AD12-8(PM)
Страница 1: ...PC HELPER Analog I O PC Card AD12 8 PM User s Guide CONTEC CO LTD ...
Страница 7: ...vi AD12 8 PM ...
Страница 15: ...1 Before Using the Product 8 AD12 8 PM ...
Страница 45: ...2 Setup 38 AD12 8 PM ...
Страница 67: ...4 Functions 60 AD12 8 PM ...
Страница 77: ...5 About Software 70 AD12 8 PM ...