Welcome to the Cumulus Support forum.

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

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Error -32701 on VP2 Weather Envoy USB

Discussion specific to Davis weather stations
Post Reply
ntserver
Posts: 7
Joined: Mon 02 Mar 2009 10:00 pm

Error -32701 on VP2 Weather Envoy USB

Post by ntserver »

Hi

I really like your program so i decide to test it, i am using WeatherLink 5.7.1 at the moment.
I have dissabled that and try to use Cumulus 1.8.5 build 725, but i get only error -32701 when i try to conect.
Here is the debug entries i have

2009-03-02 22:40:05 : Cumulus 1.8.5 Build 726 startup

=============================== OS version info =================================
Platform : Windows NT, Windows 2000, Windows XP, or Windows Server 2003 family.
OS Name : Windows XP (Service Pack 3)
(Major Version[ 5 ] Minor Version[ 1 ] Build Number[ 2600 ] Platform ID[ 2 ])
===================================================================================

2009-03-02 22:40:05 : Station type: Davis Vantage Pro2
2009-03-02 22:40:05 : Loading all time records file C:\Program Files\Cumulus\data\alltime.rec
2009-03-02 22:40:05 : No all time records file found
2009-03-02 22:40:05 : Showing main form
2009-03-02 22:40:05 : Read today file: Date = 00/00/00, LastUpdateTime = 3/2/2009 10:40:05 PM
2009-03-02 22:40:05 : Todayfileraindaystart = -1
2009-03-02 22:40:05 : Todayfile is for today
2009-03-02 22:40:05 : Finding raintoday from logfile C:\Program Files\Cumulus\data\Mar09log.txt
2009-03-02 22:40:06 : Read yesterday file: Date = 00/00/00
2009-03-02 22:40:06 : 10:40:05 PM EWUSB Form Create
2009-03-02 22:40:06 : VP2: CloseCommPort_V, res = 0
2009-03-02 22:40:06 : VP2: Open connection, type = 1
2009-03-02 22:40:06 : VP2: GetUSBDevSerialNumber, ID = 0
2009-03-02 22:40:06 : 10:40:05 PM EWUSB: HidControl Arrival
2009-03-02 22:40:06 : 10:40:05 PM EWUSB: HidControl Arrival
2009-03-02 22:40:06 : 10:40:05 PM EWUSB: HidControl Arrival
2009-03-02 22:40:06 : 10:40:05 PM EWUSB: HidControl Arrival
2009-03-02 22:40:06 : 10:40:05 PM EWUSB: HidControl Arrival
2009-03-02 22:40:06 : 10:40:05 PM EWUSB: HidControl Arrival
2009-03-02 22:40:06 : 10:40:05 PM EWUSB: HidControl Arrival
2009-03-02 22:40:06 : 10:40:05 PM EWUSB: HidControl Arrival
2009-03-02 22:40:06 : 10:40:05 PM EWUSB: HidControl Arrival
2009-03-02 22:40:06 : 10:40:05 PM EWUSB: HidControl DeviceChange
2009-03-02 22:40:06 : VP2: InitStation_V, res = -32701
2009-03-02 22:40:41 : VP2: CloseCommPort_V, res = 0
2009-03-02 22:40:41 : VP2: Open connection, type = 1
2009-03-02 22:40:41 : VP2: GetUSBDevSerialNumber, ID = 0
2009-03-02 22:40:41 : VP2: InitStation_V, res = -32701
2009-03-02 22:40:55 : Logging switched
2009-03-02 22:41:03 : VP2: CloseCommPort_V, res = 0
2009-03-02 22:41:03 : VP2: Open connection, type = 1
2009-03-02 22:41:04 : VP2: GetUSBDevSerialNumber, ID = 0
2009-03-02 22:41:04 : VP2: InitStation_V, res = -32701
2009-03-02 22:41:18 : VP2: CloseCommPort_V, res = 0
2009-03-02 22:41:18 : VP2: Open connection, type = 1
2009-03-02 22:41:18 : VP2: GetUSBDevSerialNumber, ID = 0
2009-03-02 22:41:18 : VP2: InitStation_V, res = -32701
2009-03-02 22:41:55 : VP2: CloseCommPort_V, res = 0
2009-03-02 22:41:55 : VP2: Open connection, type = 1
2009-03-02 22:41:55 : VP2: GetUSBDevSerialNumber, ID = 0
2009-03-02 22:41:55 : VP2: InitStation_V, res = -32701
2009-03-02 22:53:08 : VP2: CloseCommPort_V, res = 0
2009-03-02 22:53:08 : VP2: Open connection, type = 0
2009-03-02 22:53:08 : VP2: OpenCommPort_V, port = 0 res = -32701
2009-03-02 22:53:08 : VP2: SetVantageTimeoutVal_V, res = -32701
2009-03-02 22:53:28 : VP2: CloseCommPort_V, res = 1
2009-03-02 22:53:28 : VP2: Open connection, type = 1
2009-03-02 22:53:28 : VP2: GetUSBDevSerialNumber, ID = 0
2009-03-02 22:53:29 : VP2: InitStation_V, res = -32701
2009-03-02 22:55:25 : VP2: CloseCommPort_V, res = 1
2009-03-02 22:55:25 : VP2: Open connection, type = 1
2009-03-02 22:55:25 : VP2: GetUSBDevSerialNumber, ID = 0
2009-03-02 22:55:25 : VP2: InitStation_V, res = -32701
2009-03-02 22:56:10 : VP2: CloseCommPort_V, res = 1
2009-03-02 22:56:10 : VP2: Open connection, type = 1
2009-03-02 22:56:10 : VP2: GetUSBDevSerialNumber, ID = 0
2009-03-02 22:56:10 : VP2: InitStation_V, res = -32701
2009-03-02 22:59:07 : VP2: CloseCommPort_V, res = 1
2009-03-02 22:59:07 : VP2: Open connection, type = 1
2009-03-02 22:59:07 : VP2: GetUSBDevSerialNumber, ID = 0
2009-03-02 22:59:07 : VP2: InitStation_V, res = -32701

I hope you can help me with this

Thanks
Tomas Falkman
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Error -32701 on VP2 Weather Envoy USB

Post by steve »

Yes, it appears that the USB connection code doesn't work. I don't know why, I'm just calling the new functions in the new Davis vantagepro DLL, but it appears not to be able to detect the device:

2009-03-02 22:40:06 : VP2: GetUSBDevSerialNumber, ID = 0

Could you try something, please? Could you download this file:

http://nybbles.co.uk/cumulus/CP210xManufacturing.dll

Copy it into the Cumulus installation folder and see if it helps? I think it's unlikely, but it's worth a try.

If that doesn't work, you will need to install the Davis CP210X driver, and use Cumulus in serial port mode.

Steve
ntserver
Posts: 7
Joined: Mon 02 Mar 2009 10:00 pm

Re: Error -32701 on VP2 Weather Envoy USB

Post by ntserver »

Hi

Thank you for your quick reply
I have tried that .dll and reboted, but it is the same problem
Will test with the CP210X driver and get back to you with the result

//Tomas
ntserver
Posts: 7
Joined: Mon 02 Mar 2009 10:00 pm

Re: Error -32701 on VP2 Weather Envoy USB

Post by ntserver »

Hi again

I did install the Davis driver but i still have the same problem
Are there anything else i can try?

Here are a new debuglog

2009-03-03 01:19:01 : Cumulus 1.8.5 Build 726 startup

=============================== OS version info =================================
Platform : Windows NT, Windows 2000, Windows XP, or Windows Server 2003 family.
OS Name : Windows XP (Service Pack 3)
(Major Version[ 5 ] Minor Version[ 1 ] Build Number[ 2600 ] Platform ID[ 2 ])
===================================================================================

2009-03-03 01:19:01 : Station type: Davis Vantage Pro2
2009-03-03 01:19:01 : Loading all time records file C:\Program Files\Cumulus\data\alltime.rec
2009-03-03 01:19:01 : No all time records file found
2009-03-03 01:19:01 : Showing main form
2009-03-03 01:19:01 : Read today file: Date = 3/3/2009, LastUpdateTime = 3/2/2009 10:40:05 PM
2009-03-03 01:19:01 : Todayfileraindaystart = -1
2009-03-03 01:19:01 : Todayfile is for today
2009-03-03 01:19:01 : Finding raintoday from logfile C:\Program Files\Cumulus\data\Mar09log.txt
2009-03-03 01:19:01 : Read yesterday file: Date = 00/00/00
2009-03-03 01:19:01 : 1:19:01 AM EWUSB Form Create
2009-03-03 01:19:01 : VP2: CloseCommPort_V, res = 0
2009-03-03 01:19:01 : VP2: Open connection, type = 1
2009-03-03 01:19:01 : VP2: GetUSBDevSerialNumber, ID = 0
2009-03-03 01:19:01 : 1:19:01 AM EWUSB: HidControl Arrival
2009-03-03 01:19:01 : 1:19:01 AM EWUSB: HidControl Arrival
2009-03-03 01:19:01 : 1:19:01 AM EWUSB: HidControl Arrival
2009-03-03 01:19:02 : 1:19:01 AM EWUSB: HidControl Arrival
2009-03-03 01:19:02 : 1:19:01 AM EWUSB: HidControl Arrival
2009-03-03 01:19:02 : 1:19:01 AM EWUSB: HidControl Arrival
2009-03-03 01:19:02 : 1:19:01 AM EWUSB: HidControl Arrival
2009-03-03 01:19:02 : 1:19:01 AM EWUSB: HidControl Arrival
2009-03-03 01:19:02 : 1:19:01 AM EWUSB: HidControl Arrival
2009-03-03 01:19:02 : 1:19:01 AM EWUSB: HidControl DeviceChange
2009-03-03 01:19:02 : VP2: InitStation_V, res = -32701
2009-03-03 01:19:06 : Logging switched
2009-03-03 01:19:12 : VP2: CloseCommPort_V, res = 0
2009-03-03 01:19:12 : VP2: Open connection, type = 0
2009-03-03 01:19:12 : VP2: OpenCommPort_V, port = 0 res = -32701
2009-03-03 01:19:12 : VP2: SetVantageTimeoutVal_V, res = -32701


Best regards

Tomas Falkman
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Error -32701 on VP2 Weather Envoy USB

Post by steve »

You still have USB selected. The Davis driver creates a virtual serial port; you need to use that in Cumulus.

Steve
ntserver
Posts: 7
Joined: Mon 02 Mar 2009 10:00 pm

Re: Error -32701 on VP2 Weather Envoy USB

Post by ntserver »

Hi

I have tried without the driver, on USB and Serial, with the driver with USB and Serial, no luck.
When i start my WheaterLink i see that it is conect to Com 3, is that causing any problem?, is there anyware i can configure the Com port in Cumulus?

//Tomas
ntserver
Posts: 7
Joined: Mon 02 Mar 2009 10:00 pm

Re: Error -32701 on VP2 Weather Envoy USB

Post by ntserver »

I found the problem
After changing port 0 to 3 in Cumulus.ini it start to downloading data

//Tomas Falkman
Post Reply