05-17-2007 08:22 AM
(7.1.1 question)
I have some code that uses VITs that handle requests in a web server. All of the subvis in the VIT are marked reentrant. I have been experiencing some odd behavior. The behavior gives the appearance that the subvis in the VIT are not running reentrantly. So I wrote a little VI that merely opened a reference to the VIT then listed callees and whether they were reentrant. (Using Exec.IsReentrant property node) Notably, subvis that are saved as reentrant were listed as not reentrant.
While playing with this, I noticed that if the subvi was already in memory then it would be listed reentrant when I ran the tool. Are there some special conditions for reentrancy for subvis in VITs?
Jim West
Summitek Instruments
05-18-2007 05:33 PM
Hi Jim,
I am unable to reproduce this behavior. Attached is a sample project with a VI (Call_VITemplate_Ref.vi) that opens reference to a VIT (TestVIT.vit) and checks whether the subVI (Reentrant_total.vi) is a reentrant VI.
Tunde