Go to the source code of this file.
Defines | |
#define | MAIN_INITFILE "initmax\0" |
#define | DATA_PACKET_SIZE 1024 |
#define | DEFAULT_HOST "localhost" |
#define | DEFAULT_PORT 20000 |
#define | DATA_SEND_INTERVALL 1000 |
#define | DATA_RECEIVED_INTERVALL 100 |
#define | PARA_SEND_INTERVALL 100 |
#define | MAX_NAME_LENGTH 32 |
#define | MAX_VAR_LENGTH 32 |
#define | ERR_MSG_LENGTH 128 |
#define | MAX_DEVICE_NAME_LENGTH 32 |
#define | BUFSIZE 65000 |
#define | CONNECT_WAIT 50000 |
#define | MAX_INTEGRATIONS 10000 |
#define | MAX_DEVICES 10 |
#define | MAX_VAR 255 |
#define | ACTIVE_VARIABLES 100 |
#define | MAX_ARRAY_SIZE 10000 |
#define | MAIN_GUI_X_SIZE 500 |
#define | MAIN_GUI_Y_SIZE 600 |
#define | MAIN_GUI_POSITION_X 100 |
#define | MAIN_GUI_POSITION_Y 100 |
#define | MIN_BUTTON_SIZE 60 |
#define | SAVE_DETECT FALSE |
#define | INT_TRIGGER_PERIOD 500 |
#define | MONITOR_MODE FALSE |
#define | UPDATE_INTERVALL 500 |
#define | BUTTON_BLINK 500 |
#define | LISTB_UPDATE_INTERVALL 2000 |
#define | PLOT_WINDOW_UPDATE 1000 |
#define | START 'a' |
#define | STOP 'b' |
#define | PAUSE 'c' |
#define | CONTINUE 'd' |
#define | CHANNELNUMBER 'e' |
#define | INTEGRATIONS 'f' |
#define | PRIORITY 'g' |
#define | REQUEST_CHANNELNUMBER 'h' |
#define | REQUEST_INTEGRATIONS 'i' |
#define | ERROR 'j' |
#define | MON_MODE 'k' |
#define | DATAQ_MODE 'l' |
#define | RESET 'm' |
#define | EXT_TRIGGER 'n' |
#define | INT_TRIGGER 'o' |
#define | SET_PERIOD 'p' |
#define | CLEAR_DEVICES 'q' |
#define | CLEAR_PRIORITY 'r' |
#define | KILL_YOURSELF 's' |
#define | SET_DAT_SEND_INTERVALL 't' |
#define | DEAMON_DIES 'u' |
#define | PRIORITY_CHECK 'v' |
#define | P_MIN_SIZE_X 400 |
#define | P_MIN_SIZE_Y 300 |
#define | P_LEFT_BORDER 35 |
#define | P_UPPER_BORDER 40 |
#define | P_DEF_SIZE_X 300-2*P_LEFT_BORDER |
#define | P_DEF_SIZE_Y 200-2*P_UPPER_BORDER |
#define | Y_TICKS 11 |
#define | X_TICKS 11 |
#define | TICKSIZE 5 |
#define | TICKPOS 30 |
#define | TICKPOS_X 15 |
#define | HGRIDLINES TRUE; |
#define | VGRIDLINES FALSE; |
#define | Y_UPPER_LIMIT 2 |
#define | Y_LOWER_LIMIT -5.000 |
#define | AUTOSCALE TRUE |
#define | AS_INTERVAL 1 |
#define | MON_MODE_CHANNELS 1000 |
#define | SOLIDLINE 1 |
#define | POINTS 2 |
#define | MIN_ARRAY_LENGTH 10 |
#define | AXISCOLOR red |
#define | LINECOLOR white |
#define | ARRAYLINECOLOR yellow |
#define | LABELCOLOR white |
#define | BACKGROUND black |
#define | SAVE_WIDGET_X_SIZE 440 |
#define | SAVE_WIDGET_Y_SIZE 330 |
|
|
|
|
|
This variable contains the number of points that have to exceed the upper/lower plot limit, before autoscaling starts. By setting this variable to a value > 1 you can avoid the Plot Widget to rescale for each single overshoot. Only works if austoscale is enabled |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Period after which data received from server is dequeued to be plotted and stored in the database all intervall units are milliseconds default : 500 |
|
Intervall after which buffered data is sent to the client. |
|
|
|
|
|
several ports are used for several channels (sockets) of intercommunication Port : Service of socket : DEFAULT_PORT : DevData send to server from client DEFAULT_PORT+1 : DevData send to client from server DEFAULT_PORT+2 : CommandData send to sever from client DEFAULT_PORT+3 : CommandData send to client from server DEFAULT_PORT+4 : MeasuredData send from server to client |
|
|
|
Length of individual error messages to be shown in the error widget |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Maximum length of parameter and device names. Increase this value, if you want to use longer names in your device parameter initfile |
|
|
|
Maximum length of variable names. Increase this value, if you want to use longer names in your device parameter initfile |
|
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.. |
|
|
|
|
|
|
|
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. |
|
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|