bool SetPortState(int portBitIndex, bool isEnabled, int pacDevInd = 0, string deviceName = null)

Enabled or disables an individual port on the controller. Trust Level Required: High


Name Description
portBitIndex Specifies the ID of the port to toggle.
isEnabled The new state for the specified port. 0 = Disabled, 1 = Enabled
pacDevInd The device index to request an operation on.
deviceName The name of the device.


Returns true on success.