01-11-2008 07:02 AM
I have three optical sensors on a gyroscope rig connected to a 6601 card producing a square wave of 0-5V. I can get an edge count. But how do I get an RPM or frequency measurement?
01-14-2008 04:58 AM
01-17-2008 05:48 AM
Dear Ian
I have to say I’m not having a lot of luck with the example finder. I have three optical sensors all hooked up to LabVIEW. I can count the pulses no problem, I just don’t seem to be able to connect a clock. As I think I want a “Period Measurement” or a “Buffered Period.”
Best wishes
Robert
01-17-2008 06:02 AM
Dear Robert,
Would you like to attach your code to a reply to this post and let me take a look at it for you? I'd be happy to help get it in a working state for you.
Regards,
Ian
01-17-2008 06:28 AM
Yes Please, the code I have created for the three optical sensors is attached. One of the sensors is counting holes on a disk, so one of the signals is divided by 24 to give one revolution (24 holes in the edge of the disk). Thanks
Best wishes
Robert
01-17-2008 07:21 AM
01-17-2008 07:44 AM
Sensor 1) Acquire a pulse train in, count the number of pulses in 1 second, to get number of average number of revolutions/sec, update this value every second.
Sensor 2) Acquire a pulse train in, count the number of pulses in 1 second, update this value every second.
Sensor 3) Acquire a pulse train in, count the number of pulses in 1 second, divide by 24 in order to get number of average number of revolutions/sec, update this value every second.
Thanks for your help
Best wishes
Robert
01-18-2008 03:30 AM - edited 01-18-2008 03:31 AM
01-23-2008 07:54 AM
Dear Ian
Thank you so much, it is great to have something to start work with. I have managed to modify the program and to get some data from my sensors.
Now I would like record the data and display it on a graph. From the program I have what is the easiest way to do this?
Thanks again for your help
Best wishes
Robert
01-23-2008 08:13 AM - edited 01-23-2008 08:14 AM