06-22-2009 02:23 PM
Dear all, I am sure there must be simple answer for this.
I am doing Error Handling. Therefore, I have implemented a self written Error Handler.vi.
I am making an application having different software layers (GUI, Data Handler, IO Handler etc). Now, whenever there is an error in any of the VIs across these layers, the above mentioned error handler code gets executed.
I want to find out the location of this error handler VI in the hierarchy. I need to trace the path. How can I do it?
Hope I am clear.
Regards...
Solved! Go to Solution.
06-22-2009 02:42 PM
There is a VI in the Programming>Application Control pallete called "Call Chain" - this VI will return an array of VI names representing the hierarchy that of VIs at the particular instance e.g. If VI1.vi calls VI2.vi, that calls VI3.vi the array will have three elements:
[0]=VI1.vi
[1]=VI2.vi
[2]=VI3.vi
Is this the kind of thing you are looking for?
Shaun
06-22-2009 11:15 PM