LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Value signaling executing several times in EXE

Hello,

 

I have a value signaling on a boolean indicator at the begining of my code to trigger an init event in my thread. 

It's working as usual in developpement system but when running in EXE, my value signaling is triggering the event several times (3).

I use Labview 2017 SP1.

Where does this come from ?

 

Margaux

0 Kudos
Message 1 of 6
(2,389 Views)

Hi Margaux,

 

Where does this come from ?

I guess the problem is in your code.

But there is no code attached to your message…

Best regards,
GerdW


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

It's only showing when I debug the EXE (Menu -> Operate)

0 Kudos
Message 3 of 6
(2,380 Views)

Hi Y,

 

It's only showing when I debug the EXE (Menu -> Operate)

Just from running the EXE I cannot see the problem…

So the problem seems to be related to debugging the EXE!?

Maybe the debugging restarts the EXE in an uncommon way? (And what is the resulting problem from this behaviour?)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,372 Views)

Strange. I just built it with debugging enabled and wait on launch. The init case runs three times when debugging. Just running from the exe works as expected (1 time). I too would like to understand what happens. The debugging is firing some extra events?

Certified LabVIEW Architect
0 Kudos
Message 5 of 6
(2,371 Views)

Put a one-button dialog in that event and add indicators for "source" and "Type".

 

Not that I know what is happening but I am a curious animal.

 

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 6
(2,343 Views)