LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Object Oriented Question! My code is working fine, but the indicator is not updating on the front panel. (See code below)

I am new to object oriented  with LabVIEW, maybe someone in here can help me. My project folder looks as shown below:

GRCK5000_0-1716158632549.png

There are three children as you can see below and they are all inheriting from the parent

GRCK5000_1-1716158779238.png

My main problem is the timer vi below . The code below is working fine by itself. It would update on the front panel  by counting up to 50 then stop.

GRCK5000_2-1716158975862.png

 

The only problem I am having when I connect it with the VI from the parent. The timer on the front panel is not updating; it remains 0

GRCK5000_3-1716159277128.png

 

 

GRCK5000_4-1716159404641.png

 

This is how the parent's timer VI looks like:

GRCK5000_5-1716159540340.png

The child's timer VI looks like:

GRCK5000_2-1716158975862.png

 

Is there anything that I am doing wrong? Can someone please help? I have attached a folder with all the VIs that I am working with.

0 Kudos
Message 1 of 3
(314 Views)

That VI will spin 50 times and then continue and send out 50. A structure will wait for all inputs and only exit/loop when all owned blocks have executed.

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 3
(265 Views)

Hi Yamaeda,

 

Thanks for answering. What would be your suggestion to solve this issue that I am having?

0 Kudos
Message 3 of 3
(235 Views)