2004-09-21 08:24 PM - last edited on 2023-08-07 12:16 PM by Doreena Deng
2004-09-22 02:09 AM
Jay wrote:As far as I can tell from scanning the API documentation, it does not seem possible for an add-on to perform a send/receive. An add-on can be notified that a send/receive is happening and take some action at that time, but I don't think the automation that you are asking for is possible.
Does anybody have an API that will -- while in Teamwork -- save to the default PLC name, then perform a send/receive?
2004-09-22 10:41 AM
2004-09-22 08:29 PM
Akos wrote:Thanks, Akos. I had read through the various options there and did not see a way of saying that you want a send/receive to take place...?
You can use the ACAPI_Automate set of functions (look forAPIDo_SaveID) to achieve that functionality. To tell the truth, I've never tried that in the situation you describe, but theoretically it should work
2004-09-30 08:45 AM
Karl wrote:The way to go here is project event notifications. Take a look at for example APINotify_SendChanges -- this is sent *before* the actual 'send' is performed.
Thanks, Akos. I had read through the various options there and did not see a way of saying that you want a send/receive to take place...?
Karl
2004-09-30 08:28 PM
Akos wrote:Thanks for being patient with me as always, Akos!
The way to go here is project event notifications. Take a look at for example APINotify_SendChanges -- this is sent *before* the actual 'send' is performed.
2004-10-03 07:31 AM
Karl wrote:Yes, now I see that seemed to be the original intent. But there is no way to achieve that with the current interface, so he'll have to live with the notifications. It's the poor API developer's world, you know
Jay's original request was toautomatethe actual send/receive ... to have the add-on initiatea send/receive action (not react to the user initiating one). Am I still confused, or is this not possible?
Best regards,
Karl