02-10-2006 10:00 AM
02-13-2006 06:34 PM
Hello,
The easiest way to report the status of a resman run is to use the command Windows prompt. Just browse to the directory where the resman.exe file is and type "resman -l". That is the small letter L, not a 1. This will create a resmanX.out file in that folder. X is the number of your VXI system. You can then open these files in notepad or any other word processing program. So, instead of running resman, run resman -l and these files should be created. I hope this is what you are needing to do, but let me know if you have any questions!
Chris R.
Applications Engineer
National Instruments
02-14-2006 10:21 AM
Chris_R, thanks for your response.
I should have been more specific with my question. First, manually opening the log file is not practical for our solution, we have an automated process using a c# program. What I'm trying to figure out is if I run resman 'programmatically' using the the -o -l command arguments, can I using software to search for errors in the log file. In other words, has the format of the resmanX.out file been defined such that I could make a program search for a word that signifys an error occured during the execuation of resman.exe? If so, what are the keywords I need to look for? If you suggest another way all together to do this, please let me know your suggestions. Perhaps Resman.exe has exit codes that I need to watch out for - If so, what are their definitions?
Thanks for you help or any one else help in advance!
02-15-2006 02:04 PM
Hello,
I am currently trying to find a good solution for you. The resman.out files were never meant to be parsable, so it might not be trivial to extract any information from them. I am currently still trying to see if there are any keywords that can be searched for to check to see if an error occurred. I will let you know as soon as I find something for you.
Thanks!
Chris R.
03-11-2006 10:00 AM
03-13-2006 04:53 PM
Hello,
I've asked R&D for an update on this issue. I'll post a reply here as soon as I hear from them.
03-13-2006 07:58 PM
Hello,
R&D has discovered that indeed Resman always prints out "Resource Manager completed sucessfully" or "Resource Manager failed", however this is only replrted on fatal errors. Device errors typically aren't fatal to Resman. Resman just logs these device errors, but with no standard string that can be parsed. So pass/fail can be detected, but not particular device errors.
03-13-2006 08:05 PM
Thanks for your effort -