11-19-2009 12:46 AM
hii
i am new to this stepper motor controlss section.
i am using vaccum compatible stepper motor .. the whole manual of this is ayyached alongwith..and the program made by
me is also attached along with..i had run the other stepper motor with the same code..i do not know where is the problem..
please help me..
11-19-2009 12:51 AM
sorry forgot to attach the files...
now here these are.
12-17-2009 09:22 AM
Hey Sahil,
Thanks for posting on the forums. Hopefully this was the thread you were referring to in the Engineer Awesome ni.com/community group discussion. Sorry that you did not receive any feedback from your issue, that is fairly rare.
Anyway, in regards to the issue at hand. The fact that you are using a stepper motor is not as significant as the fact that you are communicating to your instrument (in this case I would image that it is your motor controller/drive) via RS232. I hate to point you to another resource, but the instrument control forum may be the most appropriate location for your query.
In the Engineer Awesome discussion, you mentioned that you were able to control the device through a third party application but you were having trouble doing so in LabVIEW. My first reaction after looking at your code is termination characters. Does your controller expect any sort of termination character? Also, are you sure that you are sending the same commands via LabVIEW as you are in the third party application? If you use a port sniffer application to monitor the traffic over your RS 232 connection when your third party application is running and compare that to when your LabVIEW code is running (you could use NI SPY for this when you are using NI VISA), how do the two situations compare.
If I had to guess, I would think that you are not sending commands/termination characters to your instrument that it is expecting.
Lastly, a more detailed description of what your issue is, what you have tried, and what is and isn't working would really help everyone understand what is going on and how to help. As it is, it is unclear what the issue is or what you are trying to accomplish.
12-18-2009 02:40 AM
hii Ben
If you use a port sniffer application to monitor the traffic over your RS 232 connection when your third party application is running
as we can monitor RS232 connection by NI Spy only when NI software is running.
please tell me.
12-18-2009 07:55 AM
Hey Sahil,
NI Spy keeps track of any NI VISA calls you make. This is why you can monitor the calls to your device from NI software. A serial port monitor is not really something new, there are plenty of offerings if you do a simple Google search for 'serial port monitor'. The goal of this serial port monitor is to see what your third party software that seems to be working is sending to your device; then comparing that to what you LabVIEW code is sending to your device.
I do not have a lot of experience actually using any serial port monitoring software, so I am not sure that I can recommend any specific serial port monitoring software; however, here is one example: Serial Port Monitor.
12-22-2009 10:33 PM
hiii BEN
thanks for yours help ... i am now able to run the stepper motor....
the problem was simple ...
here i will say that analysing the actual problem is half the race won.....
once again i will say that i am too much thankful to you and also waterloo labs.
11-19-2010 10:25 AM
hi sahil
I have same problem . would you please say what was the problem ?
Best REgards
Mehdi
10-01-2013 11:10 AM
Hi Sahil and Mehdi,
I have exactly the same problem with the same dual stepper motor drive (SMD2).
I'd be most grateful if you could share with me how you resolved the problem.
Best regards.