LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

profile performance and memory dialog

"Test single stage.vi" calls single Task.vi of Zaber library using Start Async Call Node.

Profile performance and memory dialog shows:

- 5 (!!!) Task.vi and 4 looks as Task.vi:Instance:***

- 5 (!!!) "Test single stave.vi": one as "Test single stave.vi", two as "Test single stave.vi:Instance:***" and two "[Test single stave.vi]"

Why?

 

Vasilich2004_0-1679120003521.png

 

0 Kudos
Message 1 of 13
(1,510 Views)

Hi Vasilich,

 

are those reentrant VIs?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 13
(1,466 Views)

Task.vi is reentrant VI. 

0 Kudos
Message 3 of 13
(1,461 Views)

Ohh ... Test single stage. VI is also reentrant vi. It is top level vi and there isn't reason to make it as reentrant. I will place new Profile dialog later.

0 Kudos
Message 4 of 13
(1,459 Views)

Test signal stage.vi is non-reentrant. No changes/

Vasilich2004_0-1679185814636.png

 

0 Kudos
Message 5 of 13
(1,439 Views)

What's the question?

~ The wizard formerly known as DerrickB ~
Gradatim Ferociter
0 Kudos
Message 6 of 13
(1,384 Views)

Why are there 5 lines "Test single stage.vi" and "Task.vi" instead of one line?

0 Kudos
Message 7 of 13
(1,364 Views)

Hi Vasilich,

 


@Vasilich2004 wrote:

Why are there 5 lines "Test single stage.vi" and "Task.vi" instead of one line?


Now there's time to attach some code so we can examine the problem.

(It's quite hard to analyze from looking at some images of the profiling dialog…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 13
(1,352 Views)

I'm assuming Task is Preallocated reentrant. If so, it'll create an instance for each placed in the code (or a few in a parallell loop). (qualified guess)

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 9 of 13
(1,338 Views)

@Vasilich2004 wrote:

Test signal stage.vi is non-reentrant. No changes/


Your profile window clearly proves otherwise! It may not be the VI itself set to be reentrant but the way you launch it in your program.

 

As others said: It's time to attach some code. Debugging images is always a pitta.

Rolf Kalbermatter
My Blog
0 Kudos
Message 10 of 13
(1,330 Views)