|
Re: Problem with Async VI Agent.vi staying alive
Interesting. The purpose of the Asynch VI Agent is to own the FPGA Ref and any other appropriate shared I/O refs so that modifications to the framework that result in the first I/O being called from a dynamically loaded piece will not define the lifespan of the refnum.
The Asynch Agent explicitly inspects the state of the RobotMain VI and keeps the refnums alive until that VI goes idle. The some additional cleanup code was later added to the agent.
Can you clarify if you see the agent stay active when the RobotMain is idle? Can you open the agent and probe the VI name whose state it is polling? If this is not RobotMain, but winds up being another VI, that would be the thing to fix.
If you feel you need to send me stuff, send a PM and I'll give you contact info.
Greg McKaskle
|