07-03-2007 10:29 AM
07-06-2007
06:56 PM
- last edited on
03-27-2025
09:36 AM
by
Content Cleaner
07-06-2007 08:12 PM
Hi Carig,
Thanks for the useful links. Currently I have LabVIEW 8.0, FPGA8.0, RT 8.0, NI-RIO 1.1 & PCI 7831R & MAX 4.1. I had no problem locating PCI7831R in MAX, however I couldnt find PCI 7831R in the project manager. I try installing in Labview 8.2 but the same problem occur.
07-09-2007
10:42 PM
- last edited on
03-27-2025
09:37 AM
by
Content Cleaner
07-30-2007 10:25 AM
Hi,
I see thanks for the useful links.
Alex oh
07-30-2007 11:32 PM
07-31-2007 10:29 AM
Aelx,
You would fix the value for the time interval you are comparing against. The general idea is that you are measuring the number of pulses in a fixed period to compute the velocity.
For instance, lets say you have an encoder which outputs 1200 counts per revolution. If your fixed time interval is 100ms and you measure 120 counts in this time span, you are going at 60 rpm by the equation near the top of the document.
[(120/1200)*(60/1)]/0.1 = 60 RPM. Acceleration is the the first derivative of velocity with respect to time and is calculated by the next equation.
Regards,
Craig D
Applications Engineer
National Instruments
08-01-2007 11:06 AM
08-02-2007 07:52 AM - edited 08-02-2007 07:52 AM
Hi Craig,
I need to generate a clock 400Hz to synchronise with the logical circuit to control the stepper motor. I try with a Labview FPGA but the stepper motor does not move at all. I think I didn’t get the sequence correctly.
How can I generate the circuit using Labview FPGA? I am using Labview FPGA 8.0, PCI 7831R.
I had attached the circuit diagram. I need some advice from you.
Thanks
Alex
Message Edited by oh on 08-02-2007 07:55 AM
08-05-2007
11:33 PM
- last edited on
03-27-2025
09:37 AM
by
Content Cleaner
Alex,
The correct way to generate a clock signal can be seen in the following DevZone article in figure 5:
Synchronizing Multiple CompactRIO Chassis
As for the equations, they should be about the same, except instead of counts/revolution, your encoder is in counts/in (or mm/cm/ft...). Think about it in terms of what you want your equation to result in and what cancels out.
Currently, it 's [(counts/(counts/rev)*(s/minute)]/s. When you simplify this, you get rev/minute. If you want distance/sec, you just replace counts/rev with counts/in.
Regards,
Craig D
Applications Engineer
National Instruments