tushar Posted July 15, 2005 Report Share Posted July 15, 2005 Hi All i am new to LabVIEW and i want to wet my feets in VI Scripting field by executing this project. i hope i ll get help from u guys. I want to develop an utility which will help programers to debug their program(specially program which have lot of parallel loops and where it is difficult to track the exact location of generation of error). this utility will be a single VI which user will place at several locations in his code. and this VI will basically work as active probe (user can change the probe value) below is the brief spec list. 1.This Utility will have Error in, Error out terminals and preconfigured mode(Mode settings can be stored in ini file so that even exe can be executed in debug mode to track the problem) 2.As soon as any of the instance of this VI Executes LabVIEW Program should pause temperarily(Even VIs in other parallel loop); block diagram of perticular VI should be poped up and the instance of Mr Debug should be flashed (similar to the thing that happens when you search multiple instances of VIs and press ctrl+G)and this utility will pop up a panel so that user can alter the value of error at perticular point. 3. After user alters the value of error in Mr Debug panel; program should resume its operation 4. User should be able to add an error even if their is no error currently (so that he can see his program will respond properly if perticular error occurs) 5. general options like log to file etc should be available 6. one tool should be developed which can remove all instances of Mr. debug from the VI and join the error wire appropriately.(compacting code before release) 7. if Mr. Debug instances are placed in parallel loops not more than one instance should be flashed(Or panel poped) simultaneously. please let me know how we can make Mr. Debug Even More attractive. now lets come to the problems i am facing. 1. I can flash the objects on block diagram using obj highlight mode but it works only if VI is in edit mode(but surely there is a way as we see simiar thing when LabVIEW asks us to continue or stop program when unhandled error occurs) 2. can we pause the execution of VI in between execution and still keep the subVI placed in it running(Our Mr. Debug VI)) 3. If there are multiple instances of Mr. Debug VI on a digram then how to determine which icon on the diagram should be flashed in parent VI please guide me how can i proceed. also please let me know whether we can do anything to make it better. can we do anything through which we can replace the LabVIEW built in Error handler with Mr. Debug(So programmer can use this facility without dropping a single instance of Mr.Debug in code) Thanks Tushar Jambhekar Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.