I would like to modify slightly the features of the mover panel to "simultaneously"
-generate a waveform on a single channel (e.g. X motor)
- depending on the movement (XP, XM, YP...) generate GPIO outputs to adress X,Y or Z channel via an external electronic
is it possible ? If yes, the simpler solution for me (?) would be to hack the python scripts mk2_spm_control, but I haven't any idea on how to generate a waveform using python...
Any hints ?
Timely post! I also would like to do this.
Specifically, I would like to generate the waveform described in Fig. 4 of Chatterjee et al. so I can test their piezo-drive circuit. I need the motor output (M) to go high for a ms or so and then ramp to zero. Simultaneously, I need a digital trigger signal (GPIO?) to go high just before the ramp down and low just after it is complete. I also need the time reversal for backward steps.
What is the best way to do this?
Chatterjee, K., Boyer, M., Wise, W. & Hudson, E. An auxiliary capacitor based ultrafast drive circuit for shear piezoelectric motors. Rev. Sci. Instrum. 80, 095110 (2009).
You can create within Gxsm/HwI any wave form and download to the DSP!
Have a look at the existing routines related to the wave forms provided by default. Let us know if you need help to find the code. (Gxsm-2.0/plugins/hard/sranger_mk2_hwi_mover.C, line 153ff:
Log in to post a comment.