VMIC VMI4116 16-Bit DAC
Authors: Bob Dalesio, Mike Bordua (1994)
Table of contents
The VMIVME-4116 is an 8-channel, 16-bit digital-to-analog converter (DAC) VME module in A16 short I/O address space. This device support provides EPICS ao record access to all 8 output channels.
Configuration
Call VMI4116_setup in the IOC startup script before iocInit:
VMI4116_setup(num_cards, addrs)
| Argument | Description | Default |
|---|---|---|
num_cards | Maximum number of cards in crate | 1 |
addrs | A16 base address (must be on 32-byte boundary, range 0x0000-0xffe0) | 0xff00 |
Example:
VMI4116_setup(1, 0xff00)
dbLoadRecords("$(VME)/vmeApp/Db/VME_DAC.db", "P=$(PREFIX),D=1,N=chan1,DTYP=VMIVME-4116,C=0,S=0,H=10,L=-10")
The VME_DAC.db template provides a rate-of-change-limited DAC output with tweaking and can be used with this device support by setting DTYP="VMIVME-4116".
Supported Record Types
| Record Type | DTYP String |
|---|---|
| ao | "VMIVME-4116" |
Link type: VME_IO (#C<card> S<signal> @)
Where signal is the channel number (0-7).
Usage Notes
- 8 channels of 16-bit DAC output plus a control/status register (CSR), all in A16 address space.
- Linear conversion slope:
(EGUF - EGUL) / 65535.0 - The card cannot be read back from hardware.
- Card detection at init is verified by probing the CSR register.
Debug Variable
var devAoVMI4116Debug 0
Non-zero enables card-detection messages during initialization.
Hardware Reference
See VMICVMI4116.pdf for the VMIC VMI4116 datasheet.