Sets the electrical characteristics of the port.

syntaxSyntax:
DlxSheetport.SetEType(etype)

Parameters

Parameter Description
etype Specify one of the following values:
DlxApp.PORTTYPE_UNDEFINED Pin with function not clearly defined.
DlxApp.PORTTYPE_INPUT Input pin.
DlxApp.PORTTYPE_OUTPUT Output pin.
DlxApp.PORTTYPE_BIDIRECTIONAL Input/Output pin.

Return Value

If the operation ends correctly, it returns true otherwise it returns false.

Example

  Copy codeCopy code

See also