Esempio n. 1
0
  /** Get all the SCRAMNet channels from the xPC formatted file */
  protected boolean getSCRAMNetChannels() {
    ReadxPCXMLConfig xmlfile = new ReadxPCXMLConfig(new File(xmlPath));
    xml = xmlfile.getxPCConfig();

    // Get the number of Channels
    rbnbChannelNames = new String[xml.getnumxPCReadBlocks()];
    for (int i = 0; i < rbnbChannelNames.length; i++)
      rbnbChannelNames[i] = xml.getxPCReadName(i) + " " + xml.getxPCReadUnits(i);

    return true;
  }