Skip to main content

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
InheritanceObject → 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​

AdjustClockDriftSets and returns if ACE should adjust clock drifts between the ACE machine and PI servers.

Methods​

ACosReturns the inverse (or arc) cosine of a number
ASinReturns the inverse (or arc) sine of a number
Atn2Returns the inverse (or arc) tangent of a pair of numbers, which represent a point on the plane
AvgReturns 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
CharsReturns a string from ASCII character codes
ClearLastPIACEErrorClears the last error message generated by ACE library functions.
CompareCompares two strings.
ConcatConcatenates two or more strings.
CoshReturns the hyperbolic cosine of an angle.
CurveReturns the y value of a curve given the x value.
DaySecReturns 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.
FracReturns the fractional part of a real number.
GetLastPIACEErrorGets 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.
InRangeDetermines if a value is in the specified range.
InSetDetermines 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.
Log10Returns the base 10 logarithm of a specified number.
LogLastPIACEErrorLogs the last error message generated by gSharp ACE library functions.
LogPIACEMessageLogs a message to the log file.
MaxDetermines the maximum from the specified arguments.
MedianReturns the median (middle) value of all arguments.
MinDetermines 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.
PolyEvaluates a polynomial with given coefficients at a specified point.
PStDevDetermines the population standard deviation of two or more numbers.
SinhReturns the hyperbolic sine of an angle.
SStDevDetermines the sample standard deviation of two or more numbers.
TanhReturns the hyperbolic tangent of an angle.
TotalDetermines 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.

See Also​

Reference​

GHost.GSharp.PI.ACE Namespace