Frelon.h 977 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
#ifndef FRELON_H
#define FRELON_H

#include "EspiaSerialLine.h"
#include <string>
#include <map>

namespace lima
{

11
namespace Frelon
12
13
{

14
15
16
17
18
19
20
21
22
23
24
25
26
enum Reg {
	NrFrames,	ExpTime,	ShutCloseTime,	LatencyTime,
	RoiLineBegin,	RoiLineWidth,	RoiPixelBegin,	RoiPixelWidth,
	ChanMode,	TimeUnit,	RoiEnable,	RoiFast, 
	AntiBloom,	BinVert,	BinHorz,	ConfigHD,
	RoiKinetic,	ShutEnable,	HardTrigDisable,
	PixelFreq,	LineFreq,	Flip,		IntCalib,
	DisplayImage,	AdcFloatDiode,	AdcSignal,	
	DarkPixelCalib,	DarkPixelMode,	ChanControl,	Mire,
	AoiLineBegin,	AoiLineWidth,	AoiPixelBegin,	AoiPixelWidth,
	AoiImageHeight,	AoiImageWidth,	ChanOnImage,	ChanOnCcd,
	Version,	SerNr,		Warn,
};
27

28
29
extern std::map<Reg, std::string> RegStrMap;

30
31
32
enum Cmd {
	Reset,		Start,		Stop,		Save,
};
33

34
35
extern std::map<Cmd, std::string> CmdStrMap;

36
37
38
enum MultiLineCmd {
	Help,		Config,		Dac,		Volt,
	Aoi,
39
40
};

41
42
extern std::map<MultiLineCmd, std::string> MultiLineCmdStrMap;

43

44
45
} // namespace Frelon

46
47
48
} // namespace lima

#endif // FRELON_H