ExecuteCommand method
Runs the specified command string. The command must be fully qualified or relative to the area specified in the FactoryTalk View SE Client configuration.
Syntax
Application
.ExecuteCommand
(CommandString
)where
Application
– is the name of a FactoryTalk View SE
Client Application object or an expression that evaluates to a FactoryTalk View SE
Client Application object.CommandString
– is a string that specifies the command that is to be run, any parameters the command requires, and any path information that is needed to identify the area a component or tag belongs to if it is not in the same area as the FactoryTalk View SE Client.Remarks
- The ExecuteCommand method is asynchronous and therefore the specified command is not guaranteed to complete running before the next VBA statement is run. You will have to ensure that any code that uses this method, handles this possibility.
- When testing the animation in displays in the Graphics editor, the commands that can be run are the same as those that can be run from an object on a display that is being test animated.
Provide Feedback