July 2001 J. D. Monnier Notes on Installing A-to-D board: VMIVME 3124 (by VMIC) ** Updated on 2001Jul 04 to reflect new base address ** Updated on 2001Jul06 to reflect config change to differential inputs >From VMIC Manual: Section 5.3.1. Board Address ---------------------------- Here are the currently installed board base addresses from MBrewer: D/A board: 0x0100 - 0x0108 DIO board: 0x1000 - 0x1032 Serial board: 0x6000 - 0x60FF Galil board: 0xF000 - 0xF7FF We will choose A/D board: 0x0400 - [128 bytes] - 0x047E [Removed Jumper E6, the Rest E1->E9 are ON] *****IMPORTANT***** ACCORDING to the manual this should correspond to 0x4000, but the board seems to answer 0x0400 in software. So note that the jumpers look like they should be defining the address 0x4000. If I ever come up with a better explanation of why this discrepancy, I will let you know. Section 5.3.2. Address Modifier ------------------------------- We do not know what to do here. The factory settings are: NONE which means to allow both "Supervisory" and "Nonpriviledged" Addressing Mode. We decided to go with both, and we used (in software) address modifier 0x29 (see vme.h, correspond to NONpriviledged) E10: No Jumper Section 5.3.3. Input Configuration ---------------------------------- These jumpers are important. They setup the inputs as either differential or single-ended, and the input control voltage range, and the internal gain before digitization. After discussing this with WT, We decided to go with the factory settings: 16-channel differential inputs +/- 10 Volt Range Unity Gain ** Remove Jumpers E14,E15. Install E16 ** Install Jumpers E19 pins 1/2, E20 pins 2/3 ** Remove jumpers e18,e17 ** We measured the input noise using a DC voltages source for both differential and single-ended operation. We found that the single-ended operation has less noise (~1bit,4.8mV) while the differential had about twice as much noise (~2bit,10mV). JP and I wrote the code to setup shared memory and the ADC object/class. Also test programs adctest, adcrecord. It is now in: iota17:~iota/iotamc/vxworks/daq/*