FactoryTalk View SE Macro call from VBA

mushburger

Member
Join Date
Feb 2015
Location
Indianapolis
Posts
1
All,

I am in the process of testing a FactoryTalk View SE application that has a display that calls a Macro from VBA. 9 times out of 10 this Macro will get called and work fine, but occasionally the Macro will fail with the message "Command or Macro <macro_name> is unknown."

Here is a list of things I have tried to fix this:
- Deleting and recreating the macro
- Increase the temporary internet file space to max
- Restart IIS
- Call the macro with ExecuteCommand(<macro>) and Application.ExecuteCommand(<macro>) (Macro has failed with both)
- Added another macro to the next line of VBA code. The original macro fails, the new test one works (this is really odd)

I have talked to RA tech support, but there isn't much support for VBA so that didn't get me very far.

Since there is already VBA code, the obvious solution would be to move the macro functionality to the VBA code and remove the macro altogether. This may be what I have to do, but before I do that, I want to find a root cause.

Has anyone ever experienced this, or does anyone have any ideas on other things I can do to fix this?

Thanks
 

Similar Topics

Hello, I am fairly new to AB PLC and HMI. I am using Factorytalk View to create an HMI application. While using Macros, I wanted to create a...
Replies
3
Views
2,391
Hello all I have a question, concerning datalogging in FTViewSE 8.0 I have 2 datalog models with 2 differents recording rates (30s for live...
Replies
0
Views
2,760
Hi guys, I'm quite new to these forums so I wish I post my question in the good section. What I'm trying to accomplish is to display a trend...
Replies
0
Views
4,242
Hello everyone! I am having problems with running a Macro from VB Sub. How can I do it? Thanks in advance, Ilia
Replies
3
Views
4,770
Hello, I have a half-completed PV+6 application that I inherited from another engineer who left the company. I'm using FactoryTalk View ME. I've...
Replies
6
Views
12,077
Back
Top Bottom