11-08-2014 10:36 AM
Is there any way to control the motors by the built in encoders?
Else, why are the encoders built into machine?
thanks for prompt response.
11-10-2014 06:10 PM
Before I suggest any examples, can you clarify if you are referring to the encoders on the sbRIO?
Regards,
Chris H
Applications Engineer
National Instruments
11-11-2014 12:42 AM
Hi:
for this app does sbrio have the capability to use feedback from the encoders?
Thanks
11-11-2014 11:08 PM
Hi:
I need to drive an led from an output pin on the sbrio9632. How do I do this?
I also have a custom sensor which outputs a 3.3-5v ttl signal which I need to monitor when it comes on. How do I do this?
I have read the 9632 manual but I am unclear how to program board to do this? what functional VI do I use or combination? Is there a tutorial?
Thanks
11-12-2014 01:20 PM
Treewq,
One of the best resources we have for programming RT and FPGA targets is the cRIO Developer's Guide I linked below.
http://www.ni.com/pdf/products/us/fullcriodevguide.pdf
You will have to be careful since accessing the IO may be slightly different on your card, but the actual functions and programming architecture will be very similar. I would at least go through the table of contents to see everything talked about in the guide, but the most relevant chapter for monitoring IO on the FPGA would be Chapter 5 (page 80).
11-14-2014 12:45 AM
Thanks for all the previous help, but I need some more assitance.
I am trying to create a fpga 'instance?' or vi which I can install into the robotics starter kit 2.0 which will allow the robot to start when the power is on.
I read in the io board 375052c manual pg 18 and your web pages how to do this but the documentation is a little behind the hardware. On page 18 in step 3 there is no 'RUN WHEN LOADED TO FPGA CHECKBOX' so I am not sure what to do.
The starter kit project explorer was able to establish a FPGA TARGET under the CHASSIS, not My Computer folder.
I tried to run the program in starter kit 2.0 roaming once the FPGA TARGET was established as a prog to run when the bot was turned on but the bot would respond.
Can you help?Please, to get the bot to run at power one per second item in table 2 of the 375052c
thanks
11-14-2014 01:22 PM
Treewq,
I would look at the Knowledge Base article linked below. It goes over how to get your FPGA VI to run at startup.
http://digital.ni.com/public.nsf/allkb/BC513C2A0DC29C89862574BF0002B0B9?OpenDocument
11-14-2014 07:31 PM
I looked at it and tried to follow the instructions but
You can then configure the bitfile to run when it is loaded to the FPGA by right-clicking on the new compilation specification and selecting properties, which will produce the following screen:
there is no properties to select when right clicking. I tried to right click a number of instances in the project file to see if I could do something and relooking in the help file but I couldn't find anything.
If you could let me know how to proceed I would appreciate it.
11-17-2014 12:58 PM
Treewq,
I am not sure if you meant to attach an image. The following screen is what I see when I create a new build specification under the FPGA target.
Does this option not appear for your or is it just not running the VI on startup?
11-17-2014 01:32 PM
it is the whole process to get there.
If you start from the robotics wizard
you first need to create the fpga in the chassis
then you create a real time app. 'under' the sbrio Biuld Specification
then Build under 'title of RT App'
Set startup type
and deploy.
If you don't have the first the rest don't seem to follow.
and its seems there was no straight forward way to eventually get there.
I haven't tried it yet, and hope it works. but it seems all there
Thanks for reply