Increase string sizes trying solve the issue that the calibration field resets to 32 chars when starting the frontend
This commit is contained in:
@@ -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 <equipment> 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
|
||||
*
|
||||
|
||||
+2
-2
@@ -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|<langpibserver>|<tcp/ip server name>
|
||||
* CHAN : use communication handle of CHAN
|
||||
* <Channel number>
|
||||
@@ -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|<langpibserver of GOSSEN>|
|
||||
* <tcp/ip name of PSIBL> */
|
||||
/* CHAN: use communication handle of CHAN <Channel number> */
|
||||
|
||||
Reference in New Issue
Block a user