I have a preliminary WJ200 modbus inverter driver that I've written, based upon other modbus drivers I have seen from the VFD wiki page.
The source code so far is posted at https://github.com/OKComputers/wj200vfd How do I report an error from user_mainloop? If the driver crashes, or errors out, how do I get the hal to automatically ESTOP and fail. The usermode comp does not seem to be able to report an error. The behavior so far, seems to be that the pins and parameters just dissapear from the hal if the driver exits for any reason. Also, when logging information, does the hal watch stdout and stderr and pass information along somewhere? I'm not sure if there is a page somewhere that shows me how to do logging. Thanks, Curt P.S. Once I get it sorted out, I'll be happy to support this driver. ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers