<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CPU Temperature</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52ddecd8a9/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52ddecd8a9/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/52ddecd8a9/</id><updated>2020-02-27T15:43:25.213000Z</updated><subtitle>Recent posts to CPU Temperature</subtitle><entry><title>CPU Temperature</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52ddecd8a9/?limit=25&amp;page=1#6cd4" rel="alternate"/><published>2020-02-27T15:43:25.213000Z</published><updated>2020-02-27T15:43:25.213000Z</updated><author><name>Andreas-K</name><uri>https://forge.codesys.com/u/andreas-k/</uri></author><id>https://forge.codesys.com19a0e62bde96586cb031b843e1eef4205bbe04a9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you Edwin, now it &lt;br/&gt;
works.&lt;br/&gt;
I should read more carefully.&lt;/p&gt;
&lt;p&gt;Best regards &lt;br/&gt;
Andreas&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CPU Temperature</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52ddecd8a9/?limit=25&amp;page=1#9db1" rel="alternate"/><published>2020-02-27T15:43:23.153000Z</published><updated>2020-02-27T15:43:23.153000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com9941e939b2721943ba3eb1d606a4956c690ef90b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;sorry remove it from /etc/CODESYSControl.cfg&lt;br/&gt;
my fault it should be in &lt;strong&gt;/etc/CODESYSControl_User.cfg&lt;/strong&gt;&lt;br/&gt;
and&lt;br/&gt;
yourshellcommand = vcgencmd  &lt;/p&gt;
&lt;p&gt;or possible is (either allow single commands or all):&lt;br/&gt;
&lt;strong&gt;&lt;span&gt;&lt;span&gt;[SysProcess]&lt;/span&gt;&lt;/span&gt; Command=AllowAll &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;to allow every shell command&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CPU Temperature</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52ddecd8a9/?limit=25&amp;page=1#dd27" rel="alternate"/><published>2020-02-27T15:43:22.383000Z</published><updated>2020-02-27T15:43:22.383000Z</updated><author><name>Andreas-K</name><uri>https://forge.codesys.com/u/andreas-k/</uri></author><id>https://forge.codesys.combd1cafb89f76860ab4398a42e82022eb203f33a6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear Edwin&lt;/p&gt;
&lt;p&gt;I added your suggestions to the CODESYSControl.cfg file but it is still not working.&lt;br/&gt;
I bootet the whole system. &lt;/p&gt;
&lt;p&gt;Any other hints?&lt;/p&gt;
&lt;p&gt;Thanks Andreas&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Command.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4827"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CPU Temperature</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52ddecd8a9/?limit=25&amp;page=1#5456" rel="alternate"/><published>2020-02-27T15:43:20.222000Z</published><updated>2020-02-27T15:43:20.222000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.come4eac9e509c8c1f17d26e1656304ab75e14a90f4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;did you enable the command in&lt;strong&gt; /etc/CODESYSControl_User.cfg&lt;/strong&gt;  ?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[SysProcess]&lt;/span&gt;&lt;br/&gt;
Command.0=shutdown&lt;br/&gt;
Command.1=yourshellcommand&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CPU Temperature</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52ddecd8a9/?limit=25&amp;page=1#2dae" rel="alternate"/><published>2020-02-27T15:43:19.341000Z</published><updated>2020-02-27T15:43:19.341000Z</updated><author><name>Andreas-K</name><uri>https://forge.codesys.com/u/andreas-k/</uri></author><id>https://forge.codesys.com3cd6478e842c2a2f04fa2776cad0080a7c73d38f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello everyone&lt;/p&gt;
&lt;p&gt;I am a programming novice. I tried to use the function described in previous&lt;br/&gt;
posts.&lt;br/&gt;
But I am not sure what I am doing wrong. I do not get a temperature back.&lt;br/&gt;
When I type it in the command window of the Pi I get a temperature.&lt;/p&gt;
&lt;p&gt;I only want to read it every 2000th cycle. &lt;/p&gt;
&lt;p&gt;Thanks for any suggestions.&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2019" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4826"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CPU Temperature</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52ddecd8a9/?limit=25&amp;page=1#0c89" rel="alternate"/><published>2020-02-27T15:43:18.519000Z</published><updated>2020-02-27T15:43:18.519000Z</updated><author><name>josepmariarams</name><uri>https://forge.codesys.com/u/josepmariarams/</uri></author><id>https://forge.codesys.com443b6f7d39e90fd1b1d567ea2697d3ffc9717179</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dears.&lt;/p&gt;
&lt;p&gt;I have try to use this method to read the temperature in a patched_rt kernel.&lt;/p&gt;
&lt;p&gt;I had to pass the function to an assync task, if not watchdog rises.&lt;/p&gt;
&lt;p&gt;But passing to assink, the jitter in main task increases to some ms. I sopose that is caused because the external call is made with same priorities as cidesys is running and the main task interrupt is blocked.&lt;/p&gt;
&lt;p&gt;Can I call the system function changing process owner or priority or....&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CPU Temperature</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52ddecd8a9/?limit=25#9519" rel="alternate"/><published>2020-02-27T15:43:16.392000Z</published><updated>2020-02-27T15:43:16.392000Z</updated><author><name>allen00se</name><uri>https://forge.codesys.com/u/allen00se/</uri></author><id>https://forge.codesys.com18cd4a515e764f4002a324a523eea5e4e9e7336a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;All,&lt;br/&gt;
I found the solution... apparently this is an "Advanced" library. So in order for it to be visible to be added you have to click the little "+" icon on the add library window.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Bild" rel="nofollow" src="http://i.imgur.com/FUNkd0c.png"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CPU Temperature</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52ddecd8a9/?limit=25#bc5c" rel="alternate"/><published>2020-02-27T15:43:15.551000Z</published><updated>2020-02-27T15:43:15.551000Z</updated><author><name>allen00se</name><uri>https://forge.codesys.com/u/allen00se/</uri></author><id>https://forge.codesys.com3106f47a13419b701d09c1bce9d81661cb1be4a7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi,&lt;br/&gt;
you mean if you type: SysProcess (in the green field?)&lt;br/&gt;
This does not occure like in in my screenshot&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I have the same problem also, I am running V3.5 SP9 patch1 and when I type SysProcess there is no matching libraries.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CPU Temperature</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52ddecd8a9/?limit=25#5225" rel="alternate"/><published>2020-02-27T15:43:14.664000Z</published><updated>2020-02-27T15:43:14.664000Z</updated><author><name>frankdunn</name><uri>https://forge.codesys.com/u/frankdunn/</uri></author><id>https://forge.codesys.comafc1dcbe51987f93f6e5f469f5eada85ad7c5f58</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;Yes , it is like the screenshot that I attached earlier , when I type in sys in the search field there is no library named SysProcess .&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CPU Temperature</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/52ddecd8a9/?limit=25#eaa5" rel="alternate"/><published>2020-02-27T15:43:12.598000Z</published><updated>2020-02-27T15:43:12.598000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comfd16ba7a5817aeeaf40ca174280e61c1af566c61</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
you mean if you type: SysProcess (in the green field?)&lt;br/&gt;
This does not occure like in in my screenshot&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: SysProcess.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1429"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>