Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.wpi.first.wpilibj
Class Utility

    java.lang.Object
      edu.wpi.first.wpilibj.Utility

All Implemented Interfaces:
  IDevice, IUtility

    public class Utility

extends Object
implements IUtility

Contains global utility functions

Method Summary
`static long` | `getFPGATime()` Read the microsecond timer from the FPGA.
`static void` | `sendErrorStreamToDriverStation(boolean enabled)` Control whether to send System.err output to the driver station's error pane.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getFPGATime

    public static long getFPGATime()

  Read the microsecond timer from the FPGA.

  Returns:
    The current time in microseconds according to the FPGA.

### sendErrorStreamToDriverStation

    public static void sendErrorStreamToDriverStation(boolean enabled)

  Control whether to send System.err output to the driver station's error pane.

  Parameters:
    `enabled` - if true, send error stream to driver station, otherwise disable sending error stream

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

"
For updated information see the Java FRC site
"