![](https://secure.gravatar.com/avatar/477281aad22e2e3ba0d5b92e4491caf0.jpg?s=120&d=mm&r=g)
Hi, I know this is a bit off-topic but I wondered if anyone here had any experience with the following problem. Part of our work involves controlling a bunch of lab instrumentation, which so far has worked beautifully using python + scipy/numpy + pyVISA. Then we got a stepper motor which does not comes with an activeX control and (as far as I can tell) nothing else. This means using the com extensions for win32 and trying to communicate with the activeX control. All is not progressing well (we can find the control but send no data to it, and it certainly won't talk back to us). Does anyone have any experience with this? If so, would you mind sending me some code snippets for gaining control of the activeX element? Thanks very much and my appologies for the not-so-on-topic post (I actually think instrumentation control would be a great addition to scipy and if I become competent may look at contributing code in that direction). Cheers Chris
![](https://secure.gravatar.com/avatar/50d19161c72f10c12ad8ab90cb8b5473.jpg?s=120&d=mm&r=g)
I've used ctypes to access .dll libraries, but I've never used activex. Andrew Straw has written a very nice library for Measurement Computing hardware. Perhaps something there would be useful: http://code.astraw.com/ Do you have a hardware stepper driver, or are you trying to do it all in software? john Chris Lee wrote:
Hi, I know this is a bit off-topic but I wondered if anyone here had any experience with the following problem.
Part of our work involves controlling a bunch of lab instrumentation, which so far has worked beautifully using python + scipy/numpy + pyVISA. Then we got a stepper motor which does not comes with an activeX control and (as far as I can tell) nothing else.
This means using the com extensions for win32 and trying to communicate with the activeX control. All is not progressing well (we can find the control but send no data to it, and it certainly won't talk back to us). Does anyone have any experience with this? If so, would you mind sending me some code snippets for gaining control of the activeX element?
Thanks very much and my appologies for the not-so-on-topic post (I actually think instrumentation control would be a great addition to scipy and if I become competent may look at contributing code in that direction).
Cheers Chris _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
![](https://secure.gravatar.com/avatar/477281aad22e2e3ba0d5b92e4491caf0.jpg?s=120&d=mm&r=g)
Well actually it is a DC motor that is controlled via a USB "block" that can be used to drive either stepper motors, DC servos, or piezos, or a combination (depending on the number of channels) I have discovered where the dlls are hidden but have not managed to drive it using ctypes (I have had success with this using a different motor control/motor combination) I will take a look at andrew's web site. Cheers Chris PS John, sorry for the double email but I didn't reply to the list on the first occasion -----Original Message----- From: John Hassler [mailto:hasslerjc@comcast.net] Sent: Mon 11/12/2007 7:00 PM To: Lee, Chris (TNW); SciPy Users List Subject: Re: [SciPy-user] instrumentation control question I've used ctypes to access .dll libraries, but I've never used activex. Andrew Straw has written a very nice library for Measurement Computing hardware. Perhaps something there would be useful: http://code.astraw.com/ Do you have a hardware stepper driver, or are you trying to do it all in software? john Chris Lee wrote:
Hi, I know this is a bit off-topic but I wondered if anyone here had any experience with the following problem.
Part of our work involves controlling a bunch of lab instrumentation, which so far has worked beautifully using python + scipy/numpy + pyVISA. Then we got a stepper motor which does not comes with an activeX control and (as far as I can tell) nothing else.
This means using the com extensions for win32 and trying to communicate with the activeX control. All is not progressing well (we can find the control but send no data to it, and it certainly won't talk back to us). Does anyone have any experience with this? If so, would you mind sending me some code snippets for gaining control of the activeX element?
Thanks very much and my appologies for the not-so-on-topic post (I actually think instrumentation control would be a great addition to scipy and if I become competent may look at contributing code in that direction).
Cheers Chris _______________________________________________ SciPy-user mailing list SciPy-user@scipy.org http://projects.scipy.org/mailman/listinfo/scipy-user
participants (3)
-
C.J.Lee@tnw.utwente.nl
-
Chris Lee
-
John Hassler