J
Hello,
I've gone through the io/dio48 module and made it configurable (I hope that's OK with you Curt - this used to be your module...).
It now gets the points it should input/output, the direction and the device filenames it should use from the config. The filenames have defaults, but the specification of the mapping is mandatory.
I guess it's an example of how I intended the config routines to be used; I'm never quite sure whether I'm making things clear or confused
Incidentally, I realized while I was changing it that half the old code used opposite directions to the other half - either there was a fairly
serious bug in it, or I've completely misunderstood *something*.
Jiri
--
Jiri Baum <[email protected]>
Windows is not popular. Windows is *widespread*. Linux is popular.
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc
I've gone through the io/dio48 module and made it configurable (I hope that's OK with you Curt - this used to be your module...).
It now gets the points it should input/output, the direction and the device filenames it should use from the config. The filenames have defaults, but the specification of the mapping is mandatory.
I guess it's an example of how I intended the config routines to be used; I'm never quite sure whether I'm making things clear or confused
Incidentally, I realized while I was changing it that half the old code used opposite directions to the other half - either there was a fairly
serious bug in it, or I've completely misunderstood *something*.
Jiri
--
Jiri Baum <[email protected]>
Windows is not popular. Windows is *widespread*. Linux is popular.
_______________________________________________
LinuxPLC mailing list
[email protected]
http://linuxplc.org/mailman/listinfo/linuxplc