Re: [foxboro] data retrieval with legacy historian
- From: "Glen Bounds" <gbounds@xxxxxxxxxxxxx>
- To: <foxboro@xxxxxxxxxxxxx>
- Date: Wed, 20 Nov 2002 16:09:09 -0500
Yes, through ODBC calls. There is a pseudo (scaled down)
SQL driver provided in DFW or whatever they call it now.
Glen
----- Original Message -----
Subject: Re: [foxboro] data retrieval with legacy historian
>
> Can foxapi grab data from the legacy historian?
>
> -----Original Message-----
> 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.
>
>
> Regards,
>
> Alex Johnson
> Invensys
> 10707 Haddington
> Houston, TX 77063
> 713.722.2859 (office)
> 713.722.2700 (switchboard)
> 713.932.0222 (fax)
> ajohnson@xxxxxxxxxxx <mailto:ajohnson@xxxxxxxxxxx>=20
> For the latest information on ArchestrA, go to
> www.invensys.com/Archestra.html
> <http://www.invensys.com/divisions/Archestra.html> .
>
>
> -----Original Message-----
> Subject: Re: [foxboro] data retrieval with legacy
> historian
>
>
> Hi all
>
> Thanks for the suggestions on this topic,
>
> I have tried several proposed solutions, but with no satisfying
> result.
>
> The files are not found on our system, i tried libisam.so
> libisam.a same as
> libPW.so and libPW.a.
> One should expect these files on the system as they are used in
> the examples
> given in the documentation of the historian.
> Are these files installed by the system or must they be
> installed
> separately?
> The libhist.a library is in the /opt/fox/hstorian/bin/ folder.
>
> I have also tried the other options
>
> cc testhist.c -I/usr/include/fox -lgen -lsocket -history -lfox
> -lfoxlc
> -lposix4 -lm
> gives Undefined symbol errors first referenced in file
> /usr/lib/libhistory.so
> Like: rq_msgs, get_data etc.
>
> The gcc option I can not test because we use the ansi c compiler
> from Sun
>
>
>
> Greetings
>
> Ronny
>
> > -----Original Message-----
> > Subject: [foxboro] data retrieval with legacy historian
> >=20
> >=20
> > Ronny,
> > I'm not sure exactly which libraries you need to include. The
> missing
> > library file names are libisam.so or libPW.so I think. Try
> searching for
> > those files and make sure their paths are included in the
> LIBPATH
> > environment variable. Or you can put the full path name in the
> compiler
> > command line.
> >=20
> > Cyrus Taft
> >=20
> >=20
> > Message text written by INTERNET:foxboro@xxxxxxxxxxxxx
> > >cc testhist.c -L/opt/fox/hstorian/bin -I/usr/include/fox
> -lhist -lisam
> > -lfox
> > -lPW
> >=20
> > I get the following errors
> >=20
> > ld: fatal: library -lisam : not found
> > ld: fatal: library -lPW: not found
_______________________________________________________________________
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
- References:
- Re: [foxboro] data retrieval with legacy historian
- From: Joe Sanguinetti
Other related posts:
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- » Re: [foxboro] data retrieval with legacy historian
- Re: [foxboro] data retrieval with legacy historian
- From: Joe Sanguinetti