Re: [foxboro] Foxview

Ok, that's why it worked for us.  We never put anything on a display that
doesn't come from an m1 file, or almost never anyway.  Sorry about that.

Tim Lowell
Control Systems Engineer
Phillips Petroleum Company, Trainer Refinery
Phone:  610-364-8362
Fax:    610-364-8211
tlowell@xxxxxxxx


        -----Original Message-----
        From:   Jason Wright [SMTP:jwright@xxxxxxxxxxxxxxxxxx]
        Sent:   Thursday, October 18, 2001 11:08 AM
        To:     foxboro@xxxxxxxxxxxxx
        Subject:        Re: [foxboro] Foxview


        Last time I checked there is no manual for the ".g" file format nor
had
        Foxboro the intention to create one. Long story. I think the dflt
line only
        captures connections through m1 files. I put an excerpt of a script
below
        that we had used in the past to get a complete C:B.P list
(combination of
        dedit and g file extractions). I hope you find it helpful. If you
have any
        questions, please let me know.

        -jp

        for file in `cat $1`
        do
          # create file
          echo "Connection Report \n" >$file.xrp
          # get connection report with dedit
          /usr/fox/wp/bin/tools/dedit -cr $file.fdf
          fdf_g $file.fdf
          # Remove all non compound:block.param information
          tail +5 $file.txt >$file.tmp
          awk '{print $2}' $file.tmp >$file.txt
          more $file.txt |grep ":" >$file.tmp
          more $file.tmp |grep "\." >$file.txt

          #  The following lines extract the compound and block for linked
.m1 files
          #  from the .g file.

          awk -F"^" '/flt_cmp/ {print $2 ":" $3}' $file.g >$file.a
          sed s/"dflt_cmp="//g $file.a >$file.b
          sed s/"dflt_blk="//g $file.b >$file.a
          sed s/$/.NAME/g $file.a > $file.b
          cat $file.b >> $file.txt

        ___
        Jason Wright
        ControlSoft, Inc.
        (216) 397-3900 x201

        -----Original Message-----
        From: foxboro-bounce@xxxxxxxxxxxxx
        [mailto:foxboro-bounce@xxxxxxxxxxxxx]On Behalf Of Theobald, Martin
        (Cytek)
        Sent: Thursday, October 18, 2001 10:07 AM
        To: 'Foxboro Mailing List'
        Subject: Re: [foxboro] Foxview



        Just had a quick experiment and "dflt" does not capture all the C:Bs
used.
        Where can I find a manual/description (PDF file?) for the ".g"
format?

        Regards,

        Regards,

        Martin Theobald
        Applications Engineer

        Tel Direct      +44 (0)1324 497155
        Fax     +44 (0)1324 497192
        Email   theom2@xxxxxx

        Rigidex 3 Recomputerisation
        Project Aurora - Polymers
        BP Grangemouth



        The way I do it is to convert the display to a .g file using the
Display
        Converter and grep out the references to "dflt".  This will give you
a list
        of COMP:BLOCK.PARAM connections, which you can further parse out
with
        various "cut" commands, or after copying to your LAN, using Excel's
import
        text features.

        FoxView 99.2.1 also has a display connection report, under Tools,
Display
        Editor (Dedit), and then the Command tab, and there is a button for
        "Connection Report".  The output is similar to a connection report
for
        Display Manager.

        I personally like the .g file method, because you get a more
complete
        picture of what is on the display.  With the connection report
method, if
        you use any faceplate templates, you get lots of entries that say
".PNT", or
        ".ALMSTA", with no actual compound or block name attached.  The .g
file
        method lists every connection, regardless of how it was built.

        Tim Lowell
        Control Systems Engineer
        Phillips Petroleum Company, Trainer Refinery
        Phone:  610-364-8362
        Fax:    610-364-8211
        tlowell@xxxxxxxx


                -----Original Message-----
                From:   Scott, Walter [SMTP:wscott@xxxxxxxxx]
                Sent:   Monday, October 15, 2001 10:42 AM
                To:     'foxboro@xxxxxxxxxxxxx'
                Subject:        [foxboro] Foxview


                Is there away to show the points in a Foxview display in a
report
        format

                Walter Scott
                Birmingham Water Works
                wscott@xxxxxxxxx
                205-254-0796
        
 
 
___________________________________________________________________
This list is neither sponsored nor endorsed by The Foxboro Company.
Use the information obtained here at your own risk. For disclaimer,
see http://www.thecassandraproject.org/disclaimer.html#maillist

list info:   http://www.freelists.org/list/foxboro
subscribe:   mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave

Other related posts: