[Date Prev][Date Next][Date Index]

Joerger VSC8/16 scaler (bug fix)




Dear folks,

The device-support module for the Joerger VSC8/16 scaler (available via
http://www.aps.anl.gov/xfd/WWW/xfd/SoftDist/swBCDA/#Custom_EPICS, see
'Scaler record ...') has a problem with the NIM and ECL versions of
this series of boards.  The device-support modules included in
xfdApp*.tar also have this problem, which causes an access fault when
the module is used with a NIM- or ECL-input scaler.  Here's the fix:

In devScaler.c, change
        scaler_state[card]->num_channels = *p16 & 0x1f;
to
        scaler_state[card]->num_channels = *p16 & 0x18;

This bug will be fixed in version 1.5 of devScaler.c.  Thanks to
Mark Ito (TJNAF, aka CEBAF) for encountering this bug and for providing
the information to diagnose it.

Tim Mooney
Beamline Controls & Data Acquisition
Advanced Photon Source
Argonne National Lab