Braun MCA166-USB user manual A3.1.3 Functions to work with the MCA

Page 37

The other arguments are the parameters of the firmware command. These arguments are optional since not all commands use the same number of parameters. Unnecessary arguments you can leave out. Information about the parameters you can find in appendix 4. You can ignore the parameters ”preamble”, ”command” und ”end flag” listed in this document. These parameters are assigned the right value automatically. The parameters that you pass to the function MCA_COMM are always long integer. Within the function these parameters are partially passed on to variables with another data type, therefore it is imperative that the maximum values specified in the document are not exceeded. The return value indicates the result of the data transfer. It can be one of the following values:

ERROR_OK

ERROR_INTERFACE ERROR_INVALID_COMMAND ERROR_COMMUNICATION ERROR_INVALID_PARAM

=0 successful data transfer

=1 communication port is not initialized

=2 unknown command

=3 faulty data transfer

=4 invalid parameter

A3.1.3 Functions to work with the MCA

For the work with the MCA a lot of functions are available. You can subdivide all functions in five groups:

Function for resetting the MCA (MMCA_RESET)

Functions for starting and stopping the data acquisition (MMCA_..._AQUIRE)

Functions for clearing (MMCA_CLEAR_...)

Functions for setting (MMCA_SET_...)

Functions for query (MMCA_QUERY_...)

The query functions are handed over a reference to a specific data structure. You can derive the name of the structure from the name of the function, by leaving out ”MMCA_” from the function name. (e. g. function MMCA_QUERY_STATE requires the data structur QUERY_STATE). The functions and data structures are listed and described in chapter A3.2. You can also find important information in the files mca32com.bas (Visual Basic) and mca_comm.h (C/C++).

The return value indicates the result of the data transfer. It can be one of the following values:

ERROR_OK

= 0

successful data transfer

ERROR_INTERFACE

= 1

communication port is not initialized

ERROR_COMMUNICATION

=

3

faulty data transfer

ERROR_INVALID_PARAM

=

4

invalid parameter

37

Image 37
Contents MCA166-USB Exclusion of liability MCA166-USBTable of Contents Appendix Introduction Hardware Users safety informationGeneral Description Switching on Power managementCharging the MCA166-USB Connecting the MCA166-USB to a ComputerConnection of detectors Software Additional external battery pack and Power PackOverview MCS MS-DOS, WinMCS Windows Spec MS-DOS, WinSPEC WindowsU235 MS-DOS, WinU235 Windows UF6 MS-DOS, WinUF6WinSCAN RateIdentify Source Target MCAPlot and MCAPrintMiscellaneous MCA166-USB parameters for use with different detectorsIsotope Half-life Energy keV Branching ratio % Some of the most important photon energiesMCA166-USB Hardware Specifications Technical DataAmplifier 2 ADC Battery Power supplyPreamplifier Voltages High VoltageComputer Interface Mechanical specificationEnvironmental ratings Block Diagram of the MCA166-USB Diagrams and pin connectionsContact Voltage Max. Current Contact SignalHV-Inhibit mode2 Troubleshooting Page MCA166-USB File Content Explanation $ROI File Content ExplanationFile Content Explanation $ENERFIT $SPECREM$PRESETS File Content $ADC$FASTDISCR 400 $SLOWDISCR $INPUT$MCSCHANNELS $POWERSTATE$MCSINPUT $MCSTIME$RECERRORCOUNTER File Content Explanation $RECCOUNTERFile Content Explanation $WINSPECINFO $SPECINTEGRALIcod Analysiscsratio$WINSPECINFO Analysismga$WINSCANINFO File Content Explanation $UF6INSPINFOOUT LOT LOT ID MBAMBA LOT LOT ID File Content Explanation $INSPINFOArea and the Area Uncertainty Function Appendix 2 MCA166-USB algorithm, formulasSmooth CentroidStrip Appendix 3 Description of the communication DLLs8 MCA166-USB A3.1.3 Functions to work with the MCA Mmcastartacquire MmcaresetMmcasetmodemcs MmcasetmodemcaMmcaclearmemory MmcacleartimeMmcasetpresetlivetime MmcasetpresetnoneMmcasetpresetrealtime MmcasetpresetintegralMmcasetroi MmcasetadcresdiscrMmcasetrepeat MmcasetmcschannelMmcasetmcsinputttl MmcasetmcsinputicrMmcasetmcsinputdiscr Mmcasetmcainputamplifierpos MmcasetgainMmcasetmcainputamplifierneg MmcasetmcainputdirectposMmcasetshapingtimelow MmcasetthresholdMmcasetshapingtimehigh MmcasetpileuprejectionMmcasetslow MmcasetfastMMCASETPZCMANUAL18 MMCASETPZCVALUE19Mmcasetstabilisation MmcasetpreamplifierpowerMmcasetstabparam MmcasethighvoltagesMmcasetuserdata MmcasettdfMMCASETUF6ROIS Mmcaqueryuserdata Contents of the Mmca User Date memory21Page Mmcaquerypower Mcamode MODEMCA, Modemcs MmcaquerystateMcastabresult STABSTARTED, Stabactive Mcainputadc Adcamplifier ADC Directpos Adcdirectneg STABIDLE, StaberrorMcainputpol Inputpolaritypositive Inputpolaritynegative DTCMmcaquerysystemdata MMCAQUERYIMAGE36 Mmcaqueryenrichment MmcaqueryspectraMMCAQUERYUF6ROIS MMCAQUERYUF6INFOMmcaquerycentroid MmcaqueryonlineMmcaqueryvoltagecurrent Cmdstart CmdinitCmdstop StatestopModemca Modemcs CmdsetmodeCmdclear Clearmemory = Cleartime Clearroi ClearallPresetnone Presetreal Presetlive Presetint Presetarea CmdsetpresetsCmdsetadcresdiscr LLD, ULDCmdsetmcschannel CmdsetrepeatCmdsettimeperchannel Cmdsetinputpolarity CmdsetgainCmdsetmcainput Cmdsetthreshold CmdsetmcsinputCmdsetshapingtime Cmdsetfast CmdsetpurCmdsetslow Cmdsetpzctimeoffset CmdsetpzcCmdsetstabparam Cmdsetbias CmdsetpreamplifierpowerCMDSETUF6ROI CmdsettdfCmdsetuserdata Cmdquerystate CmdquerypowerCmdqueryspectra CmdqueryimageCmdsystemdata CmdqueryuserdataCmdquerycentroid CMDQUERYUF6ROIS CmdqueryenrichmentAppendix 5 Changing the MCA166-USB Firmware

MCA166-USB specifications

The Braun MCA166-USB is a compact and versatile charging device designed for modern lifestyles. This product expertly combines functionality with portability, making it an essential accessory for people on the go. One of the key features of the Braun MCA166-USB is its dual charging capability. It comes equipped with multiple USB ports, allowing users to charge various devices simultaneously, from smartphones to tablets. This multi-device functionality eliminates the need for multiple chargers cluttering your workspace or travel bag.

The device supports fast charging technology, which is particularly beneficial for users who need quick power boosts. With a maximum output of 2.4A per port, the Braun MCA166-USB ensures that your devices are energized swiftly, reducing downtime and keeping you connected during busy days. Additionally, the device is compatible with a wide range of charging protocols, offering versatility for different brands and models.

The Braun MCA166-USB features an intelligent charging system that recognizes the connected device and delivers the optimal charging current. This not only enhances the efficiency of charging but also protects your devices from any potential damage caused by overcharging.

Constructed with a sleek and sturdy design, the Braun MCA166-USB is not just about functionality; it is also aesthetically pleasing. Its compact size makes it perfect for portability, easily fitting into a pocket or small bag. The durability of the materials used ensures that the charger withstands the rigors of travel while remaining stylish.

Another highlight of the Braun MCA166-USB is its safety features. It incorporates multiple protection mechanisms, including short-circuit prevention and temperature control, ensuring a safe charging environment for your devices.

In summary, the Braun MCA166-USB emerges as an innovative solution for those seeking a reliable charging option. Its robust features, such as dual USB ports, fast charging capabilities, intelligent charging control, and safety measures, make it an ideal choice for anyone looking to stay powered up while balancing a busy lifestyle. With its sleek design and durable construction, the Braun MCA166-USB undoubtedly stands out as a multifaceted charging device for the modern user.