RSView32 VBA Help

200mV

Member
Join Date
May 2015
Location
Sacramento
Posts
3
Hello all,

New to the forums here and glad to find this oasis of RSView/FactoryTalk info!

I have a basic VB question I hope can be answered easily...

What I am trying to accomplish is dimming out an object and setting it to the active graphic for ONLY viewing it in the watch window on the VBA side of things...

This version of VBA seems different than I am used to....

First it seems I can not "step" through my code and debug using the watch window which appears to make things fairly difficult...

Why can't I step through the code?

Is there a special sequence of events to make this possible?

It appears when I step into the subroutine, the code is just fired off and completely runs the entire sub?

Secondly, it also appears the compiler ignores my break points?

Why is this?

My main goal is attempting to create some script that loops through the open graphics' objects to ONLY watch the looped objects in the watch window...(for debugging tags so I don't have to manually go through each object)

If the above two issues are not a possibility, how can I accomplish this?

Thanks to anyone who responds!
 
First off, are you running RSView32 or FactoryTalkView SE?

Here is VBA Info:
Best Practices
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/35147

All you need to know about VBA
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/459824

Error Handling Techniques
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/51771

(love the title of this one)
How to decide if VBA code requires further reviewing by a programmer, when you are not a VBA programmer yourself
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/64624

Here is VBA Model in Color:
https://www.dropbox.com/s/upfyn1zwsa0s7x5/Rockwell VBA Model.pdf?dl=0

Here is VBA Model in B&W:
https://www.dropbox.com/s/2uibltd563j1txs/Rockwell VBA Model BW.pdf?dl=0
 
We are using RSView32...

I think we found what we need with "Peek", but I thought I would get fancy and make a "find" loop for my co-worker...

Why doesn't a break point halt the vb thread?

Why can't I truly step through the code?

It seems like the compiler wants to run the code completely and I can't debug it...

Thanks for the reply!
 

Similar Topics

Hi, I'm pretty new to the RSVIEW32 & have encounted a problem whilst coding visual basic. The error is:- Compile Error: Sub or Function not...
Replies
6
Views
2,167
Hey, I'm looking for a bit of guidance on some vba code in RSView32. For the record I know zero (I know its shameful) VBA code. What I'm trying...
Replies
7
Views
5,596
Good friends, I'm new to the forum, I'm working with RSview32, someone can help me how to make a macro in VBA, to save some data in Excel. to...
Replies
6
Views
1,959
We were given RSView32 project files, for quoting, that will be converted to FTView SE. Unfortunately the project has VBA references that were...
Replies
9
Views
4,326
Hi, I got a RSview32 project from site with VBA scripts and trying to run on my local machine to make some graphical changes. VB scripts are used...
Replies
6
Views
3,510
Back
Top Bottom