02-25-2015 03:14 AM
Hello everyone,
I want to count time between two boolean pulses? Can anyone give me an advice? Thank you in advance!
02-25-2015 04:38 AM
02-25-2015 05:42 AM
I suspect you want to measure the time between physical events which will present themselves as electrical signals connected to a DAQ card. You dont say if you are using DAQ hardware, but if you are then you may need to configure a counter on the DAQ, if one is available. You need to give us more information incase my psychic powers are failing me. Looking at timestamps is certainly the easiest and most obvious choice but depending on the resolution and absolute accuracy you need it may be sub-optimal.
02-25-2015 06:16 AM
Hello Michael78,
You've right. I have a DAQ board and i want to acquire torque and angle (from a torque transducer). I already done that, but sometimes it doesn't work properly. To acquire this, i count sign changing of the torque to acquire exactly one period (3 sign changing). Torque have a noise, and when passes through zero, count more than 3 sign changing at a time, and this stop my acquisition (figure 2). I want to set a time between 2 counting sign . I tried something with tick count...but i made something wrong . I hope you understand me....