Re: [foxboro] data retrieval with legacy historian

I could not find it on the site.  If you have it can you send it to me.

Joe

-----Original Message-----
From: Darryl Bond [mailto:dbond@xxxxxxxxxxxxx]=20
Sent: Wednesday, November 20, 2002 3:54 PM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] data retrieval with legacy historian



There is some code I wrote a while ago on the cassandra site (gethist).
It is=20
capable of getting data from the legacy historian including reduction
groups and=20
achives.
It does not use foxapi but uses the lower level historian calls. It does
work=20
with Aim* but needs to be recompiled.

It produces text output that can be printed or imported into a
spreadsheet etc.


Darryl Bond


Joe Sanguinetti wrote:
> Can foxapi grab data from the legacy historian?
>=20
> -----Original Message-----
> From: Johnson, Alex (Foxboro) [mailto:ajohnson@xxxxxxxxxxx]=3D20
> Sent: Tuesday, November 19, 2002 9:10 AM
> To: foxboro@xxxxxxxxxxxxx
> Subject: Re: [foxboro] data retrieval with legacy historian
>=20
>=20
>=20
> Here's what I use, it works without issue:
>=20
> cc -g -I../hdr -I/usr/include/fox -DSUN  -o ../exe/extract=3D20=20
> ../obj/extract.o ../obj/fgetstr.o
>       ../obj/gErrorTxt.o
>       ../obj/AdjustTime.o
>       ../obj/CalcIntrvl.o
>       ../obj/Date.o
>       ../obj/Debug.o
>       ../obj/ExtractHelp.o
>       ../obj/HistAccess.o
>       ../obj/LogError.o
>       ../obj/PrintRec.o
>       ../obj/SpanChk.o
>       ../obj/Reduce.o
>       ../obj/TimeChk.o
>       ../obj/globals.o
>               -lhist -lfox -lfoxfdr -lsocket -lnsl -lm -lposix4=3D20
>=20
> I know that there were errors in the examples of how to link - seems=20
> like this list had this topic a long time ago.
>=20
> In any case, this works for me.
>=20
>=20

=20
=20
_______________________________________________________________________
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
=20
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
to unsubscribe:      =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave
=20
 
 
_______________________________________________________________________
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:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: