If you give me more infor information about your application, may be I can help you .. (Iam good with arrays!!)
What is exactly a "number of cycles a valve has cycled" ?
and what is "endurance test"?
sorry for asking that, but Iam intersting in this, and to know how can I help you.
-----------------------------
Ayman Mohammad Metwally
Automation Engineer
Egypt - Cairo