bool SetPortStates(int portBits, int pacDevInd = 0, string deviceName = null)
Sets the state of all ports. Trust Level Required: High
Parameters
| Name | Description |
| portBits | The new state for all ports, combined into a bitfield, where the lowest order bit is the first port. |
| pacDevInd | The device index to request an operation on. |
| deviceName | The name of the device. |
Return
Returns true on success.