05-11-2006 02:58 PM
05-11-2006 03:03 PM - edited 05-11-2006 03:03 PM
Message Edited by PiMaster on 05-11-2006 03:06 PM
05-12-2006 07:11 AM
05-12-2006 07:35 AM
Hi
I modified your vi a little bit and addes some comments. Hope this is what you're looking for.
Thomas
05-12-2006 08:14 AM
That is very close to what I need. VERY.
Is the monitoring constant or is the monitoring timed to the 60 second iteration?
Overview of what I'm doing with this:
Three bearing failure test rigs, each with two sets of four bearings and therefore four thermocouples. Total of 24 channels.
I need to have constant monitoring (at least 1 sample per second) and an error output setup so that I can trigger an emergency shutdown relay if one of the temps goes extremely out of range. That needs to be fairly constant as catastrophic failures happen rather quickly with little indication.
The data I'm saving here, however, must only happen once a minute or so, will vary and must be adjustable from one test to the next. That data must be timestamped and across all 24 channels.
Cliffs notes: Need constant monitoring for shutdown purposes but only send to save file once per minute.
I tried putting a delay and the save file in a loop and that seemed to work as far as timing goes but it didn't acquire temperature readings from my DAQ assistant outside the loop.
05-12-2006 08:19 AM
05-12-2006 08:32 AM
05-12-2006 08:36 AM
Firstly, you have to ensure, that the wait interval is longer than the acquisition time (and correct the iterationcounter properly), otherwise you won't write the data in 60sec cycles.
Secondly, what do you mean with "shut down the system"?
05-12-2006 08:45 AM
I have to configure an analog output in order to trigger a relay (5v) in case of a bearing failure. This would shut down the test rigs rather than let them throw belts, etc. That's why I need the monitoring to be continuous. The data saving is the only thing that needs to be timed.
What you mentioned about iterations... Do you notice a problem?
05-12-2006 08:49 AM - edited 05-12-2006 08:49 AM
Message Edited by jasonhill on 05-12-2006 08:50 AM