07-11-2017 06:00 AM
hi
i want to modify the default fpga personality to only control PWM pins
and leave the remaining pins to RT to control them or do what i ever want to do with them
when i first tried to control a servo using fpga and read anlog sensor from real time , the fpga only worked when i removed the fpga , the RT worked!
i found this solution in https://forums.ni.com/t5/Academic-Hardware-Products-ELVIS/Using-more-than-4-quadrature-encoder-input...
that says i need to modify the default fpga personality add and remove components as needed and then build the bitfile.
i removed all DIO pins from connector A and connector B except the PWM functions (see the attached file)
i built the bitfile then updated the Open FPGA VI Reference in myRIO v1.1 Open.vi like the solution said
i also updated Open FPGA VI Reference in my RT vi block diagram
after all that i didn't work
my questions are as follows
Thanks,
07-11-2017 07:30 AM
Are you asking how to develop software for an NI FPGA? If you are then you will need the FPGA module and a way to compile to a bit file. This can either be NI's cloud compile service or a local PC if you have the compilation tools installed (usually come with the FPGA toolkit). After that I'd say read up on how to develop and deploy to the FPGA.
http://www.ni.com/white-paper/6983/en/
http://www.ni.com/white-paper/12950/en/
It basically involves making a project, adding the FPGA as a target, writing your VIs, and then building and deploying code to it. Do you have the source of the existing FPGA code? If so you may already have a project with this setup for you.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
07-11-2017 08:16 AM
first of all ,thank for your reply
No, i already knew how to develop software on fpga say driving stepper motor on it but when i try to read sensor on real time plus controlling the stepper on fpga it simply doesn't work together
the default fpga personality uses all the pins so when using real time with fpgai can't use any pins
see this link for more information
http://zone.ni.com/reference/en-XX/help/376300A-01/elvisriocm/elvis_rio_fpga_personalities/
07-11-2017 08:31 AM - edited 07-11-2017 08:31 AM
Oh sorry I wasn't aware of premade "personalities" for various FPGAs like this. I've never used an Elvis RIO, or myRIO.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
07-11-2017 02:23 PM - edited 07-11-2017 02:25 PM
Are you saying that you want to basically tweak the RIO scan engine FPGA personality?
EDIT: Never mind, you clearly meant something else.