Powerbuilder and RS View32

sweety616

Member
Join Date
Jul 2005
Location
New Jersey
Posts
36
Dear Friends:
I am not sure if this question is relevant in this forum. But I have a situation here. A PLC program was developed to capture some important real-time machine data on some of our high speed packaging lines. I built the panels through which the operator enters the data. I need to capture that data using RS View32 and powerbuilder. I created tags for all the required information and created VBA script in RSView. How do I transfer this data into my powerbuilder database. Can anyone help me with this?

Thank You
Sweety
 
Sweety,

One of the easiest ways is, in your VBA program, set up the DIMension, Tag variables, and Print Format, then "Print" to a *.csv file, which can be read by a database or spreadsheet program. See attached example VBA file (Word format).

Once the file is created, with all Tags that you wish to transfer, then you can open this same csv-type file with Powerbuilder. One of the limitations is that you must not have the Powerbuilder file open when RSView tries to write to it. The attached program gets around this difficulty by creating a new data file once a day at midnight, then writes new data once a minute. As long as any user only looks at yesterday's data, there is never a problem. If users need to see today's data, you will have to add a file-sharing routine, or create a new file more often, perhaps once an hour, then let users only view previous hour's data.
 
Last edited:

Similar Topics

Dear Friends: I have real-time data coming into powerbuilder from RSview. I need to create a reporting tool for the data. As I am new...
Replies
0
Views
1,748
I'm attempting to get a very old system running again that uses allenbradley plc / realview32 i have full access to the windows 2000 installation...
Replies
2
Views
115
I'm importing an RSView32 project into FTView SE. I'm using Legacy Tag Database Conversion on a virtual machine with Windows XP, I did the first...
Replies
0
Views
368
Hi everybody, I have a rsview32 application, when I try to run it it loads upto 80% system settings and the crashes saying Rsview32 Project...
Replies
3
Views
1,904
Hi Guys I'm having trouble assigning a tag to an activex label on a Multipage Tab. I can assign the tag to an active x label on a normal display...
Replies
0
Views
592
Back
Top Bottom