RSview SE, VBA & Weather

fischb22

Member
Join Date
Nov 2006
Location
asd
Posts
3
I have RSView SE, and i would like to be able to pull weather information off the internet and show this on the rsview se application, i also have plans to act on some of that information in the PLC)


i've been playing around with VBA learning how to read/write tags, but i've not been able to open an RSS feed or get any weather information.


is this something that is possible? and does anyone have any suggestions?
 
It should be possible, but will likely be pesky. You'll have to:
1. Do an http "get" or "put" - programmatically open a URL.
2. Parse the output for what you want.

This post provides an example in Python in FactoryPMI. You may be able to borrow some of the code if you use regular expressions.

I took it a step further in an example and downloaded all the images that Yahoo Weather uses (partly cloudy, sunny, etc) and dynamically displayed that along with the temp, humidity, etc.
 

Similar Topics

Hello there, I'm new at the forums and with HMI programming and would like to ask for some help. I'm having trouble migrating a VBA code from...
Replies
1
Views
3,085
Need a bit of help. I have a older rsview app running on Windows nt that runs fine. My clients wanted to update and now the same project will...
Replies
12
Views
3,010
I have a global object that is a group of a series of objects one of which is a button. The push of the button needs to execute a VB script based...
Replies
0
Views
4,690
Hallo, I got a Cognex Scanner for dormatrix code. I want to read it in a RSView 32 Application. Therefore I need a VBA Code. Did anybody from...
Replies
0
Views
1,948
In RSView we have the operators read in several pieces of information from a barcode reader. None of the bar codes have any tab, CR, LF, or any...
Replies
4
Views
3,120
Back
Top Bottom