Bernie,
I took a look at your code and modified it slightly to work correctly and attached it below. Generally, two variables are used as a sort of 'header' for array operations such as this. This is described in the FlexMotion VI Online (LabVIEW Help for Motion)for the "Write Buffer.flx" which states:
"To write data to the buffer from an onboard variable, use an Inp Vect other than 0xFF. The variable you specify for
Inp Vect indicates the starting point for the data for this VI, including Number of Points and Regeneration Mode, followed by the data to be written to the buffer. So in order to write ten data points to the buffer, you must use twelve variables."
So I added two variables and now your code runs as expected.
Regards,
JR A.
Applicat
ion Engineer
National Instruments