BatchServer object

BatchServer object

The
BatchServer
object provides the mechanism used to interact with the
FactoryTalk Batch
Server by sending execute commands and retrieving data items. The
BatchServer
object represents the same interface the Batch HMI Controls Library uses for interacting with the
FactoryTalk Batch
Server. Thus, all information exposed from the server application is exposed through this interface.
Within a
FactoryTalk Batch
script, a user must dimension a
BatchServer
object in order to use the object’s methods and property. This does not start a new instance of the server, but instead represents a new connection to an existing server. Therefore, the server must be running before the user can dimension a new
BatchServer
object.
The
BatchServer
object is a simple object in that it exposes only two methods and a single property. These methods are
GetItem
and
Execute
. These map directly to the items and executes documented within this manual. Retrieve any item referenced in this manual through the
GetItem
method on the
BatchServer
object. Also, send any execute referenced in this manual with the
Execute
method on the
BatchServer
object.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal