I am in the process of trying to create a 3-axis motion controlled system using LabView. We have 3 stepper motors, all connected through the nuDrive box, and they all work fine. The coding however is getting very complicated and confusing. I currently have written a program for an axis to move in steps to a target position, and then return to its original position. I wanted to make this a sub-VI so I could eliminate many wires and other motion-VI's, but I can't figure out how to do this. I tried copying things from other motion VI's (i.e. the Stop Motion VI), mainly the blue boxes that define data types... I cannot seem to find where these are located. So I write my VI and save it but when I go to "select a VI" (under all functions)
and open it, it has no "terminals" to wire to.
How can I make sub VI's that are able to be used by other programs? This would make life a lot simpler! Thanks.