Re: [foxboro] FoxAPi

Ummmm...  but....

Do put the sleep <sometime> in the script
/usr/fox/bin/go_FOXAPI rather than fox_apps.dat

It works so much better there.

WCR

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx
[mailto:foxboro-bounce@xxxxxxxxxxxxx]On Behalf Of Johnson, Alex
(Foxboro)
Sent: Monday, December 17, 2001 10:15 AM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] FoxAPi



FoxAPI should be started from /usr/fox/bin/fox_apps.dat. If you have
additional startups in /etc/fox/user_apps.dat or /etc/fox/rc.foxapps nothing
good will come of it.

However, it is reasonable to place a /bin/sleep <sometime> in
/usr/fox/bin/fox_apps.dat to ensure that FoxAPI has a chance to startup
completely before any applications that use it.


Regards,


Alex Johnson
System Products - Invensys Systems, Inc.
10707 Haddington
Houston, TX 77043
713.722.2859 (office)
713.722.2700 (switchboard)
713.932.0222 (fax)
ajohnson@xxxxxxxxxxx <mailto:ajohnson@xxxxxxxxxxx>



        -----Original Message-----
        From:   Lowell, Tim: [SMTP:tlowell@xxxxxxxx]
        Sent:   Monday, December 17, 2001 8:50 AM
        To:     'foxboro@xxxxxxxxxxxxx'
        Subject:        Re: [foxboro] FoxAPi


        Jef,

        Try going to /opt/fox/ais/bin and typing in the command P (simply
the
        capital letter P) at the Solaris prompt.  It will print out all the
        FoxAPI-related applications that are currently running.  You should
have at
        least the following:

        /opt/fox/ais/bin/foxapi om_poll
        /opt/fox/ais/bin/foxapi
        /opt/fox/ais/bin/foxapi wrtimr
        /opt/fox/ais/bin/foxapi wrproc
        /opt/fox/ais/bin/histlnbc

        You may also have an_server.tcp running a few times, depending on if
you
        have any special applications running.

        If you don't have these entries, FoxAPI is not really running.   You
should
        also check /usr/fox/bin/fox_apps.dat or /etc/fox/user_apps.dat to
make sure
        FoxAPI starts on reboot.  There should be an entry in one of those
files
        that refers somewhere to aisstart, such as go_ADDE6.

        Tim Lowell
        Control Systems Engineer
        Phillips Petroleum Company, Trainer Refinery
        Phone:  610-364-8362
        Fax:    610-364-8211
        tlowell@xxxxxxxx


                -----Original Message-----
                From:   jdesaeve@xxxxxxxxxxx [SMTP:jdesaeve@xxxxxxxxxxx]
                Sent:   Monday, December 17, 2001 8:55 AM
                To:     Foxboro@xxxxxxxxxxxxx
                Subject:        [foxboro] FoxAPi


                Hi,

                I would like to write a C program using FoxAPI calls like
        an_add_objects,
                an_poll_changes,...

                However when I start my programs , it tells me   "FoxAPI is
not
                running-Please restart application after FoxAPI is started
!"

                When I check with a ps command , FoxAPI is running !

                We are using FoxAPI ver 4.2.0   (I/A series ver 6.2.1)

                Jef Desaever
                Protein Technologies Int
                Zwaanhofweg 1
                8900 Ieper- Belgium





___________________________________________________________________
                This list is neither sponsored nor endorsed by The Foxboro
Company.
                Use the information obtained here at your own risk. For
disclaimer,
                see
http://www.thecassandraproject.org/disclaimer.html#maillist

                list info:   http://www.freelists.org/list/foxboro
                subscribe:
mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
                unsubscribe:
mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave


        ___________________________________________________________________
        This list is neither sponsored nor endorsed by The Foxboro Company.
        Use the information obtained here at your own risk. For disclaimer,
        see http://www.thecassandraproject.org/disclaimer.html#maillist

        list info:   http://www.freelists.org/list/foxboro
        subscribe:   mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
        unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave


___________________________________________________________________
This list is neither sponsored nor endorsed by The Foxboro Company.
Use the information obtained here at your own risk. For disclaimer,
see http://www.thecassandraproject.org/disclaimer.html#maillist

list info:   http://www.freelists.org/list/foxboro
subscribe:   mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave

 
 
___________________________________________________________________
This list is neither sponsored nor endorsed by The Foxboro Company.
Use the information obtained here at your own risk. For disclaimer,
see http://www.thecassandraproject.org/disclaimer.html#maillist

list info:   http://www.freelists.org/list/foxboro
subscribe:   mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave

Other related posts: