KioPacBoards Object

The functions in this class take a device index. The PAC Board API can target multiple devices via the index. If there is only one device present, the index should always be 0.All methods default to 0 if not index is not passed in. Some functions are device-specific.

Functions

Type Signature
int GetPacDeviceType(int pacDevInd = 0, string deviceName = null)
Gets which type is at the index you specify.
bool SetPortStates(int portBits, int pacDevInd = 0, string deviceName = null)
Sets the state of all ports.
bool SetPortState(int portBitIndex, bool isEnabled, int pacDevInd = 0, string deviceName = null)
Enabled or disables an individual port on the controller.
int GetPortStates(int pacDevInd = 0, string deviceName = null)
Returns a bitfield containing the state of all ports, on or off.
bool SetPortIntensity(int portIndex, int intensity, string deviceName, string idValue)
Sets the port intensity level for a specified port.
bool SetPortIntensities(int[] intensities, string deviceName, string idValue)
Sets port intensity levels for multiple ports.