Am 25.06.2012 um 15:42 schrieb Joachim Franek:

> On Monday 25 June 2012 13:11:55 Michael Haberler wrote:
>> I'm a bit unsure about a decent use case and from understanding fuse 
>> (accomplished) to a useful tool (not accomplished) it's quite a bit of work
>> however now that halrmt is gone, remote access to HAL has an option less; 
>> but whether remote file access through, say, samba, is a usable realtime 
>> monitoring method is TBD; I guess no due to caching.
>> 
> I think it is usefull for transfering data from userspace
> to hal. For example I can readout my UT70D (a dmm)
> over RS232 and a simple 
> write(file,dmm_value);
> transfers the value to hal space.

I would guess the more direct way to do this is a Python userland HAL component 
(http://www.linuxcnc.org/docs/devel/html/hal/halmodule.html)

- use pyserial to access the port
- suffer through decoding the protocol 
(http://www-user.tu-chemnitz.de/~heha/hs_freeware/UNI-T/ might help)
- update hal pins with results

-m



------------------------------------------------------------------------------
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-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to