6/1/2011 7:08 AM | |
Posts: 14 Rating:
|
Hii friends, I need to measure the ON duration of measurement inputs or exact time rising edges of two measurement inputs which areB3 and B4 inputs of C240. I made a simple logic by creating simple logic at IPO. Incrementthe value of an int variable at each IPO cycle. my systemcycle adjusted to 1msec. Therefore Ithought that 1msec resolution would be enough for me. But I am handling other calculations inside the task routines. Therefore result is fluctuating around some values. Is it possible to get time value of the measurement inputs whenthe transitions occured? Also if I get it in time format, how can I convert it to a real value to use calculations? It will help me to measurethe periods correctly, Another question: ifthe measurement inputs configuredas rising edge only. Can I get both rising and falling transition time stamp valuesalso? I checkedall infos for measurement input symbol browser, there is no any "time stamp" variable for transition time. Maybe it would be helpful if it add at new versions. my confuguration attached. measurement inputs defined under the axis configiration. thanks Attachmentmeasurement.pdf (354 Downloads) |
Last edited by: corkscrew at: 6/1/2011 9:34 AMLast edited by: corkscrew at: 6/1/2011 7:09 AM |
|
Follow us on