11-05-2008 01:28 AM
How can I change the SoftMotion example entitled “position control closed loop- NI 9505.lvproj” in order to use it as a configurable sub-vi to drive serveral motors?
in a PXI-RT box I’m using a PXI-7813R card, its ports are connected to several R-series expansion chassis’s each of them driving three 9505 Modules, i.e. 12 motors in total
The problem is I didn’t find a way to programmatically define which 9505 Module the sub-vi should use, i.e which motor to drive. Is there a way to archive this?
thank you.
A. Villa
Airbus Deutschland
Bremen, Germany
11-05-2008 02:21 AM
Hello Mr. Villa,
as the current and position control portion of your code needs to get implemented on the FPGA. That means, that the code needs to be mapped to the gates of the FPGA, which doesn't allow dynamical assignment of resources at runtime. So in your case you will have to implement the code for one axis and create multiple instances of it with modified I/O nodes for each axis. In contrast to the design rules of standard LabVIEW vis, you should work with a quite flat vi hierarchy with LabVIEW FPGA in order to save FPGA space.
Kind regards,
Jochen Klier
National Instruments