Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

using serial commands to control alpha step motor in labview

i have an alpha step rotary motor from Oriental Motors.  In hyperterminal I am able to fully control the motor.  Sample code would be as follows:
 
edit test             %created program name "test"
 
dis=1000           %sets the number of steps to move
mi                      %tells motor to rotate by specified number of steps
end                    %indicates end of program
 
In order to exit the programming mode I press Esc, the syntax is checked, and the code is uploaded into the driver, which controls the motor.  "Run test" can be typed to execute the program at any time. 
 
The problem arises in Labview and sending serial commands to the driver.  As with the sample program above, I am able to add all the lines of code, but I don't know how to exit the programming mode within Labview in order to save it. 
 
0 Kudos
Message 1 of 2
(3,524 Views)
Tman-

It sound like all you need to know how to do is send the ESC key over serial. You can use any of the suggestions in this KB (even though it says its for 6.1, it will work with any version of LabVIEW):

http://digital.ni.com/public.nsf/websearch/86256A47004E16D186256A3E0051653A?OpenDocument

Xaq
0 Kudos
Message 2 of 2
(3,503 Views)