Mca527 – GBS Elektronik MCA-166 Communication DLL User Manual
Page 24

MCA527
Name
MMCA_QUERY_IMAGE
Description
The function reads the MCA166 spectrum image (120x256). It should only be used to display the
spectrum in a 120 x 256 pixel window.
Declaration
ERROR_FLAG CALLBACK MMCA_QUERY_IMAGE(unsigned short unFirstChannel,
unsigned short unCompressFactor,
unsigned short unVerticalFullScale,
LPSTR rec_data);
unFirstChannel
Number of first channel
unCompressFactor
Compress factor:
1 ... 32
unVerticalFullScale
Vertical full scale
rec_data
Pointer to a QUERRY_IMAGE structure.
See mca_comm.h or mca32com.bas.
Return value
See MCA_COMM function
Remarks
This function is only usable for MCA166.
Name
MMCA_QUERY_ENRICHMENT
Description
The function reads current dead time, real time and the integral of two ROIs.
Declaration
ERROR_FLAG CALLBACK MMCA_QUERY_ENRICHMENT(unsigned short unRoi1Begin,
unsigned short unRoi1End,
unsigned short unRoi2Begin,
unsigned short unRoi2End,
LPSTR rec_data);
unRoi1Begin
Peak begin
integer value
LLD<= begin < end
unRoi1End,
Peak end
integer value
begin < end <= ULD, (end-begin) < 250
unRoi2Begin
Background begin
integer value
LLD<= begin < end
unRoi2End
Background end
integer value
begin < end <= ULD, (end-begin) < 250
rec_data
Pointer to a QUERRY_ENRICHMENT structure.
See CMD_QUERY_ENRICHMENT, mca_comm.h or mca32com.bas.
Return value
See MCA_COMM function
Name
MMCA_QUERY_UF6_INFO
Description
The function reads current dead time, real time the integral, begin and end of the UF6 ROIs
Declaration
ERROR_FLAG CALLBACK MMCA_QUERY_UF6_INFO(LPSTR rec_data);
rec_data
Pointer to a QUERRY_UF6_INFO structure.
See CMD_QUERY_UF6_INFO, mca_comm.h or mca32com.bas.
Return value
See MCA_COMM function
Name
MMCA_QUERY_UF6_ROIS
Description
The function reads the begin and end of the 3 ROIs
Declaration
ERROR_FLAG CALLBACK MMCA_QUERY_UF6_ROIS(LPSTR rec_data);
rec_data
Pointer to a QUERRY_UF6_ROIS structure.
See CMD_QUERY_UF6_ROIS, mca_comm.h or mca32com.bas.
Return value
See MCA_COMM function
24