This script using d_edit50 worked for us. 
Run it from the directory that the trends are in. Hope it helps.


dir=`pwd`
d_ed=/usr/fox/wp/bin/tools/d_edit50
DIR_LIST=`ls -1`
for i in $DIR_LIST
        do $d_ed -g/Root/ -h/hisb8q/his08q/ $i
#                           /old  /new
done
for i in $DIR_LIST
        do $d_ed -g/Root/ -h/his01f/his1cs/ $i
done
for i in $DIR_LIST
        do $d_ed -g/Root/ -h/his08f/his1bk/ $i
done
for i in $DIR_LIST
        do $d_ed -g/Root/ -h/his01u/his1dg/ $i
done
for i in $DIR_LIST
        do $d_ed -g/Root/ -h/hisb1p/his01p/ $i
done

> ----------
> From:         [EMAIL PROTECTED][SMTP:[EMAIL PROTECTED]]
> Reply To:     Foxboro DCS Mail List
> Sent:         Monday, April 03, 2000 8:08 AM
> To:   [EMAIL PROTECTED]
> Subject:      RE: Historian connection to trend displays
> 
> We ftp'ed the trend files to a Windows PC, used a Windows utility called
> vedit (www.vedit.com) to do wholesale editing of the trends, then ftp'ed
> the
> files back to the Sun box. It's a little kludgy, but since you only have
> to
> do it once, it's not too bad.
> 
> vedit is shareware.
> 
> Good luck!
> 
> -- 
> Duc M. Do
> Dow Corning Corp.
> Carrollton Plant
> Carrollton, KY, US
> 
> 
> >-----Original Message-----
> >From: Michael Smith [mailto:[EMAIL PROTECTED]]
> >Sent: Monday, April 03, 2000 7:47 AM
> >To: Foxboro DCS Mail List
> >Subject: Historian connection to trend displays
> >
> >
> >We have recently merged two separate 500 point historians into one 1000
> >point historian.  Now half of our preconfigured trend displays 
> >are looking
> >to the wrong historian for their data, thereby showing no data 
> >in the trend
> >display.  Is there a utility (I seem to recollect hearing of 
> >it some time
> >ago) that I can run on my trend displays to re-associate them with the
> >correct historian name rather than having to manually 
> >reconfigure each trend
> >display?
> >
> >
> >Regards
> >Michael Smith
> >[EMAIL PROTECTED]
> >
> >Lake Utopia Paper
> >
> >'00 ZRT800
> >'99 CBR900 FireBlade
> >m/v GRIN 'N BEAR IT
> >St. Stephen, New Brunswick


-----------------------------------------------------------------------
This list is neither sponsored nor endorsed by the Foxboro Company. All 
postings from this list are the work of list subscribers and no warranty 
is made or implied as to the accuracy of any information disseminated 
through this medium. By subscribing to this list you agree to hold the 
list sponsor(s) blameless for any and all mishaps which might occur due to 
your application of information received from this mailing list.

To be removed from this list, send mail to 
[EMAIL PROTECTED] 
with "unsubscribe foxboro" in the Subject. Or, send any mail to
[EMAIL PROTECTED]

Reply via email to