Considerations when Using Functions with Input Vectors

NI-Motion Functions

Considerations when Using Functions with Input Vectors

NI-Motion functions that take an input vector allow the data for the function to be loaded from different sources. The inputVector argument in a function tells the NI motion controller to take the function data either from the host computer or from an onboard general-purpose variable. An input vector of 0xFF (for Visual Basic users, &HFF) causes the NI motion controller to get the data from the host computer, in other words, from the data parameters in the function call. Refer to Input and Return Vectors for more information about input vectors.