05-16-2014 10:59 AM
Hello everyone
I am working on a galil motor controller for a stepper motor. I have a fully functioning code for the stepper motor but I am now trying to create a data file to log the motors activity. I have created two attempts at appending to a file everytime the motor changes position. One of my attempts was a shift register using a while loop, it works the only problem with it is that it is constantly running. This makes the motor run constantly so if I set an angle itll try to keep setting it as long as the while loop is running.
Attached is my VI I have worked very hard at this. Please let me know how i could fix it
Thanks
05-16-2014 11:17 AM
You write to the file before setting the pointer to the end. Here, I made a very simple edit that should get you going.