Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

A file containing details of customer addresses can be found in the input files, at:
…\inputData\AddressCheck\custAddrFiles\input\custAddr_20090322_1.txt
Open this file and have a look at the data in it.
Notice, in particular, that there is a header line in the file with the column names of the data in the file.
Add a new file collector to your model to read this file into PhixFlow:

  • Drag Image Removed Drag Image Added - Add a new File Collector onto the modelling pane
  • In the new file collector form that pops up, enter the Name: Customer Addresses
  • Press OK
  • You will now see the new File Collector on the modelling pane

    Press the button Save the model layout to make sure that the new file collector will be shown when you re-open this model. Remember to save the model layout every time you add a new modelling component.

    Set up File Collector and Stream

  • Hover over your new file collector, and press
  • In the file explorer, go to: …\inputData\AddressCheck\custAddrFiles\input
  • Select the file custAddr_20090322_1.txt and press Open
  • In the Upload Managed File form, press Upload
  • You will see a stream appear on your model – PhixFlow has automatically configured the file collector and the stream to load the file into PhixFlow.

...

  • Hover over the stream (the icon Image Modified on your model) CustomerAddresses
  • In the hover menu press

...

  • Hover over the stream – a hover menu appears
  • Select the Image Removed the Image Added - Run Analysis - this will run the stream, and read in data from the file of customer addresses via the file collector
  • You will get a confirmation message when this has completed - we will look at the console later

...

  • Hover over the stream, and in the hover menu press Image Removed press Image Added - Show the list of Stream Views
  • In the drop down list, select Default View