Re: [foxboro] FoxAPi


Tim,

I checked all those things and FoxAPI is running.
What I don't see is an entry like ADDE6 in /usr/fox/bin/fox_apps.dat  , but
there is an entry called FOXAPI

What's the latest version of FoxAPI ; I am working with 4.2.0.

Or should I give another instruction in my C program before calling
"an_add_objects"?

Regards,

Jef




tlowell@xxxxxxxx@freelists.org on 17/12/2001 15:50:08

Please respond to foxboro@xxxxxxxxxxxxx

Sent by:  foxboro-bounce@xxxxxxxxxxxxx


To:   foxboro@xxxxxxxxxxxxx
cc:
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

Other related posts: