⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 definitions_8h.tex

📁 max 2.3是具有图形界面的数据采集系统
💻 TEX
📖 第 1 页 / 共 2 页
字号:
\index{HGRIDLINES@{HGRIDLINES}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define HGRIDLINES\ TRUE;}\label{definitions_8h_a63}\index{definitions.h@{definitions.h}!INTEGRATIONS@{INTEGRATIONS}}\index{INTEGRATIONS@{INTEGRATIONS}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define INTEGRATIONS\ 'f'}\label{definitions_8h_a35}\index{definitions.h@{definitions.h}!INT_TRIGGER@{INT\_\-TRIGGER}}\index{INT_TRIGGER@{INT\_\-TRIGGER}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define INT\_\-TRIGGER\ 'o'}\label{definitions_8h_a44}\index{definitions.h@{definitions.h}!INT_TRIGGER_PERIOD@{INT\_\-TRIGGER\_\-PERIOD}}\index{INT_TRIGGER_PERIOD@{INT\_\-TRIGGER\_\-PERIOD}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define INT\_\-TRIGGER\_\-PERIOD\ 500}\label{definitions_8h_a24}\index{definitions.h@{definitions.h}!KILL_YOURSELF@{KILL\_\-YOURSELF}}\index{KILL_YOURSELF@{KILL\_\-YOURSELF}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define KILL\_\-YOURSELF\ 's'}\label{definitions_8h_a48}\index{definitions.h@{definitions.h}!LABELCOLOR@{LABELCOLOR}}\index{LABELCOLOR@{LABELCOLOR}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LABELCOLOR\ white}\label{definitions_8h_a76}\index{definitions.h@{definitions.h}!LINECOLOR@{LINECOLOR}}\index{LINECOLOR@{LINECOLOR}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LINECOLOR\ white}\label{definitions_8h_a74}\index{definitions.h@{definitions.h}!LISTB_UPDATE_INTERVALL@{LISTB\_\-UPDATE\_\-INTERVALL}}\index{LISTB_UPDATE_INTERVALL@{LISTB\_\-UPDATE\_\-INTERVALL}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define LISTB\_\-UPDATE\_\-INTERVALL\ 2000}\label{definitions_8h_a28}\index{definitions.h@{definitions.h}!MAIN_GUI_POSITION_X@{MAIN\_\-GUI\_\-POSITION\_\-X}}\index{MAIN_GUI_POSITION_X@{MAIN\_\-GUI\_\-POSITION\_\-X}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAIN\_\-GUI\_\-POSITION\_\-X\ 100}\label{definitions_8h_a20}\index{definitions.h@{definitions.h}!MAIN_GUI_POSITION_Y@{MAIN\_\-GUI\_\-POSITION\_\-Y}}\index{MAIN_GUI_POSITION_Y@{MAIN\_\-GUI\_\-POSITION\_\-Y}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAIN\_\-GUI\_\-POSITION\_\-Y\ 100}\label{definitions_8h_a21}\index{definitions.h@{definitions.h}!MAIN_GUI_X_SIZE@{MAIN\_\-GUI\_\-X\_\-SIZE}}\index{MAIN_GUI_X_SIZE@{MAIN\_\-GUI\_\-X\_\-SIZE}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAIN\_\-GUI\_\-X\_\-SIZE\ 500}\label{definitions_8h_a18}\index{definitions.h@{definitions.h}!MAIN_GUI_Y_SIZE@{MAIN\_\-GUI\_\-Y\_\-SIZE}}\index{MAIN_GUI_Y_SIZE@{MAIN\_\-GUI\_\-Y\_\-SIZE}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAIN\_\-GUI\_\-Y\_\-SIZE\ 600}\label{definitions_8h_a19}\index{definitions.h@{definitions.h}!MAIN_INITFILE@{MAIN\_\-INITFILE}}\index{MAIN_INITFILE@{MAIN\_\-INITFILE}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAIN\_\-INITFILE\ \char`\"{}initmax$\backslash$0\char`\"{}}\label{definitions_8h_a0}\index{definitions.h@{definitions.h}!MAX_ARRAY_SIZE@{MAX\_\-ARRAY\_\-SIZE}}\index{MAX_ARRAY_SIZE@{MAX\_\-ARRAY\_\-SIZE}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-ARRAY\_\-SIZE\ 10000}\label{definitions_8h_a17}\index{definitions.h@{definitions.h}!MAX_DEVICES@{MAX\_\-DEVICES}}\index{MAX_DEVICES@{MAX\_\-DEVICES}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-DEVICES\ 10}\label{definitions_8h_a14}\index{definitions.h@{definitions.h}!MAX_DEVICE_NAME_LENGTH@{MAX\_\-DEVICE\_\-NAME\_\-LENGTH}}\index{MAX_DEVICE_NAME_LENGTH@{MAX\_\-DEVICE\_\-NAME\_\-LENGTH}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-DEVICE\_\-NAME\_\-LENGTH\ 32}\label{definitions_8h_a10}\index{definitions.h@{definitions.h}!MAX_INTEGRATIONS@{MAX\_\-INTEGRATIONS}}\index{MAX_INTEGRATIONS@{MAX\_\-INTEGRATIONS}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-INTEGRATIONS\ 10000}\label{definitions_8h_a13}\index{definitions.h@{definitions.h}!MAX_NAME_LENGTH@{MAX\_\-NAME\_\-LENGTH}}\index{MAX_NAME_LENGTH@{MAX\_\-NAME\_\-LENGTH}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-NAME\_\-LENGTH\ 32}\label{definitions_8h_a7}Maximum length of parameter and device names. Increase this value, if you want to use longer names in your device parameter initfile \index{definitions.h@{definitions.h}!MAX_VAR@{MAX\_\-VAR}}\index{MAX_VAR@{MAX\_\-VAR}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-VAR\ 255}\label{definitions_8h_a15}\index{definitions.h@{definitions.h}!MAX_VAR_LENGTH@{MAX\_\-VAR\_\-LENGTH}}\index{MAX_VAR_LENGTH@{MAX\_\-VAR\_\-LENGTH}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MAX\_\-VAR\_\-LENGTH\ 32}\label{definitions_8h_a8}Maximum length of variable names. Increase this value, if you want to use longer names in your device parameter initfile \index{definitions.h@{definitions.h}!MIN_ARRAY_LENGTH@{MIN\_\-ARRAY\_\-LENGTH}}\index{MIN_ARRAY_LENGTH@{MIN\_\-ARRAY\_\-LENGTH}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MIN\_\-ARRAY\_\-LENGTH\ 10}\label{definitions_8h_a72}This is basically the minimum size of the Plotwindow for plotting arays. This is neccessary because a window width of for example 10 looks pretty ugly.. \index{definitions.h@{definitions.h}!MIN_BUTTON_SIZE@{MIN\_\-BUTTON\_\-SIZE}}\index{MIN_BUTTON_SIZE@{MIN\_\-BUTTON\_\-SIZE}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MIN\_\-BUTTON\_\-SIZE\ 60}\label{definitions_8h_a22}\index{definitions.h@{definitions.h}!MONITOR_MODE@{MONITOR\_\-MODE}}\index{MONITOR_MODE@{MONITOR\_\-MODE}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MONITOR\_\-MODE\ FALSE}\label{definitions_8h_a25}\index{definitions.h@{definitions.h}!MON_MODE@{MON\_\-MODE}}\index{MON_MODE@{MON\_\-MODE}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MON\_\-MODE\ 'k'}\label{definitions_8h_a40}\index{definitions.h@{definitions.h}!MON_MODE_CHANNELS@{MON\_\-MODE\_\-CHANNELS}}\index{MON_MODE_CHANNELS@{MON\_\-MODE\_\-CHANNELS}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define MON\_\-MODE\_\-CHANNELS\ 1000}\label{definitions_8h_a69}This value basically gives the x-size of the plot Windopw in monitor mode. If MON\_\-MODE\_\-CHANNELS is reached the window is erased and replotted. \index{definitions.h@{definitions.h}!PARA_SEND_INTERVALL@{PARA\_\-SEND\_\-INTERVALL}}\index{PARA_SEND_INTERVALL@{PARA\_\-SEND\_\-INTERVALL}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PARA\_\-SEND\_\-INTERVALL\ 100}\label{definitions_8h_a6}This is the period in which the server sends channel number and dev parameter lists to client. Decrease it if you want a faster update of the parameter listbox. default : 500 \index{definitions.h@{definitions.h}!PAUSE@{PAUSE}}\index{PAUSE@{PAUSE}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PAUSE\ 'c'}\label{definitions_8h_a32}\index{definitions.h@{definitions.h}!PLOT_WINDOW_UPDATE@{PLOT\_\-WINDOW\_\-UPDATE}}\index{PLOT_WINDOW_UPDATE@{PLOT\_\-WINDOW\_\-UPDATE}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PLOT\_\-WINDOW\_\-UPDATE\ 1000}\label{definitions_8h_a29}\index{definitions.h@{definitions.h}!POINTS@{POINTS}}\index{POINTS@{POINTS}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define POINTS\ 2}\label{definitions_8h_a71}\index{definitions.h@{definitions.h}!PRIORITY@{PRIORITY}}\index{PRIORITY@{PRIORITY}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PRIORITY\ 'g'}\label{definitions_8h_a36}\index{definitions.h@{definitions.h}!PRIORITY_CHECK@{PRIORITY\_\-CHECK}}\index{PRIORITY_CHECK@{PRIORITY\_\-CHECK}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define PRIORITY\_\-CHECK\ 'v'}\label{definitions_8h_a51}\index{definitions.h@{definitions.h}!P_DEF_SIZE_X@{P\_\-DEF\_\-SIZE\_\-X}}\index{P_DEF_SIZE_X@{P\_\-DEF\_\-SIZE\_\-X}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define P\_\-DEF\_\-SIZE\_\-X\ 300-2$\ast$P\_\-LEFT\_\-BORDER}\label{definitions_8h_a56}\index{definitions.h@{definitions.h}!P_DEF_SIZE_Y@{P\_\-DEF\_\-SIZE\_\-Y}}\index{P_DEF_SIZE_Y@{P\_\-DEF\_\-SIZE\_\-Y}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define P\_\-DEF\_\-SIZE\_\-Y\ 200-2$\ast$P\_\-UPPER\_\-BORDER}\label{definitions_8h_a57}\index{definitions.h@{definitions.h}!P_LEFT_BORDER@{P\_\-LEFT\_\-BORDER}}\index{P_LEFT_BORDER@{P\_\-LEFT\_\-BORDER}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define P\_\-LEFT\_\-BORDER\ 35}\label{definitions_8h_a54}\index{definitions.h@{definitions.h}!P_MIN_SIZE_X@{P\_\-MIN\_\-SIZE\_\-X}}\index{P_MIN_SIZE_X@{P\_\-MIN\_\-SIZE\_\-X}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define P\_\-MIN\_\-SIZE\_\-X\ 400}\label{definitions_8h_a52}\index{definitions.h@{definitions.h}!P_MIN_SIZE_Y@{P\_\-MIN\_\-SIZE\_\-Y}}\index{P_MIN_SIZE_Y@{P\_\-MIN\_\-SIZE\_\-Y}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define P\_\-MIN\_\-SIZE\_\-Y\ 300}\label{definitions_8h_a53}\index{definitions.h@{definitions.h}!P_UPPER_BORDER@{P\_\-UPPER\_\-BORDER}}\index{P_UPPER_BORDER@{P\_\-UPPER\_\-BORDER}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define P\_\-UPPER\_\-BORDER\ 40}\label{definitions_8h_a55}\index{definitions.h@{definitions.h}!REQUEST_CHANNELNUMBER@{REQUEST\_\-CHANNELNUMBER}}\index{REQUEST_CHANNELNUMBER@{REQUEST\_\-CHANNELNUMBER}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define REQUEST\_\-CHANNELNUMBER\ 'h'}\label{definitions_8h_a37}\index{definitions.h@{definitions.h}!REQUEST_INTEGRATIONS@{REQUEST\_\-INTEGRATIONS}}\index{REQUEST_INTEGRATIONS@{REQUEST\_\-INTEGRATIONS}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define REQUEST\_\-INTEGRATIONS\ 'i'}\label{definitions_8h_a38}\index{definitions.h@{definitions.h}!RESET@{RESET}}\index{RESET@{RESET}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define RESET\ 'm'}\label{definitions_8h_a42}\index{definitions.h@{definitions.h}!SAVE_DETECT@{SAVE\_\-DETECT}}\index{SAVE_DETECT@{SAVE\_\-DETECT}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SAVE\_\-DETECT\ FALSE}\label{definitions_8h_a23}\index{definitions.h@{definitions.h}!SAVE_WIDGET_X_SIZE@{SAVE\_\-WIDGET\_\-X\_\-SIZE}}\index{SAVE_WIDGET_X_SIZE@{SAVE\_\-WIDGET\_\-X\_\-SIZE}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SAVE\_\-WIDGET\_\-X\_\-SIZE\ 440}\label{definitions_8h_a78}\index{definitions.h@{definitions.h}!SAVE_WIDGET_Y_SIZE@{SAVE\_\-WIDGET\_\-Y\_\-SIZE}}\index{SAVE_WIDGET_Y_SIZE@{SAVE\_\-WIDGET\_\-Y\_\-SIZE}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SAVE\_\-WIDGET\_\-Y\_\-SIZE\ 330}\label{definitions_8h_a79}\index{definitions.h@{definitions.h}!SET_DAT_SEND_INTERVALL@{SET\_\-DAT\_\-SEND\_\-INTERVALL}}\index{SET_DAT_SEND_INTERVALL@{SET\_\-DAT\_\-SEND\_\-INTERVALL}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SET\_\-DAT\_\-SEND\_\-INTERVALL\ 't'}\label{definitions_8h_a49}\index{definitions.h@{definitions.h}!SET_PERIOD@{SET\_\-PERIOD}}\index{SET_PERIOD@{SET\_\-PERIOD}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SET\_\-PERIOD\ 'p'}\label{definitions_8h_a45}\index{definitions.h@{definitions.h}!SOLIDLINE@{SOLIDLINE}}\index{SOLIDLINE@{SOLIDLINE}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define SOLIDLINE\ 1}\label{definitions_8h_a70}\index{definitions.h@{definitions.h}!START@{START}}\index{START@{START}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define START\ 'a'}\label{definitions_8h_a30}Definitions for commands -$>$ You better don't change this !most of commands are sent from max (client) to the polld but some also vice versa some are requests from max for the actual status of the measurements commands defined as chars since network packets contain only unsigned chars \index{definitions.h@{definitions.h}!STOP@{STOP}}\index{STOP@{STOP}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define STOP\ 'b'}\label{definitions_8h_a31}\index{definitions.h@{definitions.h}!TICKPOS@{TICKPOS}}\index{TICKPOS@{TICKPOS}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define TICKPOS\ 30}\label{definitions_8h_a61}\index{definitions.h@{definitions.h}!TICKPOS_X@{TICKPOS\_\-X}}\index{TICKPOS_X@{TICKPOS\_\-X}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define TICKPOS\_\-X\ 15}\label{definitions_8h_a62}\index{definitions.h@{definitions.h}!TICKSIZE@{TICKSIZE}}\index{TICKSIZE@{TICKSIZE}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define TICKSIZE\ 5}\label{definitions_8h_a60}\index{definitions.h@{definitions.h}!UPDATE_INTERVALL@{UPDATE\_\-INTERVALL}}\index{UPDATE_INTERVALL@{UPDATE\_\-INTERVALL}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define UPDATE\_\-INTERVALL\ 500}\label{definitions_8h_a26}\index{definitions.h@{definitions.h}!VGRIDLINES@{VGRIDLINES}}\index{VGRIDLINES@{VGRIDLINES}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define VGRIDLINES\ FALSE;}\label{definitions_8h_a64}\index{definitions.h@{definitions.h}!X_TICKS@{X\_\-TICKS}}\index{X_TICKS@{X\_\-TICKS}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define X\_\-TICKS\ 11}\label{definitions_8h_a59}\index{definitions.h@{definitions.h}!Y_LOWER_LIMIT@{Y\_\-LOWER\_\-LIMIT}}\index{Y_LOWER_LIMIT@{Y\_\-LOWER\_\-LIMIT}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define Y\_\-LOWER\_\-LIMIT\ -5.000}\label{definitions_8h_a66}\index{definitions.h@{definitions.h}!Y_TICKS@{Y\_\-TICKS}}\index{Y_TICKS@{Y\_\-TICKS}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define Y\_\-TICKS\ 11}\label{definitions_8h_a58}\index{definitions.h@{definitions.h}!Y_UPPER_LIMIT@{Y\_\-UPPER\_\-LIMIT}}\index{Y_UPPER_LIMIT@{Y\_\-UPPER\_\-LIMIT}!definitions.h@{definitions.h}}\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define Y\_\-UPPER\_\-LIMIT\ 2}\label{definitions_8h_a65}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -