ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
69069
|
Sat Nov 30 15:46:16 2019 |
| Frank Baptista | caffeinejazz@gmail.com | Request | Windows | 3.1.3-fd7f1e2 | Re: Executing a shell command using elogd Windows service |
Well, there I was, eating Thanksgiving dinner, when suddenly, it hit me (no, not indigestion). I can write a simple program that parses out the latest "Status" from the most recent logbook file -- a relatively easy task, since it's a text file. This solution avoids having to execute a shell command at all. GOOOOOOAAAAAAL!!!
As always, I appreciate all your help...can't thank you enough!
All the best,
Frank
Stefan Ritt wrote: |
Wow, having these color signal lamps really looke like a cute solution, made me laugh.
No, there is no other way than the Execute new thing. I have given up long time ago to use Windows services, because they are very hard to debug and very limited. So at our site everything runs under Linux.
Have you tried to specify the explicit path of your log file? Like Execute new = echo $Status > C:\Path\Last_status.log
Best,
Stefan
Frank Baptista wrote: |
Sorry -- I somehow selected the wrong OS in my original message. Asleep at the wheel again.
Frank Baptista wrote: |
Greetings!
We've been successfully running nearly a dozen separate logbooks on independent laptops -- all of them are running elogd as a Windows service. This works well, since I've also set up auto recovery options in the event that the service inadvertently stops.
Now, I have a need to place the value of an attribute of the latest log entry into a basic text file. Of course, this works just fine if I have launched elogd -x as a normal executable, using Execute new = echo $Status > Last_status.log in my CFG file. However, I would like to be able to do this using the Windows service which is running in the background.
Is there another way to write the value of an attribute into a separate file? If not, do I have to have a special build of ELOG in order to be able to enable the Windows service to execute shell commands? For the record, these logbooks are running on secure laptops that are isolated onto their own network, and the user is unable to edit the CFG file.
In case you're wondering about the reason for the separate text file -- I've written a separate program which illuminates one of 4 different color signal lamps (mounted on a test station), based on the latest "Status" of the test station. (Running, Idle, Broken, Other).
I appreciate any guidance here -- this is a "big deal" here, as one glance over the floor gives us an idea of what's running (or not).
Thanks!
Frank
|
|
|
|
69084
|
Wed Jan 22 19:35:36 2020 |
| Ehab Fanous | efanous@lh.ca | Request | Windows | 3.1.4 | HTML editor tools grayed out |
After we upgarde to eLog 3.1.4 ... The HTML editor tools are grayed out and you can't paste any images in the body of the log like I did below.. Any help will be much appreciated..
|
69085
|
Wed Jan 22 20:02:09 2020 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Windows | 3.1.4 | Re: HTML editor tools grayed out |
This typically happens if you update only the executabe and not the full directory tree with the ELOG JavaScript files.
/Stefan
Ehab Fanous wrote: |
After we upgarde to eLog 3.1.4 ... The HTML editor tools are grayed out and you can't paste any images in the body of the log like I did below.. Any help will be much appreciated..
|
|
69086
|
Thu Jan 23 14:28:28 2020 |
| Ehab Fanous | efanous@lh.ca | Request | Windows | 3.1.4 | Re: HTML editor tools grayed out |
Thank yoy for responding back to me ... I run the excutable that I downloaded from the website .. How can I do the full directory tree with the ELOG JavaScript files??
Stefan Ritt wrote: |
This typically happens if you update only the executabe and not the full directory tree with the ELOG JavaScript files.
/Stefan
Ehab Fanous wrote: |
After we upgarde to eLog 3.1.4 ... The HTML editor tools are grayed out and you can't paste any images in the body of the log like I did below.. Any help will be much appreciated..
|
|
|
69095
|
Fri Jan 24 21:50:37 2020 |
| Ehab Fanous | efanous@lh.ca | Request | Windows | 3.1.4 | Re: HTML editor tools grayed out |
We just tested eLog and it works in Chrome but not in IE .. Is it a setting issue that we need to chnage on IE ?!
Stefan Ritt wrote: |
This typically happens if you update only the executabe and not the full directory tree with the ELOG JavaScript files.
/Stefan
Ehab Fanous wrote: |
After we upgarde to eLog 3.1.4 ... The HTML editor tools are grayed out and you can't paste any images in the body of the log like I did below.. Any help will be much appreciated..
|
|
|
69104
|
Fri Jan 31 18:22:50 2020 |
| Duarte Alexandre Vicente Pais | duarte.pais@psi.ch | Question | Windows | elog-latest | Running ELOG as daemon in Windows not working |
Hi, I tried to set up an ELOG from a windows machine. Its functionalities work without any problem, but I cannot access at all this ELOG from any other machine. I tried to search in this forum, but with no avail.
Could someone perhaps tell me know how to fix this problem? Or did I miss something obvious in the configuration of the ELOG?
Cheers,
Duarte |
69105
|
Fri Jan 31 18:50:09 2020 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | elog-latest | Re: Running ELOG as daemon in Windows not working |
Probably a problem with your Windows Firewall. You have to convice your OS to let you in.
Stefan
Duarte Alexandre Vicente Pais wrote: |
Hi, I tried to set up an ELOG from a windows machine. Its functionalities work without any problem, but I cannot access at all this ELOG from any other machine. I tried to search in this forum, but with no avail.
Could someone perhaps tell me know how to fix this problem? Or did I miss something obvious in the configuration of the ELOG?
Cheers,
Duarte
|
|
69106
|
Fri Jan 31 19:26:51 2020 |
| Duarte Alexandre Vicente Pais | duarte.pais@psi.ch | Question | Windows | elog-latest | Re: Running ELOG as daemon in Windows not working |
Do you know which settings in the firewall panel I should change (windows 10 machine)? I went over all the access rules and could not find anything corresponding to the ELOG.
Duarte
Stefan Ritt wrote: |
Probably a problem with your Windows Firewall. You have to convice your OS to let you in.
Stefan
Duarte Alexandre Vicente Pais wrote: |
Hi, I tried to set up an ELOG from a windows machine. Its functionalities work without any problem, but I cannot access at all this ELOG from any other machine. I tried to search in this forum, but with no avail.
Could someone perhaps tell me know how to fix this problem? Or did I miss something obvious in the configuration of the ELOG?
Cheers,
Duarte
|
|
|