Package com.zebra.rfid.api3
Class GPOs
- java.lang.Object
-
- com.zebra.rfid.api3.GPOs
-
public class GPOs extends java.lang.ObjectRepresents the General Purpose Output (GPO)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classGPOs.PortThis class represents the individual GPO Port
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLength()Gets the number of GPO ports supportedGPO_PORT_STATEgetPortState(int portIndex)Gets the current GPO State as enabled or disabledvoidsetPortState(int portIndex, GPO_PORT_STATE portState)Sets the current GPO State as enabled or disabled
-
-
-
Method Detail
-
getPortState
public GPO_PORT_STATE getPortState(int portIndex) throws InvalidUsageException, OperationFailureException
Gets the current GPO State as enabled or disabled- Parameters:
portIndex- Index of the GPI port to be enabled/disabled- Returns:
- GPO Port State
- Throws:
InvalidUsageExceptionOperationFailureException
-
setPortState
public void setPortState(int portIndex, GPO_PORT_STATE portState) throws InvalidUsageException, OperationFailureExceptionSets the current GPO State as enabled or disabled- Parameters:
portIndex- Index of the GPI port to be enabled/disabledportState- GPO Port State to be set- Throws:
InvalidUsageExceptionOperationFailureException
-
getLength
public int getLength()
Gets the number of GPO ports supported
-
-