Maria,
Location2=0 means you want unbuffered access and Location2>0 means buffered access. When Location2>0, the interface tries to create a list of the tags with common Location2 values in the FoxAPI shared memory. Some thoughts:
-Have you confirmed that the version of FoxAPI is compatible with the version of the interface you're using?
-Have you tried to enter a 3-digit location2 value, for example "111" or "123" etc.?
-Location2=4 seems to be reserved for string tags, if you have used 4 consider changing it...
-Does the interface have full access to create its list (using the FoxAPI command SCOPEN() ) ... is the interface being run as an Administrator user? From the interface manual:
"For Windows systems, the interface service must be started with an account that has local administrator rights, and so we recommend the standard Foxboro user “fox”. "
-From the interface manual:
"Confirm the correct operation of the FoxAPI. Run Foxboro’s foxtst program. When using netFoxAPI, make sure that the netFoxAPI client machine (the machine running the Interface) has permission to create, name, and read objects on the netFoxAPI server machine."
Those are some initial thoughts...
Hope that helps
Douglas
www.definitconsulting.com