LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Davis Instruments Vangage Pro Weather Station and LabVIEW

I would make sure the latest VISA drivers are downloaded to the fieldpoint controller.  And also that the fieldpoint drivers themselves are up to date.  You should be able to find all of this under the fieldpoint device in MAX.
0 Kudos
Message 11 of 20
(2,992 Views)
Just ordered a Vantage Pro last night, the Monitor II is showing it's age. Maybe I'll put the info I learned from this post to use in LabVIEW.
 
Thanks for the links from the Davis site.
 
-AK2DM
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 12 of 20
(2,940 Views)
Hi! i´ve been trying to interface a Davis Vantage Pro with LabVIEW. I´m using the DLL that they provide in their website and calling those functions in my program using the Call Library Function Node. The program works very good until I try to leave, then it throws a memory.cpp error. I think I might be doing a bad access to the functions in the DLL but I don´t know how to fix it. Does anyone know?
 
Thanks
Leo
 
 
0 Kudos
Message 13 of 20
(2,849 Views)
Hi Leo,
 
Thank you for contacting National Instruments.  Memory.cpp errors are sometimes difficult to isolate.  You said the program works until you try to leave.  How long is the program running before the error occurs?  Does the error seem to always occur at the same time?  Also, is there any more information that comes with this error? Error line number perhaps? 
 
It sounds like you might have a memory leak issue.  I look forward to hearing back from you.
 
Regards,
 
Kevin H
National Instruments
WSN/Wireless DAQ Product Support Engineer
0 Kudos
Message 14 of 20
(2,829 Views)
If you get memory errors when you leave, then the solution is to never leave. Smiley Very Happy
0 Kudos
Message 15 of 20
(2,827 Views)
Hi! thanks for answering that fast. The error message that appears says:


Fatal Internal Error: "memory.cpp", line 342

It appears when I close the LabVIEW, not when I finish the application.
The DLL that I´m using makes a serial port access, and also it reserves some space in the memory to load the data from the station. There is no function to release that space, I think the problem might be related to that.
I´m attaching the code to this message, and the DLL.
 
Someone said not to leave the program... well this program might never end because it´s a kind of datalogger, but I don´t know if after a lot of loops from the program it will throw the same error.
 
Thanks
Leo
0 Kudos
Message 16 of 20
(2,803 Views)

Hey Leo,

I think you are on the right track.  Any program that continously allocates new memory will eventually run into some memory problems, and that is most likely the cause of your error.  I would definitely see if you could rewrite part of that dll to better manage memory in your application.

Regards,

Kevin H

National Instruments
WSN/Wireless DAQ Product Support Engineer
0 Kudos
Message 17 of 20
(2,784 Views)

 

hi, im mexican and my english is not so good but i going to try to explain my problem. I have a station wheater vantage pro2 and the console without software. my question is, can i connect the station through any port wireless to labview? or  i've to buy the wheaterlink to connect the station with the cable usb or serial. I saw your program but doesn't say anything about this, you can help my.

0 Kudos
Message 18 of 20
(2,064 Views)

I am fairly new to labview but I want to read information from davis weather onto labview using a 3rd party software called weatherlink. I think that is what is going on--and I have read some information on the forums but I am still confused.

 

So far I have installed weather link and have gotten davis vantage vue to display weather readings onto weather link software GUI. The software comes with a read me file that I have been through over and over. I think I have downloaded the .dll files correctly. I am using a serial connection with a serial to usb adapter since my cpu doesn't have a serial port. My original plan is to run the serial connector through a cRIO and into a cpu. Anyways, when I open the sample VI given by davis I'm using the serial sample but I get a Load Current Vantage data error. This seems to be the only problem that is preventing this code from running.

 

Does anyone have any experience in this area that can help me out? In the mean time I'll continue looking around in the forums for more help. It's possible I don't have a good understanding of what I'm doing.

 

Thank you

0 Kudos
Message 19 of 20
(1,887 Views)

Hi break,

 

This thread hasn't been updated in over 5 years, I would strongly recommend making a new thread for this.

 

0 Kudos
Message 20 of 20
(1,852 Views)