Rockwell Automation FactoryTalk Transaction Manager User Guide User Manual

Page 145

Advertising
background image

A

FactoryTalk Transaction Manager Sample Applications

145

The sample illustrates the following two methods in the FactoryTalk
Transaction Manager Application Program Interface (API) for triggering
transactions:

RSSqlUnconnectedTrigger() function: The only parameter is the name
of the transaction to be triggered (case sensitive). This function
establishes a connection to the FactoryTalk Transaction Manager
service, sends the trigger request, and stops the connection. This
function works well when the number of trigger requests is small. The
Visual Basic version of this call is RSSqlUnconnectedTriggerVB().

RSSqlConnectedTrigger() function: The only parameter is the name of
the transaction to be triggered (case sensitive). In addition, this function
requires that the calling function use the RSSqlConnect() and
RSSqlDisconnect() functions to manage the connection. This function
is better suited for applications in which a large number of transactions
must be triggered. The Visual Basic version of this call is
RSSqlConnectedTriggerVB(), and the related calls are
RSSqlConnectVB() and RSSqlDisconnectVB().

For more information, see the topic ―API Calls‖ in the FactoryTalk
Transaction Manager online help.

Advertising