10-25-2011 07:58 AM - edited 10-25-2011 08:02 AM
Sorry, This message was intended for the LabView Forum!
Hi. I'm pretty new to LabView so I'm am hoping this is an easy question:
I need to read the pulse signal from some reluctors (toothed wheels that pulse a signal with each passing tooth). The amplitude of each pulse is above 2.2V so I was planning on using TTL counters.
I need to record the status of 5 counters with each increment of one of the counters For the RPM and tooth count, I can do this with a 1ms timed loop.
Question: Can windows successfully give a 1ms (accurate) timed loop? I know this depends on how much I am doing inside the loop but, for now, I just need to read 5 counters and store the data with a timestamp.
Is it possible to make a counter throw an event? If the counter is incrememented, can LabView be notified to then go off and handle a block of code?
Thanks for any help you can offer!
10-31-2011 10:28 AM
Seascan,
Windows does seem to give a fairly accurate 1ms but extremely dependent on whats going on in the OS. Something as common as a windows update can skew this timing.
LabVIEW does have a wait until next ms multiple vi to time your loop efficiently.
Some counters do support DAQ events that LabVIEW can recognize but it is dependent on the device.
Daniel