Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

reentrant

(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

0 Kudos
Message 1 of 2
(3,258 Views)

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

0 Kudos
Message 2 of 2
(3,233 Views)