Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

External program displayed

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
User avatar
gluepack
Posts: 460
Joined: Tue 22 Jan 2013 9:20 pm
Weather Station: PCE-FWS 20
Operating System: Win 7 Pro
Location: Zlatina, Bulgaria

External program displayed

Post by gluepack »

I think everything is ok so far. It ran first time but I had to make some mods involving changing folder references in the config file.
One thing that I notice is that now, every time that the external program (a batch file) is invoked, a command prompt window is displayed showing its progress. Is this a Cumulus thing or something else?
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
User avatar
gluepack
Posts: 460
Joined: Tue 22 Jan 2013 9:20 pm
Weather Station: PCE-FWS 20
Operating System: Win 7 Pro
Location: Zlatina, Bulgaria

Re: External program displayed

Post by gluepack »

It's ok, Googling found me some code for a VBS...

Set WshShell = CreateObject("WScript.Shell" )
WshShell.Run chr(34) & "C:\WinSCPMX\upreally.bat" & Chr(34), 0
Set WshShell = Nothing

... that calls my batch file, so the VBS is my "external program" now, instead of the BAT and the command prompt window no longer displays.

I'm not an expert but is it something to do with you using a DOS call now, instead of a WIN call, for the external program?
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: External program displayed

Post by steve »

gluepack wrote:I'm not an expert but is it something to do with you using a DOS call now, instead of a WIN call, for the external program?
The underlying mechanism is the same, but MX uses .Net, so the system calls that it makes are different. With the 'daily' program, I've specified the 'CreateNoWindow' option, but I haven't done that for the others. I'll change it to do that, so hopefully that will fix it.
Steve
User avatar
gluepack
Posts: 460
Joined: Tue 22 Jan 2013 9:20 pm
Weather Station: PCE-FWS 20
Operating System: Win 7 Pro
Location: Zlatina, Bulgaria

Re: External program displayed

Post by gluepack »

Thanks
Image

PWS links: WundergroundIVARNAPR3CWOP/APRSE(W)2048PWSWeatherZLATINABGAwekas10631Twitter@Zlatina_weather
Station type: PCE-FWS 20…Webcam link: View south to edge of Provadisko plateau
Locked