cmus...@gmail.com
unread,Feb 20, 2015, 6:49:25 PM2/20/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to velmex-...@googlegroups.com
Hello,
I have a pair of BiSlides with VXM motors that I'm trying to program to perform a raster scan. The program I wrote is as follows (with user inputs indicated in parentheses):
F,C,S1M600,S2M600,I1M-0,IA1M-0,I2M-0,IA2M-0,I2M(# of steps to initial position),I1M(# of steps to initial position),LM0,I2M(# of steps/interval),P30,L(# of motor 2 intervals),I1M(# of steps/interval),L-(# of motor 1 intervals),I1M-0,I2M-0,R
The issue seems to be that I want motor 2 to be the one that reverses direction after each increment of motor 1 but according to the documentation, the command L-x loops to the marker and alternates the direction of motor 1 indices. Is there a command that does the same for motor 2?
Second question:
Eventually, instead of the 3 second pause (P30), I would like to replace this part of the program with code that will take a measurement then continue with the scan. The measurement would be an instrument on another serial port, and I would want the scan to wait for an "ok" from the other serial port to continue. Can you suggest the best way to do this?
Thanks so much!
Chris