05-19-2011 01:25 AM
Hi..I am currently doing a project..My project currently requires me to read angular data of 2 rotary incremental encoder and then transfer the data to a NI 9411 DAQ using NI-cRIO 9012. The problem is that I am totally new about this programme. I did some practices and I managed to do some of its basic function. I really need anyone's help. Is there anyone that could guide me on how I should start my project or application? Your kindness is appreciated.
Thanks
Fairuzee...
05-19-2011 03:53 AM
Normally you would use a counter to read the encoder. DAQmx has built-in functions to convert it to a position.
But the hardware you mentioned doesn't have a counter.
Felix
05-19-2011 04:01 PM
Hi,
Just check NI examples search for 9411, you'll find a quadrature encoder example.
Note that your in the real time world
So yo'll need the RT and FPGA licenses.
You might have to make a new project with the correct controller 9012.
xseadog
05-23-2011 03:47 AM
I check the example 9411...It is quite complicated to me. I have done configuring my hardware just left with the programming. It just that i am a beginner on using this ni labview. If only my hardware got a DAQ that can count using counter of measuring angular data, it will be much easier for me but nw, its hard. Can someone help me?? I really need someone to guide me...
05-30-2011 04:01 AM
Guys, same with me here. I am trying to get an input signal from an encoder to show it to a sine wave graph using basic function of labview. Could anyone guide me through?
05-30-2011 09:36 PM
Hi bedok,
Thank you for contacting NI.
With regards to your issue at hand, I believe you may find these links from ni.com quite useful:
http://zone.ni.com/devzone/cda/tut/p/id/7109
http://zone.ni.com/devzone/cda/epd/p/id/1721
If you have further questions about these, you can email us directly at asean.support@ni.com.
You could reply to this thread as you seem to have similar issues right now:
http://forums.ni.com/t5/LabVIEW/Getting-input-signal-from-encoder/m-p/1579614#M577993
Thanks!
05-30-2011 09:49 PM
Hi afai,
Apologies for not responding to your inquiry earlier. I'm Gerrald, an NI engineer, and I will be assisting you in your query. For future technical support regarding NI products, you may also email our engineers at asean.support@ni.com.
Now, regarding the 9411 example found in LabVIEW, in which particular part of the program are you finding diffuculty? We would be glad to help you understand this example better because it is a good avenue for learning LabVIEW programming with your 9411 hardware.
Thanks!
05-30-2011 10:14 PM - edited 05-30-2011 10:18 PM
Hi Gerrald Mateo,
Thanks for replying my enquiry. Currently, the example for NI 9411 is in scan mode. But mine project requires me to programme it according to a FPGA file and I am totally new to this NI Labview. May I know how to test the NI 9411 to see whether is it working or not? Is Ni 9411 has a built in counter as in mine project requires me to collect angular data from 2 different encoder and display it to a waveform graph? and is Ni 9411 a DAQ or DAQMX? I really hope you can help me. Currently, using Labview 2010, a cRIO-9012 controller, a NI 9104 chasis.
05-30-2011 10:45 PM
Hi afai,
If this is the case then I think you will find the 'Using This Examples.htm' file in the project explorer dialog box useful. The file lays out step by step instructions on how to use the existing project files for your personal application. Notice that in step 9, you will reconfigure the project into FPGA Interface. And yes, 9411 has an onboard clock that will enable you to input the encoder signals through its digital input channels. You simply need to select the hardware channel that you will be using as illustrated in step 16.
You can test your connectivity to your cRIO device using Measurement and Automation Explorer or MAX. You should be able to see your device under 'Remote Systems'. Please do note that if you are connecting to it via Ethernet/LAN cable, you should be in the same network. You can do this by either using a crossover cable or a router. You can right click on your cRIO device and click connect to verify good connectivity with the cRIO. You will also be able to see the detailed settings and status of your device at the righthand side of the dialog box. You may post a screenshot of any error or problem that you may encounter throughout this process. Thanks and I hope this helps you in your application.
05-30-2011 10:50 PM
You may also refer to page 5 of this manual for details on configuring your cRIO to connect to your PC through ethernet.
http://www.ni.com/pdf/manuals/374126e.pdf