ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
69781
|
Tue Apr 9 13:49:51 2024 |
| David Pilgram | David.Pilgram@epost.org.uk | Question | Linux | ELOG V3.1.4-395 | Re: today date in template | This was given to me by Andreas Luedeke of this parish.
In my elog.cfg file, I have the following:
Preset text = $shell(date '+[%d %b %y]')\n
and this puts at the top of every new thread I make today the following line
[09 Apr 24]
And for the same result for every reply as well, I have in elog.cfg
Prepend on reply = $shell(date '+[%d %b %y]')\n\n----------\n
with the ten dash characters to show the end of the thread, so the reply entry goes above the dashes.
Obviously time, name of day etc can be included by using the strftime codes.
> > This is a nice idea, but currently no text substations in templates are implemented. It only works in attributes right now.
>
> but can it be done by javascript injection? load a custom .js or .html file, in this file run javascript code to root down the DOM tree until you
> find the right place, replace .innerHTML with current date?
>
> K.O. |
69788
|
Sat Apr 20 18:47:37 2024 |
| David Pilgram | David.Pilgram@epost.org.uk | Info | Linux | 3.1.4 | Re: Extendable list of numeric items | I have replied to this entry, because, for some reason I don't understand, if I reply to your latest entry, I am
automatically logged out. I tried this multiple times, and also on many other entries and had no issues other than
entry 69787 - any reason for this, Stefan?
Anyway, what about MOptions? That appears to do what your example, and needs two lines in elog.cfg file:
Moptions WaferID = 1001, 1002, 1003, 1004, 1005
Extendable Options = WaferID
I've done a couple of quick tests on a test logbook I keep for such experimentation, and it appears to do all
you have asked of it. I added a new option 1006. However, I found that one has to add that new one on its own,
let the entry become proper, and then edit the entry to add the other, existing, values. If you tick entries and
also add a new one, then your new entry is all those listed on their own, that is you would get and new entry
in the config file such as "1002 | 1004 | 1006", rather than just 1006
This is probably an result of an unexpected use of Moptions and extendable options, rather than a bug per se.
> Hey,
>
> thanks for your answer. I completely get your point. However, I think my question as not precise enough.
>
> I would like to have a numeric input, but many at the same time. When I make a new post, I would like to have an attribute 'wafer_IDs' that specifies the list of wafers this process has been performed with. So for a single post I would like to have a list like this:
>
> wafer_IDs = numeric value, numeric value, numeric value, extendable
>
> Note: I am not referring here to the option. The numeric values are freely chooses numbers, the only this that varies from post to post is the number of numeric values put.
>
> Let me make an example (If the attribute were a string this would be the equivalent):
>
> 1st post: A process that was run with 3 wafers (ID: 1000, ID: 1001 and ID: 1002):
> wafer IDs = 1000, 1001, 1002
>
> 2nd post: A process that is run with 2 wafers (ID: 1000 and ID: 1002):
> wafer IDs = 1000, 1002
>
> The string solves the issue, but is not as nice as having directly a list of integers.
>
> Thanks for your help!
>
> Best,
>
> Nick |
69800
|
Fri Jul 12 17:39:53 2024 |
| David Pilgram | David.Pilgram@epost.org.uk | Info | Linux | 3.1.4 | Re: Extendable list of numeric items | Just to add some points for others who may find this of use in future.
The hard coded number of entries options or Moptions can have is 100. You can edit the code and recompile, but that would
not gain you many more before other problems concerning memory come in.
Options allow you to only select one from the list; Moptions allow multiple selections from the list.
As mentioned by Sebastian (previous poster) and in my suggestion. I imagined that by Wafer 1060 (say), no new work would be
being done on wafers 1001, ... 1010, so you could edit the config file and remove those (M)options. It does not remove these
wafer IDs from past records, simply that they can no longer be selected for new work to be recorded. In that way the
Moptions list remains short but allows for hundreds or thousands of WaferIDs, ON THE ASSUMPTION that say only 50 (and certainly
less than 100) are being worked on at any one time.
The numbers I chose here were random, it's more to highlight the principle rather than a prescription.
David.
> Just my 2 cents:
>
> There is a hardcoded limit how many entries the Option list can have. Without looking into the source, I assume the limit also exists for MOptions.
> If you want more, you have to recompile elog with the changed limit.
>
> We have used the normal Options attribute and a "Execute new"-script to alter the elog config for the Options list: to sort the list (5 last used entries on top, the rest alphabetical) and remove very old entries, which are not needed any more.
> Remark: if you change the elog.cfg, you have to tell elog to reload the cfg. e.g. using "killall -HUP elogd".
>
> Alternatively, you can add javascript code via a html file and the attributes "Top text" or "Bottom text" to manipulate the input fields on the client side.
>
> Both ways are a little bit hacky, but they work.
> Best wishes,
> Sebastian
>
> > Thanks for you help. This is almost it.
> >
> > The problem is that the items are options and not freely closable numbers. In the end, with your solution, it will show you all of the previously put IDs which will be 1000s of entries for us. I think I will just put a convention that we have to write the numbers spread with a comma in a string
> > field.
> >
> > Thanks.
> >
> > Best,
> >
> > Nick
> >
> >
> > > I have replied to this entry, because, for some reason I don't understand, if I reply to your latest entry, I am
> > > automatically logged out. I tried this multiple times, and also on many other entries and had no issues other than
> > > entry 69787 - any reason for this, Stefan?
> > >
> > > Anyway, what about MOptions? That appears to do what your example, and needs two lines in elog.cfg file:
> > >
> > > Moptions WaferID = 1001, 1002, 1003, 1004, 1005
> > > Extendable Options = WaferID
> > >
> > > I've done a couple of quick tests on a test logbook I keep for such experimentation, and it appears to do all
> > > you have asked of it. I added a new option 1006. However, I found that one has to add that new one on its own,
> > > let the entry become proper, and then edit the entry to add the other, existing, values. If you tick entries and
> > > also add a new one, then your new entry is all those listed on their own, that is you would get and new entry
> > > in the config file such as "1002 | 1004 | 1006", rather than just 1006
> > >
> > > This is probably an result of an unexpected use of Moptions and extendable options, rather than a bug per se.
> > >
> > > > Hey,
> > > >
> > > > thanks for your answer. I completely get your point. However, I think my question as not precise enough.
> > > >
> > > > I would like to have a numeric input, but many at the same time. When I make a new post, I would like to have an attribute 'wafer_IDs' that specifies the list of wafers this process has been performed with. So for a single post I would like to have a list like this:
> > > >
> > > > wafer_IDs = numeric value, numeric value, numeric value, extendable
> > > >
> > > > Note: I am not referring here to the option. The numeric values are freely chooses numbers, the only this that varies from post to post is the number of numeric values put.
> > > >
> > > > Let me make an example (If the attribute were a string this would be the equivalent):
> > > >
> > > > 1st post: A process that was run with 3 wafers (ID: 1000, ID: 1001 and ID: 1002):
> > > > wafer IDs = 1000, 1001, 1002
> > > >
> > > > 2nd post: A process that is run with 2 wafers (ID: 1000 and ID: 1002):
> > > > wafer IDs = 1000, 1002
> > > >
> > > > The string solves the issue, but is not as nice as having directly a list of integers.
> > > >
> > > > Thanks for your help!
> > > >
> > > > Best,
> > > >
> > > > Nick |
66467
|
Tue Jul 28 02:50:42 2009 |
| Dan Duong | Dan.Duong@team.telstra.com | Question | Windows | v2.7.42111 | display GMT time instead of local time in Entry time/ Last edit field | Hi all,
I have set my PC in Time Zone GMT+10:00 but I get GMT time in Entry time/Last edit field.
I have installed in another PC. Which has Time Zone GMT+10:00 but I still get GMT time in Entry time/Last edit field.
Please help. Thank you very much.
|
66476
|
Wed Jul 29 04:56:27 2009 |
| Dan Duong | Dan.Duong@team.telstra.com | Question | Windows | v2.7.42111 | Re: display GMT time instead of local time in Entry time/ Last edit field |
Stefan Ritt wrote: |
Dan Duong wrote: |
Hi all,
I have set my PC in Time Zone GMT+10:00 but I get GMT time in Entry time/Last edit field.
I have installed in another PC. Which has Time Zone GMT+10:00 but I still get GMT time in Entry time/Last edit field.
Please help. Thank you very much.
|
That's strange. I use the C function localtime() to obtain the local time from Windows. The documentation says that this function checks the Windows control panel and returns the proper local time. So far, nobody complained so I guess only you have this problem (anybody else to correct me???). The only hint I found is to set the environment variable TZ. So open a DOS box and enter
set TZ=AST+10
then start elogd.exe interactively in that dos box and see if you get something else.
|
I did as instructed but time was 20 hours behide
I have entered set TZ=AST-10 I got the correct time. I think my elog files have been changed by someone. elogd file is running in DOS box now. Please help how to run elog as normal or correct elog files. Which file I should check. Is it elconv.c file? Thank you Stefan. |
66487
|
Mon Aug 3 03:26:23 2009 |
| Dan Duong | Dan.Duong@team.telstra.com | Question | Windows | v2.7.42111 | Re: display GMT time instead of local time in Entry time/ Last edit field |
Stefan Ritt wrote: |
Dan Duong wrote: |
I did as instructed but time was 20 hours behind.
I have entered set TZ=AST-10 I got the correct time. I think my elog files have been changed by someone. elogd file is running in DOS box now. Please help how to run elog as normal or correct elog files. Which file I should check. Is it elconv.c file? Thank you Stefan.
|
You have to change your environment variable "TZ" system wide. You do that by going to
My Computer/Properties/Advanced/Environment Variables/New
then you enter TZ as the variable name and AST-10 as the value. You might have to reboot your computer.
|
It is working with the correct time stamp now. Thanks you very much Stefan. |
68743
|
Fri Feb 23 21:27:12 2018 |
| Ales Novak | Cortana.Alert@gmail.com | Bug report | Windows | V3.1.3-fd7f1e2 | BSOD | Hi,
I have been using elog for a few years and it is a wonderfull software and has been one that I can't go without. So thank you very much for making it. 
After about a year, I upgraded to the latest version. I noticed that it causes the system to crash. It doesn't seem to happen that often.
I have installed this on 2 machines, one Windows 10 and one on Windows 7. Over the last week I got one BSOD on each OS.
The elogs have different configs and logbooks. One is a simple elog that doesn't have any attachments or anything funky. Just straight text.
Please see attached a screenshot of the Memory.DMP which has happned seconds after an schedule restarted the elog service on my PC.
I will keep monitoring and see if will happen again. But I thought I log it here anyway.
Thanks.
Cheers.
Ales. |
Attachment 1: MemDmp.png
|
|
507
|
Wed Mar 24 17:48:28 2004 |
| Charles Duncan | Charles@YorkU.CA | Question | Linux | 2.5.1-1 Debian Linux | Elog Utility | I am trying to use the Elog Utility to import a few thousand entries. So
far I have run into a few problems.
a) Cannot get elog utility to speak to elogd on port 8080. Even though I
use the -p 8080 option with elog. I was able to get it to work when I
moved my server to port 80.
b) I cannot get elog to work with and attributes or logbooks that contain
spaces. Please refer the the following example:
elog -v -h scotland.ccs.yorku.ca -p 80 -a "Station Number"="CC001" -a "Mac
Address"="000874fdc895" -a "Hostname"="cc001.cnscommons.yorku.ca" -a "IP
Address"="10.6.10.52" -a "Manufacturer"="Dell" -a "Model Line"="Optiplex" -
a "Model Number"="GX270" -a "Monitor Manufacturer"="Dell" -a "Monitor
Model"="E151FP" -a "Memory"="512MB" -a "CPU Speed"="2.6GHz" -a "Hard
Drive"="40GB" -a "Service Count"="-" -l WSC2 -u charles xxxxx "DD/MM/YY:
Change Description"
This line executes fine. Except only Hostname, Manufacturer, Memory and
text are populated in the record. All the rest of the fields are blank.
c) the only way I was able to get the transaction to work was by reducing
the size of the log book to a single word (ie WSC2).
Do I have to reduce all my attributes to single words? Or am I missing
something simple to use as a delimiter for entry??
Thanks in advance
-Charles- |
|