¿ªÔÆÌåÓý

Date
Locked Re: Execute a Windows Batch File from LogixNG or Script #logixng
Am 30.09.2024 um 15:50 schrieb Vinny DeRobertis: I get the screenshots until I quit JMRI. My script: import java java.lang.Runtime.getRuntime().exec(["C:/temp/screenshot.bat", ""]) I'm running
By Klaus Killinger · #234886 ·
Locked Re: Execute a Windows Batch File from LogixNG or Script #logixng
Good idea... a little MORE brute force won't hurt.
By Vinny DeRobertis · #234885 ·
Locked Re: Screenshot of JMRI
Windows also has built in *Snipping Tool* which allows you to get the whole screen or just a region. -- -splasher in somd -NCE PowerCab with Raspberry Pi 3b+ and JMRI -DCC-EX with Arduino
By splasher · #234884 ·
Locked Re: Problems with Persistent PI4 USB ports
John, Some additional details. The previous serial library, purejavacom, had a process to find device names that started with a set of prefixes, One of them was ttyUSB. For technical reasons, a
By Dave Sand · #234883 ·
Locked Re: Execute a Windows Batch File from LogixNG or Script #logixng
It¡¯s a bit brute force, but you could write a JMRI script or LogixNG that calls your .bat file every four seconds. Bob ¡ª Bob Jacobsen rgj1927@...
By Bob Jacobsen · #234882 ·
Locked Re: Execute a Windows Batch File from LogixNG or Script #logixng
When I run it from windows it continues to take a screen shot every 4 seconds until I close the DOS window but when I run it from Bob's script it takes 1 screen shot and ends.
By Vinny DeRobertis · #234881 ·
Locked Re: Problems with Persistent PI4 USB ports
*I* know nothing about poll_usb.sh -- where does this file come from?
By Robert Heller · #234880 ·
Locked Re: Execute a Windows Batch File from LogixNG or Script #logixng
Attached .bat renamed.txt It takes a screenshot every 4 seconds.
By Vinny DeRobertis · #234879 ·
Locked Re: Screenshot of JMRI
Do a Google search for your particular OS version. Win+ PrtScr is one suggestion for windows Alt+PrtScn works for me in Linux Mint -- Peter Ulvestad JMRI Users Group Moderator (
By Peter Ulvestad · #234878 ·
Locked Screenshot of JMRI
Hi, How can i get screenshot of my JRMI screens (Shift + Ctrl + S doesn't work) ?
By Jean-Louis Free · #234877 ·
Locked Request about Warrant from a newbie. #warrants
Hi, I am new to JRMI. Do you know if there is somewhere (Web, PDF, video) a place to get information for about aytomation using warrants, but a very simple example?
By Jean-Louis Free · #234876 ·
Locked Re: Execute a Windows Batch File from LogixNG or Script #logixng
Vinny, Can you show us the batch file you are trying to run? Daniel
By danielb987 · #234875 ·
Locked Re: Problems with Persistent PI4 USB ports
John, I am not sure that this is the official method but it does work. Copy the jmri.conf file from the JMRI install to ~/.jmri. Edit the file and add the serial port names. If more than one,
By Dave Sand · #234874 ·
Locked Re: Problems with Persistent PI4 USB ports
Robert, Followed your instructions to reload ("sudo udevadm control -R¡±), it gives me the same results, which appears as I had before. This isn¡¯t a new issue, after replacing the PH-Pro adapter,
By John Bauchiero · #234873 ·
Locked Re: Execute a Windows Batch File from LogixNG or Script #logixng
Vinny, You can use an indirect notification from Windows using the LogixNG "File as flag" expression which can then run the Jython script. See
By Dave Sand · #234872 ·
Locked Re: Execute a Windows Batch File from LogixNG or Script #logixng
Vinny, You cannot call a Jython script from outside of the JMRI/Java world. It would be helpful to know what you are actually trying to do. What does the bat file do? Dave Sand
By Dave Sand · #234871 ·
Locked Re: test release 5.9.4 linux withrottle server problem
Jim, If you feel more adventurist, you can download a nightly build https://builds.jmri.org/jenkins/job/development/job/packages/ which already has the fix. I use these all the time. -- Peter
By Peter Ulvestad · #234870 ·
Locked Re: Execute a Windows Batch File from LogixNG or Script #logixng
...rephrasing, how can I call a jython script x.py from within a windows/DOS batch file?
By Vinny DeRobertis · #234869 ·
Locked Re: Execute a Windows Batch File from LogixNG or Script #logixng
Well, that did not work. What about this... how would I call the jython script from the command line? That would solve this for me.
By Vinny DeRobertis · #234868 ·
Locked Re: JMRI Error: Service mode programmer NCE is offline. #nce
Hi En-TACT. As Ken has suggested, the LEDs on the USB Interface blink briefly while there is communication, on steady, you have a problem. Please install ALL the USB Interface Jumpers, see Dave
By Marcus Ammann · #234867 ·