diff --git a/device/epics_ca_private.h b/device/epics_ca_private.h index 73049ad..09c3cab 100644 --- a/device/epics_ca_private.h +++ b/device/epics_ca_private.h @@ -29,7 +29,7 @@ /*----------------------------------------------------------------------------*/ -#define CHN_NAME_LENGTH 32 /* length of channel names */ +#define CHN_NAME_LENGTH 256 /* length of channel names */ #define CHNFLAGS_LENGTH 16 /* chan flags string size */ /*----------------------------------------------------------------------------*/ @@ -71,7 +71,7 @@ * checks are possible. To make sure WAIT INRANGE in autorun * waits until all operations are completed. * - * DD/EPICS Channel name [] max. 32 characters + * DD/EPICS Channel name [] max. 256 characters * * DD/Used [] y/n * diff --git a/device/expmag.cxx b/device/expmag.cxx index cd7b00e..eb55c26 100644 --- a/device/expmag.cxx +++ b/device/expmag.cxx @@ -108,7 +108,7 @@ typedef struct { int epics_channels; /* number of EPICS channels in /Devices/EXPMAG/EPICS/DD*/ char device[EMNDEVS][16]; /* device names WEDAMP WEUDAC WED .... */ char type[EMNDEVS][16]; /* device type MAG|PSIBL|GOSSEN|IPS120|EPICSGFA */ - char server[EMNDEVS][32]; /* "information server" : + char server[EMNDEVS][255]; /* "information server" : * CHAN|MAG|EPICS|| * CHAN : use communication handle of CHAN * @@ -426,7 +426,7 @@ typedef struct _ExpmagRec { int channel; /* channel number of device */ char device[16]; /* device names WEDDAC WEDAMP WED .... */ char type[16]; /* device type MAG|PSIBL|GOSSEN|EPICSGFA */ - char server[32]; /* "information server" + char server[256]; /* "information server" * CHAN|MAG|EPICS|| * */ /* CHAN: use communication handle of CHAN */