PIACEBIFunctions Class
Implements various shared (static) functions which can be used from ACE calculations.
Definition
Namespace: GHost.GSharp.PI.ACE
Assembly: GHost.GSharp.PI.ACE (in GHost.GSharp.PI.ACE.dll) Version: 1.2.44.3 (1.2.44.3)
C#
public class PIACEBIFunctions
VB
Public Class PIACEBIFunctions
| Inheritance | Object → PIACEBIFunctions |
Remarks
When using the shared functions, users can either specify the full paths (e.g., GHost.GSharp.PI.ACE.PIACEBIFunctions.Trunc()) or use the Imports keyword to import a namespace (e.g., Imports GHost.GSharp.PI.ACE.PIACEBIFunctions) and specify the names (e.g., Trunc()).
Properties
| AdjustClockDrift | Sets and returns if ACE should adjust clock drifts between the ACE machine and PI servers. |
Methods
| ACos | Returns the inverse (or arc) cosine of a number |
| ASin | Returns the inverse (or arc) sine of a number |
| Atn2 | Returns the inverse (or arc) tangent of a pair of numbers, which represent a point on the plane |
| Avg | Returns the average of all the arguments |
| BOD() | Returns the timestamp for the midnight at the start of the current day |
| BOD(Object) | Returns the timestamp for the midnight at the start of a specified day |
| BOM() | Returns the timestamp for the midnight at the beginning of the current month |
| BOM(Object) | Returns the timestamp for the midnight at the start of a specified month |
| BONM() | Returns the timestamp for the midnight at the beginning of the next month |
| BONM(Object) | Returns the timestamp for the midnight at the start of the month next to a specified time |
| Chars | Returns a string from ASCII character codes |
| ClearLastPIACEError | Clears the last error message generated by ACE library functions. |
| Compare | Compares two strings. |
| Concat | Concatenates two or more strings. |
| Cosh | Returns the hyperbolic cosine of an angle. |
| Curve | Returns the y value of a curve given the x value. |
| DaySec | Returns the number of seconds from midnight to a specified time. |
| DigState(String) | Returns the digital state corresponding to a character string representing the digital state. |
| DigState(String, String) | Returns the digital state corresponding to a character string representing the digital state. |
| FONM() | Returns the timestamp for the midnight at the first of the next month. |
| FONM(Object) | Returns the timestamp for the midnight at the first of the month next to a specified time. |
| Frac | Returns the fractional part of a real number. |
| GetLastPIACEError | Gets the last error message generated by ACE library functions. |
| GetPIModuleFromPath(String) | Gets the AFElement for a given path. |
| GetPIModuleFromPath(String, AFElement) | Gets the AFElement for a given path. |
| InRange | Determines if a value is in the specified range. |
| InSet | Determines if a value (a number or string) equals to the specified set of values. |
| IsDST() | Determines if current time is in a daylight saving time (DST) period on the local machine. |
| IsDST(Object) | Determines if a specified time is in a daylight saving time (DST) period on the local machine. |
| Log10 | Returns the base 10 logarithm of a specified number. |
| LogLastPIACEError | Logs the last error message generated by gSharp ACE library functions. |
| LogPIACEMessage | Logs a message to the log file. |
| Max | Determines the maximum from the specified arguments. |
| Median | Returns the median (middle) value of all arguments. |
| Min | Determines the minimum from the specified arguments. |
| Noon() | Determines timestamp for the noon on the current day. |
| Noon(Object) | Determines timestamp for the noon on the day of a specified time. |
| ParseTime(String) | Returns an AFTime object for a given time evaluated with respect to the current time. |
| ParseTime(String, String) | Returns an AFTime object for a given time evaluated with respect to a specified reference time. |
| PIDay() | Represents the day of the month corresponding to current time. |
| PIDay(Object) | Represents the day of the month corresponding to the specified time. |
| PIHour() | Represents the hour component corresponding to current time. |
| PIHour(Object) | Represents the hour component corresponding to the specified time. |
| PIMinute() | Represents the minute component corresponding to current time. |
| PIMinute(Object) | Represents the minute component corresponding to the specified time. |
| PIMonth() | Represents the month component corresponding to current time. |
| PIMonth(Object) | Represents the month component corresponding to the specified time. |
| PISecond() | Represents the seconds component corresponding to current time. |
| PISecond(Object) | Represents the seconds component corresponding to the specified time. |
| PIWeekDay() | Represents the day of the week corresponding to current time. |
| PIWeekDay(Object) | Represents the day of the week corresponding to the specified time. |
| PIYear() | Represents the year component corresponding to current time. |
| PIYear(Object) | Represents the year component corresponding to the specified time. |
| Poly | Evaluates a polynomial with given coefficients at a specified point. |
| PStDev | Determines the population standard deviation of two or more numbers. |
| Sinh | Returns the hyperbolic sine of an angle. |
| SStDev | Determines the sample standard deviation of two or more numbers. |
| Tanh | Returns the hyperbolic tangent of an angle. |
| Total | Determines the sum of all specified arguments. |
| Trunc(Object) | Truncates the specified numeric or timestamp to the next lower integer or second, respectively. |
| Trunc(Object, Object) | Truncates the specified numeric or timestamp to the next lower unit. |
| YearDay() | Represents the day of the year corresponding to the current time. |
| YearDay(Object) | Represents the day of the year corresponding to the specified time. |