LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find where was the occurence set during execution?

Hi,

I am working on a large program with a lot of VIs.
My problem is that an occurence is triggered (set) twice and I can't find out where the second trigger comes from ( I was able to spot the first "set" by using breakpoint everywhere this occurence was set in this VI). I suppose that an other VI set this occurence but I can't find it!

Is there a method (a debug tool) to find out where is triggered a specific occurence during the execusion.

Thank you.

Nico
LV 8.2.1
0 Kudos
Message 1 of 2
(2,468 Views)

hi there

no, there's no tool.

i would search for all instances of "Set Occurence" and place breakpoints. Use the Edit->Find Dialog to search for objects. After the search is done all instances are listed in a table. By doubleclick you jump to the selected instance.

Instead of Occurences you can use Notifiers. They allow you to send user data along with the event (e.g. a string containing information about the generator of the notifier)

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 2
(2,458 Views)