On 1 June 2012 14:52, Joachim Franek <joachim.fra...@pibf.de> wrote: >> halcmd setp motion.analog-in-00 $ADC
> which comp to load for testing (without lcnc running)? > Is a signal possible? You want to see if you can get values into HAL, but without starting all of LinuxCNC? You can probably do it with two terminal windows: Window 1: halrun loadrt and2 Window 2: ADC = $( echo -e "adc get 4" | nc 192.168.1.92 2701) halcmd setp and2.0.in0 $ADC Window1: show pin I chose almost at random, just to create some HAL pins to write to. You would need loadrt threads / addf and2.0 thread1 / start if you wanted to see the output pins update -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users