WEBMCA Programming
ComTec GmbH 6-5
6.1.16. COMMAND-Object
COMMAND
Elements req. Content
NAME X Name of command
NAME:
GETDEVICES results a list of connected devices.
GETDEVICE results the parameters of a device.
CLEARSPECTRUM cleares spectra; select spectra via parameter OBJECTID=n
ACQUISITION starts or stops measurement; select device via
DEVICETYPE=TYPE and ACQUISITIOPN=0/1
6.1.17. OBJECTS-Object
OBJECTS
Elements req. Content
SPECTRUM Spectra structure
6.1.18. SPECTRUM-Object
SPECTRUM
Elements Content req.
SPECTRUM ID Number of spectra X
STORED Spectra is saved
CHANNELS Number of channels (r/w) X
BITS_PER_CHANNEL Data depth of channels in BIT (r) X
ENDIAN ENDIAN of CONTENT
0 - BIG
1 - LITTLE
2 - PDP
X
CONTENT Channel contents of total spectra as
stream (r/w)
X
CONTENT_COMPRESSION Content was compressed with ZLIB X
REALTIME Elapsed measuring time [s] (r/w) X
LIVETIME dead time corrected measuring time[s](r/w) X
DEADTIME Dead time [s] (r/w) X
STARTTIME Start time of measurement hh:mm:ss:nn
dd.mm.yyyy
X
STOPTIME Stop time of measurement hh:mm:ss:nn
dd.mm.yyyy
X
CALIBRATION_X Polynome parameter array for X-axis (r/w)
CALIBRATION_Y Polynome parameter array for Y-axis (r/w)