Jump to content

Tracking a shared variable

Recommended Posts

I am working on some legacy code that i did not write. 

Unfortunatley, the original writer used a shared variable that can be written to in about 500 locations. Just a bool tag to cause an abort. 

I am getting random aborts and i have no clue which writer is pushing on my network published shared variable. 

Does anyone know of a way to capture this?

There are hundreds of this one abort tag. Its impossible to track which is pushing the tag.




Link to post

In case it's possible, haven't tried it myself.

You could maybe put that SV in a subVI then search and replace each instance with the built-in search and replace function. Manual would be to tedious.

Add a dialog that displays the call chain on abort.

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.