I first tried to configure an input buffer but I soon found out that the declaration in the FlexMotn.bas does not match the dll call or the FlexMotion software reference manuel 5.1.1 page 7-73. This does not seem to be the only problem, I can't write the content of an onboard variable into an input buffer. What I am trying to do is to write the actual position of an axis in an input buffer while an axis is in motion so I can plot this information later. Is there anyone out there that is programming a PCI FlexMotion 6C in visual basic? Thanks for anyone who can give me an answer.