The following API functions are available for use with the stPro Automation Interface:
API method: |
Description: |
Adds a pen to the trend graph. |
|
Adds a pen to the trend graph specifying the required item via it's Alias name. |
|
Add an additional session to the stPro client. |
|
Close the currently visible stPro client session. |
|
Set the data collection attributes when connected directly to a Data Source. |
|
Instructs the control to connect to the named Sapphire Collector. |
|
Instructs the control to connect to the named Data Access (DA) OPC Server. |
|
Instructs the control to connect to the named Historical Data Access (HDA) OPC Server. |
|
Causes the control to disconnect from the current Data Source. |
|
Causes the control to disconnect from all connected Data Sources. |
|
Allow the control to establish connections with more than one Data Source. |
|
Populates the graph with data and control the scan state. |
|
Re-scale all the pens in Auto-scale mode. |
|
Gets the specific connection attribute for the default Data Source. |
|
Gets the list of currently connected Data Sources. |
|
Reports on the state of the default connection. |
|
Gets the name of the current plot (if any). |
|
Get a handle to the current session. |
|
Get the Connection String for the Data Source that is the default for creating new plots etc. |
|
Returns a mask indicating what is currently displayed in the plot. |
|
Get the last API Error. |
|
Returns the number of items being currently being trended. |
|
Gets the specified attribute for the chosen pen. |
|
Get the Pen handle for a given Item. |
|
Returns the list of pens currently being trended. |
|
Get the specified attribute for the Active plot. |
|
Get a list of known plots. |
|
Returns the list of SDRs held by the data collector the control is connected to. |
|
Get the name of the current session. |
|
Get a list of the names of all the loaded sessions. |
|
Fetch the value of the specified User Preference for the current User account. |
|
Returns version information about the control. |
|
Call this function to determine whether stPro has a valid connection to a Data Source. |
|
Check to see if the Item assigned to the given pen is valid. |
|
Call this function to load a plot file into an existing or a new window. |
|
Customize the control from a predefined user preferences file. |
|
Call this function to load a session file into an existing instance of stPro. |
|
Call this function to create a plot window. |
|
Send the current plot file to the default Printer for printing. |
|
Remove all the pens within the current plot. |
|
Remove all the open plots. |
|
Remove a pen that is currently being based on it's item name. |
|
Removes a pen that is currently being trended using it's item handle. |
|
Call this function to remove the given plot. |
|
Save the plot to the specified filename. |
|
Sets the connection attributes for the default Data Source. |
|
Call this function to make the specified Plot the current plot. |
|
switch between loaded sessions (see AddSession). |
|
Elect which Data Source is used as the default when creating new plots etc. |
|
Sets the delimiting character for separating sections of attribute values |
|
Controls what is displayed in the plot. |
|
Sets the duration of the period the plot covers. |
|
Set the required Graph Style for the plot. |
|
Set the specified attribute for the chosen pen. |
|
Set the specified attribute fore the chosen plot. |
|
Set the period for the plot by specifying the required start and end time. |
|
Request that the high and low Y-axis scales for the pen are automatically calculated. |
|
Link the scales for the Current pen to another pen using pen handles. |
|
Link the scales for the Current pen to another pen using Item names. |
|
Set the high and low Y-axis scales to user specified values. |
|
Sets the SDR for the trend. This determines what points can be plotted on the plot. |
|
Set the pen Targets for Radar Plots. |
|
Set a specific User Preference for the current User. |
|
Synchronizes all other graphs with this plot. |