Hi,
I'm using RSView SE V4.0, and I have a graphic object that I am trying to animate with 30 tags. Not all at the same time, but conditionally, 1 at a time.
I tried to set up an array in VBA and using an indexing tag it would call the proper tag and use it to control the status color.
What this is: A process flow overview screen showing several pipes, pumps, valves and tanks. The one I am concerned with is the status of the tank that is being filled. There are actually a total of 30 tanks, but only 1 is filled at a time. I don't want to have 30 graphic objects that are only visibile when the appropriate tank is being used. The idea is that if the tank is flashing red, you click on it, and it takes you to 1 of 3 possible pages, depending on which tank is active, each with 10 tanks. This will then show a flashing red valve or any other alarm condition.
The animation editor will not accomodate this many if/then conditions, and I am not very good with VBA.
If anyone is able to make sense of what I typed and can help with using a VBA array of tag names for something like this, it would be much appreciated.
Thanks,
Jim
I'm using RSView SE V4.0, and I have a graphic object that I am trying to animate with 30 tags. Not all at the same time, but conditionally, 1 at a time.
I tried to set up an array in VBA and using an indexing tag it would call the proper tag and use it to control the status color.
What this is: A process flow overview screen showing several pipes, pumps, valves and tanks. The one I am concerned with is the status of the tank that is being filled. There are actually a total of 30 tanks, but only 1 is filled at a time. I don't want to have 30 graphic objects that are only visibile when the appropriate tank is being used. The idea is that if the tank is flashing red, you click on it, and it takes you to 1 of 3 possible pages, depending on which tank is active, each with 10 tanks. This will then show a flashing red valve or any other alarm condition.
The animation editor will not accomodate this many if/then conditions, and I am not very good with VBA.
If anyone is able to make sense of what I typed and can help with using a VBA array of tag names for something like this, it would be much appreciated.
Thanks,
Jim