Braun MCA166-USB Network Card User Manual


 
MCA Query Commands:
Command name
CMD_QUERY_POWER
Description The command reads the power state.
Command syntax
Format integer integer integer long integer
Parameter preamble command 0 0 end flag
Byte String (HEX) A5 5A 59 00 00 00 00 00 00 00 B9 9B
Results see MMCA_QUERY_POWER function in DLL description.
Command name
CMD_QUERY_STATE
Description The command reads the state.
Command syntax
Format integer integer integer long integer
Parameter preamble command 0 0 end flag
Byte String (HEX) A5 5A 5A 00 00 00 00 00 00 00 B9 9B
Results see MMCA_QUERY_STATE function in DLL description.
Command name
CMD_QUERY_SPECTRA
Description
The command reads the spectrum data.
n: No. of 1. channel and buffer control (Bit 15 ... 12)
c: Compress factor (1 ... 32)
Command syntax
Format integer integer integer long integer
Parameter preamble command n C end flag
Byte String (HEX) A5 5A 5B 00 n
l
n
h
c
l
c
h
00 00 B9 9B
Used setup value channels, lld, uld
Results see MMCA_QUERY_SPECTRA function in DLL description.
Command name CMD_QUERY_IMAGE
Description
The command read the MMCA spectrum image (120x256).
n: No. of 1. Channel
c: Compress factor (1 ... 32)
v: Vertical full scale (see MCA_VFS in mca_comm.h)
Command syntax
Format integer integer integer integer integer integer
Parameter preamble command n C v end flag
Byte String (HEX) A5 5A 5C 00 n
l
n
h
c
l
c
h
v
h
v
h
B9 9B
Used setup value channels, lld, uld
Results see MMCA_QUERY_IMAGE function in DLL description.
69