berengas Posted September 27, 2007 Report Share Posted September 27, 2007 Hi, I have a problem with a simple program that I made. In this program i can only use one daq assist, and I have two sensors. The two sensors have to dected a pencil lead break. But the problem is that i need two things to append. First one the program can only stop if the two sensors detect the test. Second I need to have the values of time of each sensor when the peak is bigger or equal that a value specified by me. The Program at this moment stops when only the two sensors detect the test, but I have equal times, what is impossible!!! Anyone know how to fix my problem? If I not explain very well, please tell me, that i made a more elaborated text. Best Regards, Berenguel Quote Link to comment
MikaelH Posted September 27, 2007 Report Share Posted September 27, 2007 What I can see, is that your STOP-function could run before you "Write To Measurement File" node has been executed. Place the 2 actions in e.g. Flat Sequence structure. Or as I would do it, through out all Express VIs and create a nice state machine Cheers, Mikael Quote Link to comment
berengas Posted September 28, 2007 Author Report Share Posted September 28, 2007 QUOTE(MikaelH @ Sep 26 2007, 10:15 PM) Or as I would do it, through out all Express VIs and create a nice state machine Hi, Thanks for answer to my problem. My knowledge in labview it's very basic, so the use of Express VIs. This is for a project that I'am making for University, and in my department, the knowledge on this matter is worse than mine. Best Regards, Berenguel 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.