Bill Watts wrote:
> I'm making a generic error handler that I will use in many sub VI's.
>
> Is there a way to programatically get the name of any sub VI that I
> put my error handler into?
>
> Thanks!
Bill,
This is certainly possible. The function you are looking for is
Call Chain in the Application Control subpallette.
If you want an example of how that can be parsed and used, I did
something very similar to what you suggest. You can download it from my
website if you want to take a look. There is a VI called Error Cluster
Generator.vi within the UtilityVIs.llb.
Regards,
Dave Thomson
-------------------------------------------------------------
David Thomson 303-499-1973 (voice and fax)
Original Code Consulting
dthomson@originalcode.com
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Developer
Certified Instrument Driver Developer
-------------------------------------------------------------
Research Scientist 303-497-3470 (voice)
NOAA Aeronomy Laboratory 303-497-5373 (fax)
Boulder, Colorado dthomson@al.noaa.gov
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary,
and those who don't.