digiBASE
®
PMT Base with Integrated Bias Supply, Preamplifier and Digital Multichannel Analyzer 931003E / 0620
When multiple digiBASEs are selected, each successive “packet” rotates between the selected
units. For example in the previous example file, if two digiBASEs are involved in the acquisi-
tion, the first 16 bytes came from the first digiBASE, the next 8 bytes came from the second, the
next 32 came from the first, and so on.
The program can be modified to whatever format is suitable for the particular application.
A.3.4. Source Code
The ListMode program is composed of a single Form Module with the following subroutines
and functions.
Option Explicit
Dim bStop As Boolean
Dim uConn21(100) As Object
Dim TotalCounts(100) As Double
A.3.4.1. Declarations
bStop is a flag that is used to track when the Stop button has been clicked.
The uConn21 object variable is used to hold a Connection control for each digiBASE in the
acquisition.
TotalCounts is used to track how many conversions have been sent to the hard disk for each
digiBASE.
A.3.4.2. FORM_LOAD
Private Sub Form_Load()
lstUMCBI.CreateList
Dim i As Integer
For i = 1 To lstUMCBI.MaxSelection
lstUMCBI.SelIndex = i
lstMCBs.AddItem lstUMCBI.SelName
Next i
End Sub
When the VB form is loaded, the list of digiBASEs is created in the list box on the left of the
form. lstUMCBI is a ULIST control that is part of the CONNECTIONS Toolkit. It holds a list of
48