- FactoryTalk Batch
- Recipe Editor
- FactoryTalk Batch Equipment Editor
- Parameters and reports with FactoryTalk Batch
- Phase class overview
- Configure phases
- Operation sequence class configuration
- Operation sequence configuration
- FactoryTalk Batch View
- PhaseManager
- FactoryTalk Batch phases in Logix Designer
- Data from FactoryTalk Batch Server
- FactoryTalk Event Archiver
- FactoryTalk Batch administration
- FactoryTalk Batch security
- FactoryTalk Batch electronic signatures
- The FactoryTalk Batch Service Manager
- The FactoryTalk Batch Server
- FactoryTalk Batch Server option configuration
- PC-based phases introduction
BatchRemote object
The
BatchRemote
object and the BatchServer
object both provide a mechanism used to interact with the FactoryTalk Batch
Server. However, the BatchRemote
object provides additional features, allowing easier access to the server from a remote computer. These additional features include the ability to automatically locate the server computer and time out a connection.Automatically locating a server from a remote client means it is not necessary to specify the server’s computer name. This is especially useful as it allows client applications to be developed in a more generic manner. The server name is written to the Windows registry during a client installation and accessed by the
BatchRemote
object.The timing out of a connection allows client applications to specify timeout periods for a call (
GetItem
or Execute
) or for a connection. Distributed Component Object Model (DCOM) may take a significant amount of time to return an error code on a failed network. The BatchRemote
object can minimize the time and effort required to implement error handling within the client. The timing out of a connection also provides a means to keep a client from hanging while in a connect or call for an extended period.Within a
Visual Basic
script, dimension a BatchRemote
object in order to use the object’s methods and properties. Like the BatchServer
object, the BatchRemote
object exposes only two methods: GetItem
and Execute
. These map directly to the items and executes that are documented within this manual. Any item referenced in this manual can be retrieved through the GetItem
method on the BatchRemote
object. Any execute referenced in this manual can be sent through the Execute
method on the BatchRemote
object.In order to use the
BatchRemote
object, add the Batch Server Remote 1.0 Type Library to the Visual Basic
project.
TIP:
The
FactoryTalk Batch
Server application includes the BatchServer
object, the Batchsvr.exe
file. The BatchRemote
object is in the Batchrem.dll
file. Both files are in the \Bin
subdirectory where FactoryTalk Batch
installs. A type library, Batchsvr.tlb
, installs with the server and can be loaded as a reference in Visual Basic
.For more information on how to reference an object in a
Visual Basic
project, see the Microsoft Visual Basic Programmer's Guide
. Additionally, a header file,
Batchsvr.h
, used for C or C++ programming installs with the server.Provide Feedback