03-22-2013 07:58 AM
Hello,
I am trying to control a Brushed DC motor (131:1 Metal Gearmotor 37Dx57L mm with 64 CPR Encoder) using TReX DMC01 Motor controller(http://www.pololu.com/catalog/product/777). i am using cRio-9076 with the modules 9264 and 9205 for analogue out and input signals. I am connecting the motor controller via serial port, so that i can read and write necessary commands. i have sucessfully finished a loopback test. At the moment i am not using FPGA side of the cRio at all.
I have attached a schematic diagram how i am conneting everything together. I have never used Labview before and it would be really grateful if anyone could help me with the intital programming to start the motor and get it running. I have also added the commads (http://www.pololu.com/file/0J1/TReX_Commands_v1.2.pdf) and parameter(http://www.pololu.com/file/0J2/TReX_Parameters_v1.2.pdf) details of the controller as well.
Kind Regards,
harikkat
03-25-2013 06:33 AM
Good morning harikkat,
A good starting point for your project would be to look at the example files that are already within LabVIEW. If you open up LabVIEW and go to Help » Find Examples...there are hundreds of pre-written pieces of example code. With regards to your project specifically I would look towards Hardware Input and Output » Serial for an overview of how to send and receive commands over serial.
To look for specific examples with regards to motor control you can go to the Search tab up towards the top left and look for "motor" in the keyword search box which should return numerous results for motor control.
A good resource that can be used is the following CompactRIO Motor Control Basics Tutorial:
http://www.ni.com/white-paper/6143/en
I hope this helps!
04-15-2013 07:04 AM
Hello Mark,
Thank you so much