com.impinj.octane

## Class GpoConfig

- java.lang.Object
- - com.impinj.octane.GpoConfig

-     public class GpoConfig
      extends java.lang.Object

  Container class for holding the configuration of a single General Purpose output
  See Also:
    `GpoConfigGroup`, `Settings.getGpos()`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GpoConfig()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `getGpoPulseDurationMsec()`
    `GpoMode` | `getMode()`
    `int` | `getPortNumber()`
    `void` | `setGpoPulseDurationMsec(long gpoPulseDurationMsec)`
    `void` | `setMode(GpoMode mode)`
    `void` | `setPortNumber(int portNumber)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GpoConfig

          public GpoConfig()

  - ### Method Detail

    - #### getPortNumber

          public int getPortNumber()

      Returns:
        the port number associated with the GPO

    - #### setPortNumber

          public void setPortNumber(int portNumber)

      Parameters:
        `portNumber` - associated with the GPO

    - #### getMode

          public GpoMode getMode()

      Returns:
        the current mode of the GPO

    - #### setMode

          public void setMode(GpoMode mode)

      Parameters:
        `mode` - desired mode of the GPO

    - #### getGpoPulseDurationMsec

          public long getGpoPulseDurationMsec()

      Returns:
        the pulse duration of the GPO for use when the mode is pulsed

    - #### setGpoPulseDurationMsec

          public void setGpoPulseDurationMsec(long gpoPulseDurationMsec)

      Parameters:
        `gpoPulseDurationMsec` - the desired pulse duration of the GPO for use when the mode is pulsed