Skip to main content
The FME Quiz

The FME Challenge

Flex your practical FME skills and win a prize!


Building an FME Car: An FME Golf Challenge

Description

Safe Software has branched out into car construction, and obviously, every car is controlled by an embedded instance of FME Flow.

Starting Point

Our task today is to work on the cruise control system. We have a workspace (click here to download) that will:
  • Accept the driver’s input for cruise speed (a published parameter)
  • Send that value to the car’s engine (controlled by FME Flow)
  • Receive confirmation back from the engine and output it for display

Your Task

The workspace operates in kph (kilometres per hour), but to be usable worldwide, we must allow the driver to optionally set and receive speed information in mph (miles per hour). So your tasks are:

  • Add a user parameter to select whether the input is mph or kph
  • If the input is mph, convert it to kph before sending it to the engine
  • If the input is mph, convert the engine output back to mph before displaying it
  • Make the final workspace as small as possible in terms of file size

Important

  • All inputs and outputs should be integers, so you will need to round values.
  • Be careful with rounding. I can think of at least two potential points of failure!

Results

An FME Golf challenge means you must make your workspace as small as possible, following all of the FME Golf Rules and Regulations.

I suggest that you solve the problem first, then try to reduce the solution in size as a second stage.