Hello,
I downloaded your vi, created a text file with four random target positions per axis and started the vi. The vi executed without producing an error message. I'm using a PCI-7344 board in Open Loop stepper mode. This way I didn't have to connect real hardware to my board for testing. I was able to see the position counters changing on your vi's front panel so everything seems to be alright.
Here are some suggestions:
1. I'm using FlexMotion driver software 5.1.1 with the latest firmware/driver patch f4 that's available on the NI ftp site: ftp://ftp.ni.com/support/motion/Software/PC/FlexMotion/5.1.xf4_patch/
If you haven't done this already, please install this driver version and the patch. If the error isn't fixed with this patch please tell me the error nu
mber.
2. As I wrote I just created a file with random positions. Maybe the error is related to the position data you pass to the application from your file. Could you please provide a test file with the position data you are using?
3. I don't see the need to assign the 4th axis to a vector space. If you use only one axis in a vector space you also could simply adress the axis directly. This shouldn't be the cause of your problem but I didn't want to let this unmentioned.
Regards,
Jochen Klier
Application Engineering Group Leader
National Instruments Germany GmbH