There is some code I wrote a while ago on the cassandra site (gethist). It is capable of getting data from the legacy historian including reduction groups and achives. It does not use foxapi but uses the lower level historian calls. It does work 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? > > -----Original Message----- > From: Johnson, Alex (Foxboro) [mailto:ajohnson@xxxxxxxxxxx]=20 > Sent: Tuesday, November 19, 2002 9:10 AM > To: foxboro@xxxxxxxxxxxxx > Subject: Re: [foxboro] data retrieval with legacy historian > > > > Here's what I use, it works without issue: > > cc -g -I../hdr -I/usr/include/fox -DSUN -o ../exe/extract=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=20 > > I know that there were errors in the examples of how to link - seems > like this list had this topic a long time ago. > > In any case, this works for me. > > _______________________________________________________________________ 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