Code Method
Returns the digital state code associated with the value of a tag at current execution time.
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 int Code()
VB
Public Function Code As Integer
Return Value
Int32
Returns the digital state code associated with the value of the tag at current execution time; if the value is not a digital state, returns -1; if it is null (i.e., could not be determined), raise an error.
See Also
Reference
PIACEPoint Class
Code Overload
GHost.GSharp.PI.ACE Namespace