NEWS
LinuxCNC 2.5.4 Release
There are no translations available.

LinuxCNC 2.5.4 Update Released (changelog).
 
LinuxCNC 2.5.3 Release
There are no translations available.

LinuxCNC 2.5.3 Update Released (changelog).
 
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
Home Forum Configuring LinuxCNC HAL Components Host sensors HAL Component

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Host sensors HAL Component

Host sensors HAL Component 21 Мар 2011 21:35 #7992

  • dsigma
  • dsigma's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 3
So I wrote a HAL component that I use to extract all the motherboard sensor readings and make them available as HAL pins, and in turn display them in my pyVCP. Attached is a python component and JPG snapshot of it's output (on my computer). I thought this might be handy to someone else out there. It will automatically detect most motherboard sensor readings, parse them, and make them available in the HAL...

Hope someone else finds this useful...

Regards,
-dave This attachment is hidden for guests. Please log in or register to see it.
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
Last Edit: 21 Мар 2011 21:36 by dsigma.
The administrator has disabled public write access.

Re:Host sensors HAL Component 21 Мар 2011 21:57 #7993

  • cmorley
  • cmorley's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1877
  • Thank you received: 101
  • Karma: 96
Thats pretty cool!
You should add it here:
wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ContributedComponents
The administrator has disabled public write access.

Re:Host sensors HAL Component 21 Мар 2011 23:52 #7994

  • dsigma
  • dsigma's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 3
Thanks... good idea... I added a sub-section to the user components section on the wiki...

-d
The administrator has disabled public write access.

Re:Host sensors HAL Component 06 Мар 2012 19:36 #18434

  • RayJr
  • RayJr's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Karma: 2
Nice panel.. Would you be willing to post your xml file?


Ray M.
The administrator has disabled public write access.

Re:Host sensors HAL Component 08 Мар 2012 10:58 #18460

  • dsigma
  • dsigma's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 3
Sure... You'll find the sensors related parts at the very bottom of the attached XML file.

Note: each computer has different types of sensors, and different things will show up in the HAL depending on what the python script is able to find. You'll need to go into EMC and look at what it finds and how it names the pins, then reference those in your pyvcp.xml

Hope this helps...

Best Regards
-Dave This attachment is hidden for guests. Please log in or register to see it.
Attachments:
  • Attachment This attachment is hidden for guests. Please log in or register to see it.
Last Edit: 08 Мар 2012 10:59 by dsigma.
The administrator has disabled public write access.

Re:Host sensors HAL Component 12 Мар 2012 16:34 #18556

  • RayJr
  • RayJr's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 37
  • Karma: 2
Thank you Dave.
I am not good at writing xml. I find it much easier to copy, paste, then modify to suit.

Now that I think I have everything set up correctly, I find that my MoBo doesn't have any sensors to speak of. I verified this with a gnome utility.

Thank you again!


Ray
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.695 seconds
Powered by Kunena Forum
© 2014 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.