/** * Returns the TabularData * * @return TabularData containing the rows corresponding the NetworkTable */ public TabularData getNetworkTable() { try { if (table != null) return Utilities.getTabularData(this, indexNames, table, instrClassName, null); else if (vec != null) return Utilities.getTabularData(this, indexNames, vec, instrClassName, null); } catch (Exception ex) { ex.printStackTrace(); } return null; }
/** * Returns the TabularData * * @return TabularData containing the rows corresponding the AlarmTable */ public TabularData getAlarmTable() { // User code starts here if (true) { return getTable(); } // User code ends here try { if (table != null) return Utilities.getTabularData(this, indexNames, table, instrClassName, null); else if (vec != null) return Utilities.getTabularData(this, indexNames, vec, instrClassName, null); } catch (Exception ex) { ex.printStackTrace(); } return null; }