02-06-2012 12:45 PM
Hi Guys,
If you have a funtion that has a reference but is not used every time, a 1055 error occurs from the refnum being invalid. I want to test the reference when it enters the function so that none of the reference calls are used (case structure) but I don't I don't see any tools for testing a refnum. Whats the best method for testing "is a refnum?
Regards,
Eximo 😛
02-07-2012 03:50 PM
Hey Eximo,
This seems more like a programming issue than a TestStand issue, but if you are using LabVIEW as your code module you can use:
or
hope this helps.
02-07-2012 04:32 PM
That may work.....but i'll just copy the code from the vi, maybe the use of a status to boolean will keep suppress the error, the biggest problem is if I use anything to check to see if the error exists, it causes an error, and stops the progress of the program. I'll try and see if that works