001// Copyright (c) FIRST and other WPILib contributors. 002// Open Source Software; you can modify and/or share it under the terms of 003// the WPILib BSD license file in the root directory of this project. 004 005package edu.wpi.first.hal.communication; 006 007/** NI RIO status. */ 008public class NIRioStatus { 009 /** RIO status offset. */ 010 public static final int kRioStatusOffset = -63000; 011 012 /** Success. */ 013 public static final int kRioStatusSuccess = 0; 014 015 /** Buffer invalid size. */ 016 public static final int kRIOStatusBufferInvalidSize = kRioStatusOffset - 80; 017 018 /** Operation timed out. */ 019 public static final int kRIOStatusOperationTimedOut = -52007; 020 021 /** Feature not supported. */ 022 public static final int kRIOStatusFeatureNotSupported = kRioStatusOffset - 193; 023 024 /** Resource not initialized. */ 025 public static final int kRIOStatusResourceNotInitialized = -52010; 026 027 /** Default constructor. */ 028 public NIRioStatus() {} 029}