Re: [foxboro] What is tool for converting entire directories of FoxView displays to .G format?

  • From: Leonardo Mercado <leonardomrcd@xxxxxxxxx>
  • To: "foxboro@xxxxxxxxxxxxx" <foxboro@xxxxxxxxxxxxx>
  • Date: Mon, 3 Oct 2011 10:26:13 -0700 (PDT)

اÙ? Ù?Ù?سÙ?Ø©
I believe a simple script using:
for x in "ls *.fdf do
then use the DEdit tools to convert to *.g
in the next line use "sed" command; it works as find and replace, don't 
remember now the full pattern
then convert again to *.fdf


hope this help

Leonardo



________________________________
From: "duc.do@xxxxxxxxxxxxxx" <duc.do@xxxxxxxxxxxxxx>
To: foxboro@xxxxxxxxxxxxx
Sent: Monday, October 3, 2011 5:56 PM
Subject: Re: [foxboro] What is tool for converting entire directories of 
FoxView displays to .G format?

Russ and the list,

Just a couple of weeks ago, I used d_edit on Solaris 
(/usr/fox/wp/bin/tools/d_edit) to accomplish wholesale change of historian 
names with the -h option for DM displays:

d_edit -h/oldhist/newhist/ displayname

but in looking at the DEdit command on Windows 
(d:/usr/fox/wp/bin/tools/DEdit.exe), the -h option is now used to invoke help. 
So, am I not looking at the options for DEdit correctly? Or is this another 
case where the Windows tool is endowed with fewer options than its Solaris 
counterpart?

Duc


-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx On Behalf Of Russ Kaiser
Sent: Monday, October 03, 2011 12:25 PM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] What is tool for converting entire directories of 
FoxView displays to .G format?

List,

The display task I was tackling was changing legacy historian name
references within existing Foxview displays to their corresponding AIM
historian names.  I converted entire directories to .G format and then used
a windows based search and replace that I downloaded yesterday to replace
the historian names.  

Next week we are taking out two Sun boxes that are still running historians.
We have had duplicate AIM historians for a couple of years now, but many of
the displays still referenced the old legacy historians.  Rather than edit a
couple hundred displays and probably 1000 trend objects, I chose to do it
this way.

For those that are wondering, the text replace tool I finally ended up using
was called "Actual Search & Replace (ActualSR.exe)" and it worked well.

I am sure the few hours I spent yesterday would have taken a few days had I
edited the displays individually via FoxDraw or live via FoxView.


Thanks all for the help,

Russ 



>Russ,
>The one within Foxdraw will do it, or you can use the command 
>line tool fdf_g.  On unix boxes I usually use ed for doing 
>scripted search and replace within existing files.
>
>Cheers,
>
>Kevin
>
>On Sun, Oct 2, 2011 at 10:49 AM, Russ Kaiser <russ@xxxxxxxxxxxxxxxxxx>
>wrote:
>
>> Never mind,
>>
>> I figured it out, I had no idea the tool within foxdraw would do more than 1
>> file at a time.  Now does anyone know of a text editor that will do 
>> search and replace on an entire directory of files?
>>
>>
>> Thanks,
>>
>>
>> Russ





_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html

foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: