HOME  |  KNOWLEDGE BASE  |  HOW TO BUY  |   MY PROFILE 

US & Canada 1-800-786-8545 / International 1-360-292-4050
SEARCH:


Pull PIPE-FLO data into Excel using X-Link

  • Print this page
    Print this page
  • Remove Highlighting
    Remove Highlighting
  • Edit this Article
    Edit this Article
  • Export to PDF
    Export to PDF
The ability to pull data out of PIPE-FLO using X-Link is extremely useful if there are any comparisons or further analysis that needs to occur with your piping system.
For example:
  • You are monitoring process control data coming in from your plant and you want to compare with PIPE-FLO's calculated results to see if maintenance needs to occur.

  • You want to run cost calculations for your entire lineup over the course of a year to show savings and justify the capital cost of new equipment.

  • You are designing a new system and want to use the brake horse power from your pumps in various lineups to select appropriate motors using your company's Excel based selection tool.

  • You have a large pump purchase order and want to compare it with your system to ensure you have named everything appropriately.


Using X-Link to pull data from PIPE-FLO® into Microsoft® Excel®
  1. Open PIPE-FLO to a system where you wish to pull data from.

  2. Open up an Excel worksheet.  You'll notice you now have some additional options on your toolbar which look like this:  If you don't see these buttons within Excel, right click on the toolbar area and check Pipe-flo Toolbar

  3. Pick a cell on the spreadsheet where you wish the first value to be.

  4. Select the Fill column with data from PIPE-FLO button which looks like this:

  5. In the List items box, select the items you wish to pull from, let's say you just want pump data, select Pumps from the list.

  6. For now, we'll leave the Query Code as the default design.name  You'll see this is a correct code because the box below reads "Known Code" and it is green.  For a complete list of the Query Codes, you can click on the help button shown below, then select Function Codes from the list on the left.   

  7. Hit OK.  You'll now see all your pump names listed in Excel.

  8. Now we'll put the pump's BHP in the next column.  This is done the same way as the design data was imported in step 7 except our Query Code is calc.PumpPower  Don't forget to select Pumps from the drop down list.  Notice the box below switches from red to green once the recognized code is inputted.  Since this is a calculated value, PIPE-FLO automatically switches to calculate mode when a calc value is read into Excel.

  9. Notice that when you click on one of the cells in Excel, the formula looks something like this: =pfeQuery("WCP{001}","calc.pumppower").  This means the formula is still linked with PIPE-FLO and can be updated.  

  10. Now, if you want to calculate the cost of that pump given a motor efficiency of 97% and a power cost of $0.07 per kWh, you can easily create the formula in the next cell which multiplies the pump power cell you just imported by 0.97*0.07.

  11. Next, go back into PIPE-FLO and close one of the pumps.

  12. In Excel, select the Refresh button which looks like this:   Notice that the closed pipeline's TDH has changed to a blank to reflect the closed pipeline.  It is important to note that this refresh will also occur whenever your Excel spreadsheet is opened when PIPE-FLO is running, so you'll want to decide whether to have the cells linked to PIPE-FLO or not.

  13. Now let's assume you want to remove the link to PIPE-FLO, but keep the numbers the same in the spreadsheet.  You can do this by copying the column in Excel and then pasting it using the Paste Special command in the Edit menu.  Select the Values radio button.  If you see a yellow warning sign next to it, click on it and select Convert to Number.  Now these numbers are no longer connected to PIPE-FLO and will not update when opening Excel or when hitting the Read data from PIPE-FLO into controls button.

Additional Notes:
  • There are many different Query Codes available to pull from PIPE-FLO.  The complete list can be found by clicking on the yellow question mark on the Excel tool bar next to the other PIPE-FLO buttons, then select the Function Codes on the left for a list and description of all the codes available.

  • Any components with a quotation in them will not import/export with the Excel macro functions.  For example, LWM-3"pipe will not import/export into Excel.

  • It's important to note that when an item name is changed in PIPE-FLO, it will not update in Excel as shown in step 13.  This is because you are querying PIPE-FLO for a name which no longer exists (because you just renamed it).  To get a new list of the names, you'll need to re-import them as you did in steps 4 - 7.

  • When importing items from Excel back into PIPE-FLO, you should save the PIPE-FLO system after the import.  The system will not prompt you to save the imported data if you close PIPE-FLO.

  • There are some additional considerations for our International customers.  Please see the Related KB article noted below.

Article Details

Last Updated
3rd of November, 2009

Version
2007, 2009

Program
PIPE-FLO Professional

Would you like to...

Print this page Print this page Email this page Email this page Remove Highlighting Remove Highlighting Edit this Article Export to PDF

User Opinions (1 vote)

100% thumbs up 0% thumbs down

How would you rate this answer?



Thank you for rating this answer.

Visitor Comments

  1. Comment 1 Posted by: starfigterin

    This is such a great resource that you are providing and you give it away for free. I love seeing websites that understand the value of providing a quality resource for free

Post a comment

To post a comment for this article, simply complete the form below. Fields marked with an asterisk are required.

Entering your email address is optional. It will not be displayed on this page, but may be used by our staff to contact you regarding your comment.

For technical support, please do not use this form. Use our Web Support Form or email solutions@eng-software.com, instead.

   Name:
   Email:
* Comment:
* Enter the code below: