> On 19 Feb 2020, at 01:27, Ed W <li...@wildgooses.com> wrote:
> 
> 
> OK, so how do I debug why I don't see any steps coming out..? Hmm. I am 
> really unsure what I should be doing here...

What step length did you choose? Maybe they are just too short for your 
measuring equipment. 

 You can test the card from the command line

halrun
loadrt hostmot2 
loadrt hm2_pci config=“num_stepgens=0”
loadrt threads
addf hm2_5i25.0.read thread1
addf hm2_5i25.0.write thread1
start

You now should have a running but doing nothing 6i25 with the stepgens set up 
as GPIO. To see all the pin names:

show pin
show param

To set the value of a pin so you can measure it

setp hm2_5i25.0.gpio.000.is-output 1
setp hm2_5i25.0.gpio.000.out 1 (or 0)

This uses gpio numbers. But you should have seen a list scroll past during the 
setup stage with the gpio to pin number mapping. 

When you have finished experimenting 

exit

You can use tab-completion and command history to make it quicker, and also to 
ensure correct spelling. And that might be needed as this is all from memory 
and typed on my phone. 

_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to