NEL's Software Products Centre - ppds.co.uk


Part of TUV NEL Ltd.Link to TUV NEL website

Site Search
Start Search
Match:
any search words
all search words


News FeedReceive Club News via our XML/RSS feed


TUV NEL Events

Forthcoming Events

Check out whats coming up in 2008

PPDS Dual Interface

The objects and methods exposed by the ppdscom PPDS native API is the most flexible way of interfacing to the calculation engine.

These objects have DUAL interfaces and can thus be used from within all common programming languages, including scripting languages (VB Script and JavaScript) found in web applications. The objects are written as an in-process DLL (runs in the same process as the user’s code), using the apartment threading model, and they communicate using COM/DCOM with an out of process PPDS server, which may reside on the same machine as the user’s code, or be hosted remotely.

Schematic diagram of the PPDS API Objects

Overview diagram of the PPDS API Objects

The Session object forms the root of the object tree. You must create one of these and use it to connect to a PPDS Server before you can do anything else. Typically this object is then used to create stream and component objects which can then perform calculations which return properties. All objects created by the Session, use the PPDS server to which the session is connected.

ppdscom api in object viewer

Screenshot of the ObjectBrowser showing the objects and methods within the PPDS Dual Interface

The current PPDS API provides the flexibility to provide validated physical property data ranging from a simple point calculation to a complete interface.

Some examples of the type of application that can be developed using the PPDS Dual Interface are discussed in the Bespoke Solutions section

ppdscom VB code being debugged

Screenshot of script based flash calculation being debugged.

There is an extensive manual detailing the interface calls, with example code snippets to illustrate its operation.