It freezes instantly (with nothing on serial) when the program is done (the results uploaded and saved to disk) and wants to show the results online.
I got the message "Opening results..." once when it froze, but not a second time. There is froze after showing the message that it has saved the results to disk.
Seems to be something broken when it ought to start the browser? But it may as well be something on my system, so before i bother Hans, i'd like to get a confirmation...or not.
/*
Get rid of any quotes around the URL, we add the quotes again when we send the
URL to the browser to cure Odyssey not being able to work with spaces in links.
Reason for that is that double or triple quotes could have been read in
(possibly sent from other programs) and we maybe also need to add the http://
or file:/// statement, which would in turn break the URL/path string, i.e.
http://"This-is-the-url" or file:///"This-is-the-path"
*/
URL=COMPRESS(URL,'"')
/*
Check for and, if needed, add the missing http:// statement in front of the link, otherwise Odyssey (and probably other browers) won't load the page and
check for YAM's method of displaying html documents as temporary files in
RAM:T and add the needed file:/// statement in ... bsp;of the path, otherwise
Odyssey (and probably other browers) won't load the page from RAM/Disk.
*/
IF POS("http",URL) = 0 THEN DO
IF POS("RAM",URL) > 0 THEN
URL="file:///"URL
ELSE
URL="http://"URL
END
/*
Check for Odyssey running, if it is, just open the site/file on a new tab.
*/
IF POS("ODYSSEY", SHOW(PORTS)) > 0 THEN DO
ADDRESS ODYSSEY.1
SHOW
OPEN NEWPAGE NAME '"'URL'"'
EXIT 0
END
/*
If it's not running, start Odyssey and then open the site.
*/
ADDRESS COMMAND "WBRun APPDIR:ODYSSEY"
DO FOREVER
IF POS("ODYSSEY", SHOW(PORTS)) > 0 THEN DO
ADDRESS ODYSSEY.1
SHOW
ADDRESS COMMAND "Wait 2"
OPEN NAME '"'URL'"'
EXIT 0
END
END
I use this rexx script in URL Prefs (not sure if it fails when URL have/uses quotes): if show('PORTS','ODYSSEY.1') then do address ODYSSEY.1 OPEN NAME url NEWPAGE end else do address command 'APPDIR:Odyssey' url end
You got an easier method, but i remember having such a short script in place and sometimes failing because of Odyssey wasn't up and running or simply opening a blank page.
The freeze might be due to my FOREVER loop, have to check when i got some more time
For some strange reason it works now...well, not exactly strange, i switched from a 8139 PCI to 8169 PCIe network card and now everything works WITH my script in place and without any freezes.
I did some more testing with the new hardware and i found even more good stuff.
I can access my NAS again in full speed (access speed went down to a crawl with the PCI hw after the router, where the NAS is connected to, got a new firmware update) - fixed now and the access speed is measurable faster too.
Overall web access seems to be faster as well, so it was a good thing trashing the PCI network card.
edit: i read about PCIe network cards reducing cpu load on net access, but i cannot confirm that. Maybe in the background or invisible within the driver, but not measurable with i.e. cpu load docky.
Controller Processor: Realtek RTL8111E Data Rate(s) Supported: 10M,100M,1Gbps(1000 Mbps). Single-Lane (x1) PCI-Express with transfer rate 2.5Gb/s Full Duplex channel Compliant with PCI Express Revision 1.0a. PCI Express x1 interface, compatible with PCI Express x1, x4, x8, x16 slots. Supports Full Duplex flow control (IEEE 802.3x). Fully compliant with IEEE802.3, 802.3ab, 802.3u, 802.3x, 802.1q, VLAN. Supports IEEE 802.1P Layer 2 Priority Encoding Plug and Play Support. OS supported: designed for Windows 98SE, Windows ME, Windows 2000, XP, Vista, Windows 7 /8 / 10, Mac, Linux/Unix and others.
Package included:
1 x PCIE Giga LAN Card 1 x Low Profile Bracket 1 x Driver CD