12.07.2015 Views

spec - Local Sector 7 web page

spec - Local Sector 7 web page

spec - Local Sector 7 web page

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

mca_par("group_size", size) — sets the group size to size . Legal values are 256,512, 1024, 2048, 4096 and 8192. Values above 1024 may not be legal if insufficientmemory is installed on the board.mca_par("select_group") — returns the currently active group. Groups are numberedstarting at zero.mca_par("select_group", group) — set the active group to group . The number ofpossible groups is given by the total number of channels on the board dividedby the group size. If the group passed to the function is greater than the maximumnumber of groups (based on the current group size and total number ofchannels), the current group selected is group modulus the maximum numberof groups.mca_par("pha") — selects pulse-height analysis mode on the board.mca_par("gain") —mode.returns the current gain value used in pulse-height analysismca_par("gain", value) — sets the pulse-height analysis gain to value . Legal valuesare 256, 512, 1024, 2048, 4096 and 8192.mca_par("offset") — returns the current channel offset used in pulse-height analysismode.mca_par("offset", value) — sets the pulse-height analysis offset to value . Legalvalues are multiples of 256 from 0 to 7936.mca_par("mcs") — selects multichannel scaling mode on the board.mca_par("dwell") — returns the current multichannel scaling dwell time.mca_par("dwell", value) — set the multichannel scaling dwell time. Allowed valuesare numbers between 1e-6 and 60 seconds with mantissa of 1, 2, 4 or 8. Avalue of -1 selects external dwell. If value isn’t anallowed value, it is roundedto the nearest allowed value.mca_par("mode") — returns two if the board is in PHA live-time mode, one if theboard is in PHA real-time mode and zero if the board is in MCS mode.mca_par("readone", channel) — returns the contents of channel number channel .mca_par("chan#") — returns the contents of channel number # . The channel numberis with re<strong>spec</strong>t to the current group.mca_par("chan#", value) — sets channel # to value . The channel number is withre<strong>spec</strong>t to the current group.The following mca_par() functions are only valid when the board is used with theinterrupt-driven driver.264 HARDWARE REFERENCE INTERIM WORK-IN-PROGRESS (8/16/01) NOT FOR GENERAL DISTRIBUTION

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!