DigState(String, String) Method
Returns the digital state corresponding to a character string representing the digital state.
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 static AFEnumerationValue DigState(string state, string serverName)
VB
Public Shared Function DigState (state As String, serverName As String) As AFEnumerationValue
Parameters
- String
- A string representing a digital state.
- String
- The PI Server name whose system digital state table is searched for the specified digital state.
Return Value
AFEnumerationValue
AFEnumerationValue object corresponding to a character string representing the digital state.
Remarks
If the character string does not represent a digital state in the system table, returns Nothing. Change to interface - returns AFEnumerationValue instead of PISDK.DigitalState object.
See Also
Reference
PIACEBIFunctions Class
DigState Overload
GHost.GSharp.PI.ACE Namespace