<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to get IScriptDeviceObject</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b8706e42a7/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b8706e42a7/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/b8706e42a7/</id><updated>2020-02-27T15:02:28.914000Z</updated><subtitle>Recent posts to How to get IScriptDeviceObject</subtitle><entry><title>How to get IScriptDeviceObject</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b8706e42a7/?limit=25#8fdb" rel="alternate"/><published>2020-02-27T15:02:28.914000Z</published><updated>2020-02-27T15:02:28.914000Z</updated><author><name>mkeller</name><uri>https://forge.codesys.com/u/mkeller/</uri></author><id>https://forge.codesys.combdf577656a29873b56a2cbe2c8a1746d838ef1cb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi MSprock.&lt;/p&gt;
&lt;p&gt;Your question should normally be send to our support because it is beyond the scope of this forum. &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;MSprock hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
the methods are: export/import_io_mappings_from_csv&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;These two methods of the IScriptDeviceObject are just calling the corresponding command with the necessary arguments.&lt;/p&gt;
&lt;p&gt;Both commands use the following argument list:&lt;br/&gt;
- File path of the CSV file&lt;br/&gt;
- Project handle of the project which contains the device&lt;br/&gt;
- Object Guid of the device which should import/export its IO mapping&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Martin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to get IScriptDeviceObject</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b8706e42a7/?limit=25#fa00" rel="alternate"/><published>2020-02-27T15:02:27.176000Z</published><updated>2020-02-27T15:02:27.176000Z</updated><author><name>MSprock</name><uri>https://forge.codesys.com/u/msprock/</uri></author><id>https://forge.codesys.comc30cfe8679e9f3c8910f57750544d5185dfa0fbd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;M.Keller hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi MSprock.&lt;br/&gt;
Which method do you want to use?&lt;br/&gt;
BR&lt;br/&gt;
Martin&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hi Martin, &lt;/p&gt;
&lt;p&gt;the methods are: export/import_io_mappings_from_csv&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to get IScriptDeviceObject</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b8706e42a7/?limit=25#0a2c" rel="alternate"/><published>2020-02-27T15:02:26.542000Z</published><updated>2020-02-27T15:02:26.542000Z</updated><author><name>mkeller</name><uri>https://forge.codesys.com/u/mkeller/</uri></author><id>https://forge.codesys.com10b95d427a04d2d43370e9e8477152d57276b765</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi MSprock.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;MSprock hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
I'd like to use a method from IScripDeviceObject in a "regular" plugin that does not use ScriptEngine yet. Is there a way to get the IScripDeviceObject from IDeviceObject? (Cast does not work.) Or do I have to use ScriptEngine.Execute?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Which method do you want to use?&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Martin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to get IScriptDeviceObject</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b8706e42a7/?limit=25#390e" rel="alternate"/><published>2020-02-27T15:02:25.937000Z</published><updated>2020-02-27T15:02:25.937000Z</updated><author><name>MSprock</name><uri>https://forge.codesys.com/u/msprock/</uri></author><id>https://forge.codesys.comdc56d852dc717b4745ad973a9153f8bef48d8eab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I'd like to use a method from IScripDeviceObject in a "regular" plugin that does not use ScriptEngine yet. Is there a way to get the IScripDeviceObject from IDeviceObject? (Cast does not work.) Or do I have to use ScriptEngine.Execute? &lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>