Build and Test a Resource Type

  1. Start the FBEditor.
  2. Create a new resource type in the editor by double-clicking on the ResourceType file in the template folder.
  3. Edit the resource type's elements:
  4. When your editing is complete, save your work with the Save As... button.
    • It is a good idea to save your work from time to time while editing, too!
  5. Generate and compile a Java® source file with the Save As... button.
  6. Resources cannot be tested independently of their containing devices, so you will have to create a system configuration to do this testing. For an example see the TEST_SYS2 configuration.
  7. Document your work. It's not done until it's documented!