Skip to main content

DigState(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)

VB

Public Shared Function DigState (state As String) As AFEnumerationValue

Parameters​

  String
A string representing a digital state.

Return Value​

AFEnumerationValue
AFEnumerationValue object corresponding to a character string representing the digital state.

Remarks​

Change to interface - returns AFEnumerationValue instead of PISDK.DigitalState object.

See Also​

Reference​

PIACEBIFunctions Class
DigState Overload
GHost.GSharp.PI.ACE Namespace