Versions Compared

Key

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

...

You will now add a new file collector to your model to read this file into PhixFlow.

  1. In From the model toolbar, drag 
    Insert excerpt
    _file_collector
    _file_collector
    nopaneltrue
     into  onto the model.
  2. In the new file collector settings tab that opens, enter the Name: Customer Addresses.
  3. Click 
    Insert excerpt
    _finish
    _finish
    nopaneltrue
    .
  4. You will now see the new file collector on the model.

    In the

    model

    toolbar, click

    Insert excerpt
    _save
    _save
    nopaneltrue
     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 a file collector and

...

table

  1. Hover over your new file collector, and click
    Insert excerpt
    _upload_file
    _upload_file
    nopaneltrue
    .
  2. In the file explorer, go to: …\inputData\AddressCheck\custAddrFiles\input.
  3. Select the file custAddr_20090322_1.txt and click Open.
  4. In the Upload Managed File window, click the 
    Insert excerpt
    _upload_button
    _upload_button
    nopaneltrue
     button.
  5. PhixFlow adds a new stream table to your model. PhixFlow has automatically configured the file collector and the stream table to load the file into PhixFlow.

...

  1. In your model, hover your mouse pointer over the stream icon Image Removed for CustomerAddressesthe 
    Insert excerpt
    _tableOnly
    _tableOnly
    nopaneltrue
     icon for Customer Addresses.
  2. In the popup toolbar, click 
    Insert excerpt
    _static
    _static
    nopaneltrue
    .

...

  1. In your model, hover your mouse pointer over the stream icon Image Removedthe 
    Insert excerpt
    _tableOnly
    _tableOnly
    nopaneltrue

    icon.
  2. In the popup toolbar, select the
    Insert excerpt
    _run_analysis
    _run_analysis
    nopaneltrue
    . PhixFlow runs the model, reading in data from the file of customer addresses via the file collector.
  3. You will get a confirmation message when this has completed. We will look at messages in the console later.

View

...

table data

To view the data you just loaded:

  1. In your model, hover your mouse pointer over the stream icon Image Removedthe 
    Insert excerpt
    _tableOnly
    _tableOnly
    nopaneltrue

    icon.
  2. In the popup toolbar, click 
    Insert excerpt
    _view_show
    _view_show
    nopaneltrue
    .
  3. In the drop-down list, select  
    Insert excerpt
    _view_default
    _view_default
    nopaneltrue
    .