ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
65864
|
Fri May 2 00:58:04 2008 |
| Paul O'Shaughnessy | paul_o'shaughnessy@inmarsat.com | Request | Windows | 2.7.3 | Extending attribute list | Hello everyone, I am new to the forum.
I currently have an attribute which is a list. From this drop down menu, I can only access around 100 options (ELog restriction I think). How can I extend my drop down list to say 200?
Example:
Attributes = RB
Options RB = a, b, c, ...,etc.
Thanks,
Paul |
65867
|
Mon May 5 08:51:10 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Windows | 2.7.3 | Re: Extending attribute list |
Paul O'Shaughnessy wrote: |
Hello everyone, I am new to the forum.
I currently have an attribute which is a list. From this drop down menu, I can only access around 100 options (ELog restriction I think). How can I extend my drop down list to say 200?
Example:
Attributes = RB
Options RB = a, b, c, ...,etc.
|
The number of 100 options is defined in elogd.c with
#define MAX_N_LIST 100
You could try to increase this to 200, but I have no idea if you will hit some other memory limit then. So what about conditional attributes? You subdivide your list into several smaller lists, like
Attributes = Category, RB
Options Category = Cat1{1}, Cat2{2}
{1}Options RB = a,b,c,d...
{2}Options RB = e,f,g,h,...
this is then also easier to handle, as compared to select a value from a very long list.
|
65868
|
Tue May 6 14:49:54 2008 |
| Paul O'Shaughnessy | paul_o'shaughnessy@inmarsat.com | Request | Windows | 2.7.3 | Re: Extending attribute list |
Stefan Ritt wrote: |
Paul O'Shaughnessy wrote: |
Hello everyone, I am new to the forum.
I currently have an attribute which is a list. From this drop down menu, I can only access around 100 options (ELog restriction I think). How can I extend my drop down list to say 200?
Example:
Attributes = RB
Options RB = a, b, c, ...,etc.
|
The number of 100 options is defined in elogd.c with
#define MAX_N_LIST 100
You could try to increase this to 200, but I have no idea if you will hit some other memory limit then. So what about conditional attributes? You subdivide your list into several smaller lists, like
Attributes = Category, RB
Options Category = Cat1{1}, Cat2{2}
{1}Options RB = a,b,c,d...
{2}Options RB = e,f,g,h,...
this is then also easier to handle, as compared to select a value from a very long list.
|
Stefan,
Thanks for that advice. I have made that change to the elogd.c file, but the only problem I don't know how to compile Elog to make that change take effect. I did the stop and restart of the elog service in windows, but that made no difference. How do I compile ELog? Sorry for my ignorance, but I am fairly new to Elog. |
65869
|
Tue May 6 15:17:52 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Windows | 2.7.3 | Re: Extending attribute list |
Paul O'Shaughnessy wrote: |
Stefan Ritt wrote: |
Paul O'Shaughnessy wrote: |
Hello everyone, I am new to the forum.
I currently have an attribute which is a list. From this drop down menu, I can only access around 100 options (ELog restriction I think). How can I extend my drop down list to say 200?
Example:
Attributes = RB
Options RB = a, b, c, ...,etc.
|
The number of 100 options is defined in elogd.c with
#define MAX_N_LIST 100
You could try to increase this to 200, but I have no idea if you will hit some other memory limit then. So what about conditional attributes? You subdivide your list into several smaller lists, like
Attributes = Category, RB
Options Category = Cat1{1}, Cat2{2}
{1}Options RB = a,b,c,d...
{2}Options RB = e,f,g,h,...
this is then also easier to handle, as compared to select a value from a very long list.
|
Stefan,
Thanks for that advice. I have made that change to the elogd.c file, but the only problem I don't know how to compile Elog to make that change take effect. I did the stop and restart of the elog service in windows, but that made no difference. How do I compile ELog? Sorry for my ignorance, but I am fairly new to Elog.
|
You need a C compiler to compile Elog under Windows. If you don't have one, I would suggest to follow the advice to use conditional attributes. This does not require a recompilation of Elog. |
65874
|
Wed May 7 17:33:54 2008 |
| Paul O'Shaughnessy | paul_o'shaughnessy@inmarsat.com | Request | Windows | 2.7.3 | Re: Extending attribute list |
Stefan Ritt wrote: |
Paul O'Shaughnessy wrote: |
Stefan Ritt wrote: |
Paul O'Shaughnessy wrote: |
Hello everyone, I am new to the forum.
I currently have an attribute which is a list. From this drop down menu, I can only access around 100 options (ELog restriction I think). How can I extend my drop down list to say 200?
Example:
Attributes = RB
Options RB = a, b, c, ...,etc.
|
The number of 100 options is defined in elogd.c with
#define MAX_N_LIST 100
You could try to increase this to 200, but I have no idea if you will hit some other memory limit then. So what about conditional attributes? You subdivide your list into several smaller lists, like
Attributes = Category, RB
Options Category = Cat1{1}, Cat2{2}
{1}Options RB = a,b,c,d...
{2}Options RB = e,f,g,h,...
this is then also easier to handle, as compared to select a value from a very long list.
|
Stefan,
Thanks for that advice. I have made that change to the elogd.c file, but the only problem I don't know how to compile Elog to make that change take effect. I did the stop and restart of the elog service in windows, but that made no difference. How do I compile ELog? Sorry for my ignorance, but I am fairly new to Elog.
|
You need a C compiler to compile Elog under Windows. If you don't have one, I would suggest to follow the advice to use conditional attributes. This does not require a recompilation of Elog.
Stefan,
I can get my hand on a C compiler. What the process involved?
Thanks,
Paul
|
|
65875
|
Wed May 7 19:55:30 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Windows | 2.7.3 | Re: Extending attribute list |
I can get my hand on a C compiler. What the process involved?
Sorry, but teaching you how to compile C programs is beyond the scope of this forum. Please buy a book for that. Most C compilers also comes with some decent documentation. You might try gcc under cygwin or Visual C++. |
65876
|
Thu May 8 09:44:48 2008 |
| Paul O'Shaughnessy | paul_o'shaughnessy@inmarsat.com | Request | Windows | 2.7.3 | Re: Extending attribute list |
Stefan Ritt wrote: |
Sorry, but teaching you how to compile C programs is beyond the scope of this forum. Please buy a book for that. Most C compilers also comes with some decent documentation. You might try gcc under cygwin or Visual C++.
|
Stefan,
Thanks for your help. Will get back to you on how compiling the program went. |
65877
|
Fri May 9 14:04:42 2008 |
| Franck C | franck.c95@free.fr | Request | Windows | | Re: Can u send me the configuration file for this logbook ? |
Stefan Ritt wrote: |
Franck C wrote: |
Hi, I try to set up a logbook and i wanted to create something with icons (like this logbook) and it will be easier for me if i have ur config file 
Thanks a lot
Franck
|
https://midas.psi.ch/elogs/Config+Examples/2
- Stefan
|
Ok thanks... but i meant this Forum logbook... Can u give me the configuration file and the css file if i need a different one ?
thanks a lot by advance |
|