<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Raspberry_Pi_Camera.Still Methode in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d89f7a49da/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d89f7a49da/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/d89f7a49da/</id><updated>2020-02-27T16:32:55.276000Z</updated><subtitle>Recent posts to Raspberry_Pi_Camera.Still Methode in Codesys</subtitle><entry><title>Raspberry_Pi_Camera.Still Methode in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d89f7a49da/?limit=25#67b8" rel="alternate"/><published>2020-02-27T16:32:55.276000Z</published><updated>2020-02-27T16:32:55.276000Z</updated><author><name>CanBohr</name><uri>https://forge.codesys.com/u/canbohr/</uri></author><id>https://forge.codesys.com7da0f695bc917fe8a918cd9b4fa107355f5db4a8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you for your instant reaction.&lt;br/&gt;
Any Idea when the bug might be fixed?&lt;br/&gt;
I am trying with the workaraound but its really ugly.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br/&gt;
Xav&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry_Pi_Camera.Still Methode in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d89f7a49da/?limit=25#7e1f" rel="alternate"/><published>2020-02-27T16:32:52.823000Z</published><updated>2020-02-27T16:32:52.823000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com9a0f7bfac26e8089d243e6af136f825cfa675f04</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
this is a bug, which need to be fixed.&lt;br/&gt;
Ugly Workaround would be to call it by SysProcess....Command2&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry_Pi_Camera.Still Methode in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/d89f7a49da/?limit=25#f95f" rel="alternate"/><published>2020-02-27T16:32:51.935000Z</published><updated>2020-02-27T16:32:51.935000Z</updated><author><name>CanBohr</name><uri>https://forge.codesys.com/u/canbohr/</uri></author><id>https://forge.codesys.comd4c6bc54df5e86191685ebfc8b70d0fa3f57d638</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo ans Forum, hello to the forum (english see at the second half of the text),&lt;/p&gt;
&lt;p&gt;ich verzweifle gerade an der Raspberry_Pi_Camera.Still Methode in Codesys.&lt;/p&gt;
&lt;p&gt;Ich rufe diese Methode auf mit:&lt;br/&gt;
'-a "20180124_102427" -md 7 -w 640 -h 480 -n -v -o /home/pi/Ordner/20180124_102427_Bild.jpg'&lt;/p&gt;
&lt;p&gt;Leider wird dabei der Dateiname nach der "24" in der Uhrzeit abgeschnitten. Offensichtlich kann die Methode nur eine begrenzte Zeichenzahl übernehmen.&lt;/p&gt;
&lt;p&gt;Wenn ich den Befehl im Pi direkt eingebe, funnktioniert er einwandfrei. Es muß also an der Methode im Codesys liegen.&lt;/p&gt;
&lt;p&gt;Gibt es dafür eine Lösung?&lt;/p&gt;
&lt;p&gt;Ich habe auch schon mit -a 12 und -a 8 und -a 4 experimentiert, leider wird dabei das Datum in amerikanischer Schreibweise ausgegeben, was nicht erwünscht ist.&lt;/p&gt;
&lt;p&gt;Außerdem bekomme ich in Codesys bei Verwendung von $27 oder bei $' nicht nur das Hochkomma, sondern auch das Dollarzeichen in den String. Wie bekomme ich nur das Hochkomma mitten in den String.&lt;/p&gt;
&lt;p&gt;Über Hilfe würde ich mich freuen.&lt;br/&gt;
Gruß,&lt;br/&gt;
Xav&lt;/p&gt;
&lt;p&gt;For the ones who prefer English:&lt;br/&gt;
I am a bit desperate with the Raspberry_Pi_Camera.Still Method in Codesys.&lt;/p&gt;
&lt;p&gt;If I call this method with:&lt;br/&gt;
'-a "20180124_102427" -md 7 -w 640 -h 480 -n -v -o /home/pi/Ordner/20180124_102427_Bild.jpg'&lt;/p&gt;
&lt;p&gt;The string will be cut after 24 in the time sequence. Obviously this method can only handle a certain number of characters in Codesys.&lt;/p&gt;
&lt;p&gt;If I put the command directly into the console of the Pi, all is like it should be.&lt;br/&gt;
So the problem has to be related to the Method in Codesys.&lt;/p&gt;
&lt;p&gt;Any hints?&lt;/p&gt;
&lt;p&gt;I also have tried -a 12, -a 8 and-a 4 but then I get the american way to write date "mm/dd/yyyy" which I don't want to have.&lt;/p&gt;
&lt;p&gt;Additionally I have a problem by using $27 or $' in strings, for the Raspberry_Pi_Camera.still method the Dollar sign seems to be a problem as I get the error code 2 without any picture stored. So how can I get the ' sign into the method for getting a picture. A conversion from Wstring to String doesn't work either.&lt;/p&gt;
&lt;p&gt;I would appreciate to get some help or hints.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br/&gt;
Xav&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>