User manual
Programmer’s Guide Page 3 of 66
CONTENTS
1. INTRODUCTION ................................................................................................................................................ 5
1.1. Message to the User ....................................................................................................................................... 5
1.2. Using this Manual .......................................................................................................................................... 5
1.3. Conventions Used in This Manual ................................................................................................................. 6
1.4. Warning Regarding Medical Use ................................................................................................................... 6
1.5. Warranty......................................................................................................................................................... 6
1.6. Warranty and Repair Return Procedure, Assistance and Support .................................................................. 6
1.7. System Requirements ..................................................................................................................................... 6
2. PROGRAMMING ENVIRONMENTS & GETTING STARTED .................................................................. 7
2.1. Visual C++ ..................................................................................................................................................... 7
2.2. LabWindows/CVI .......................................................................................................................................... 7
2.3. LabVIEW ....................................................................................................................................................... 8
2.3.1. LabView 7.x/8 with old LabView programs ........................................................................................ 10
2.3.2. AqDx Getting Started VI ...................................................................................................................... 10
2.3.3. AqDx Example Scope VI ..................................................................................................................... 11
2.3.4. AqDx Accumulated Waveform Example VI ....................................................................................... 11
2.3.5. AqTx TC840 VI ................................................................................................................................... 12
2.3.6. AqTx TC842 VI ................................................................................................................................... 13
2.3.7. AqTx TC890 VI ................................................................................................................................... 14
2.4. Visual Basic .NET ........................................................................................................................................ 15
2.5. MATLAB ..................................................................................................................................................... 15
2.6. Wind River VxWorks .................................................................................................................................. 15
2.6.1. Libraries ............................................................................................................................................... 15
2.6.2. Inclusion of the driver library ............................................................................................................... 15
2.6.3. Inclusion of an application ................................................................................................................... 15
2.6.4. Standard library .................................................................................................................................... 16
2.6.5. Example program ................................................................................................................................. 16
2.7. Linux ............................................................................................................................................................ 16
3. PROGRAMMING AN ACQIRIS INSTRUMENT ......................................................................................... 17
3.1. Programming Hints ...................................................................................................................................... 17
3.2. Device Initialization ..................................................................................................................................... 17
3.2.1. PCI & VXI Identification by Order Found ........................................................................................... 18
3.2.2. PCI Identification by Serial Number .................................................................................................... 18
3.2.3. PCI Identification by Bus/Slot Number ............................................................................................... 18
3.2.4. VXI Identification ................................................................................................................................ 19
3.2.5. PXI VISA & LabViewRT Identification .............................................................................................. 19
3.2.6. Firmware initialization (AP-FAMILY/12-bit-FAMILY/AC/SC/TC) .................................................. 19
3.2.7. Automatic Definition of MultiInstruments ........................................................................................... 19
3.2.8. Manual Definition of MultiInstruments ............................................................................................... 20
3.2.9. AqGeo.map file positioning ................................................................................................................. 21
3.2.10. Simulated Devices ................................................................................................................................ 22
3.2.11. Terminating an Application ................................................................................................................. 22
3.2.12. Reinitialization ..................................................................................................................................... 22
3.3. Device Configuration ................................................................................................................................... 22
3.4. Configuring Averagers ................................................................................................................................. 24
3.4.1. Basic configuration .............................................................................................................................. 24
3.4.2. Dithering .............................................................................................................................................. 25
3.4.3. „Fixed Pattern‟ Background Subtraction .............................................................................................. 25
3.4.4. Configuring Noise Suppressed Accumulation (NSA) .......................................................................... 27
3.5. Configuring SSR Analyzers ......................................................................................................................... 27
3.5.1. Acquisition Parameters ........................................................................................................................ 27
3.5.2. Readout configuration .......................................................................................................................... 28
3.5.3. SSR Time stamps ................................................................................................................................. 29
3.6. Configuring AP family Peak
TDC
Analyzers .................................................................................................. 29
3.7. Configuring U1084A Peak
TDC
Analyzers..................................................................................................... 30