Skip to content
Snippets Groups Projects
Commit 437c3756 authored by Keith Thorne's avatar Keith Thorne
Browse files

change engineering units to MAX_ENGR_UNIT_LENGTH of 40 instead of MAX_CHANNEL_NAME_LENGTH

git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@2418 6dcd42c9-f523-4c6d-aada-af552506706e
parent d002b7e0
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@
#define MAX_LONG_CHANNEL_NAME_LENGTH 255
/* Allowed maximum length for DAQ channels */
#define MAX_CHANNEL_NAME_LENGTH 60
/* Allowed maximum length for engineering units */
#define MAX_ENGR_UNIT_LENGTH 40
/* Groups are absolete and need to be removed from the source code */
#define MAX_CHANNEL_GROUPS 150
/* Hard limit on the number of channel names supported:
......
......@@ -95,7 +95,7 @@ typedef struct {
float signal_gain;
float signal_slope;
float signal_offset;
char signal_units [MAX_CHANNEL_NAME_LENGTH]; /* Engineering units */
char signal_units [MAX_ENGR_UNIT_LENGTH]; /* Engineering units */
} signal_conv_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment