Gbs-elektronik MCA-527 Firmware Commands Uživatelský manuál Strana 47

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 54
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 46
Description of the MCA527 Firmware Commands
Command name CMD_QUERY_ENRICHMENT
Compatibility Identical to the MCA166 command.
Execution right Not necessary
Description The command reads current dead time, real time and the integral of two ROIs. This is very useful
during a running measurement because in this way there is no need for transferring parts of the
spectrum data for calculating the ROI integrals itself. The name of the command refers to its original
usage. The command is, of course, usable for all applications that need this information.
r1b: ROI
1
begin
r2b: ROI
2
begin
r1l: ROI
1
length (8 ... 250 channels)
r2l: ROI
2
length (8 ... 250 channels)
Format integer integer char char integer integer integer
Parameter Preamble command r1l r2l r1b r2b end flag
Byte string (HEX) A5 5A 5D 00 r1l r2l r1b
l
r1b
h
r2b
l
r2b
h
B9 9B
Result data array
Byte offset 0 Dead time unsigned long
Byte offset 4 Real time unsigned long
Byte offset 8 Integral of the 1
st
ROI unsigned long
Byte offset 12 Integral of the 2
nd
ROI unsigned long
Byte offset 16 unused 80 bytes
Byte offset 106 Command flag and parameters 8 bytes
Byte offset 114 unused 12 bytes
Byte offset 126 Checksum unsigned short
Byte offset 128 unused 4 bytes
47
Zobrazit stránku 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 53 54

Komentáře k této Příručce

Žádné komentáře