{"id":301,"date":"2025-11-26T14:32:18","date_gmt":"2025-11-26T13:32:18","guid":{"rendered":"https:\/\/x2c.lcm.web-email.at\/?page_id=301"},"modified":"2025-12-18T11:44:17","modified_gmt":"2025-12-18T10:44:17","slug":"faq","status":"publish","type":"page","link":"https:\/\/x2c.lcm.web-email.at\/contact\/faq\/","title":{"rendered":"FAQ"},"content":{"rendered":"\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<h1 class=\"wp-block-heading\">FAQ<\/h1>\n\n\n\n<p>Didn\u2019t find the answer to your question? Please check the documentation included in the <a href=\"https:\/\/x2c.lcm.web-email.at\/downloads-and-add-ons\/\">download package<\/a> or <a href=\"https:\/\/x2c.lcm.web-email.at\/contact\/\">contact us<\/a>.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n\n\t<div class=\"js-Accordion\">\n\t\t\t\t\t<button>Is X2C\u00ae freeware?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>To some extent, X2C is open source, distributed under the BSD 3\u2011Clause License. See the available editions for a detailed overview.<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<button>How can I get access to the advanced features?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>Please see the different available versions in the <a href=\"https:\/\/x2c.lcm.web-email.at\/downloads-and-add-ons\/\">download section<\/a> and feel free to <a href=\"https:\/\/x2c.lcm.web-email.at\/contact\/\">contact us<\/a> for licensing questions.<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<button>Do I need Matlab\u00ae to run X2C\u00ae?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>No. The free version of X2C runs with Scilab. If you want to use X2C with Matlab\u00ae, you need to get a <a href=\"https:\/\/x2c.lcm.web-email.at\/downloads-and-add-ons\/x2c-professional\/\">X2C Professional license<\/a>.<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<button>Where do I get Scilab \/ Xcos?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>You can download <a href=\"https:\/\/www.scilab.org\/download\" target=\"_blank\" rel=\"noopener\">Scilab here.<\/a><\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<button>Does X2C\u00ae work with Linux?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>Yes, since nightly build v639, X2C code generation works under Linux. However, some things have to be considered:<\/p>\n<ul>\n<li>\n    Prior to executing X2C setup, the environment variable has to be set manually.<br \/>\n    This can be done by adding the line:<\/p>\n<pre><code>export X2C_Root=\/home\/<user>\/X2C<\/code><\/pre>\n<p>    in:<\/p>\n<pre><code>\/home\/<user>\/.profile<\/code><\/pre>\n<\/li>\n<li>Pre-compiled libraries for simulation in Xcos are not available.<\/li>\n<li>\n    Some USB-to-serial converters are not recognized automatically by X2C Communicator.<br \/>\n    To work properly, the name has to be either <code>\/dev\/ttySx<\/code> or <code>\/dev\/ttyUSBx<\/code>.<br \/>\n    The following example shows how to get the Microstick Plus demo board recognized:<\/p>\n<pre><code>ls -l \/dev\/ttyACM0<\/code><\/pre>\n<p>    gives the output:<\/p>\n<pre><code>crw-rw---- 1 root dialout 166, 0 Feb 11 08:56 \/dev\/ttyACM0<\/code><\/pre>\n<p>    With this information, a new device can be created:<\/p>\n<pre><code>sudo mknod \/dev\/ttyUSB0 c 166 0\r\nsudo chown root:dialout \/dev\/ttyUSB0\r\nsudo chmod 660 \/dev\/ttyUSB0<\/code><\/pre>\n<p>    This device will be recognized by the Communicator.\n  <\/li>\n<li>\n    The Communicator can only be started within Scilab\/Xcos.<br \/>\n    Starting <code>Communicator.jar<\/code> as standalone application will not work.\n  <\/li>\n<\/ul>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<button>So where do I set up my control scheme?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>The control scheme is set up in Scilab\u2019s Xcos by dragging the control blocks into the current diagram.<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<button>How do I get the code from my control scheme?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>You can create the compilation ready C-code representing your control scheme by clicking the create code button in the Communicator GUI.<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n\n\t<div class=\"js-Accordion\">\n\t\t\t\t\t<button>Does X2C\u00ae work with Scilab 6.x?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>Yes. Since X2C v6.4 Scilab version 6.1.1 is supported.<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<button>How can I connect to my target?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>The easiest and fastest way is to use the Communicator GUI. It provides a convenient way to set the communication parameters and connect to the target.<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<button>I can&#8217;t connect to the target with the X2C Communicator, what&#8217;s the problem?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>To get a connection with the Communicator, an X2C application has to be running on the target. So the target has to be programmed prior to any connection attempts. Also interface and port in the \u201cSetup\u201d-tab have to be selected according to the setup of the target.<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<button>How can I download the compiled code to my target?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>The new application has to be downloaded using the built-in programming feature of the target\u2019s IDE. With X2C Professional and its bootloader support, a new application can be downloaded via the Communicator GUI.<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<button>Does X2C\u00ae support the target XYZ?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>Please check the list of <a href=\"https:\/\/x2c.lcm.web-email.at\/supported-hardware\/\">supported targets<\/a>. If your device is not among the listed targets but is a member of either the C28xx, ARMv6, ARMv7, dsPIC, or PIC32 series, you can use a generic processor type.<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<button>How can I simulate my model in Linux?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>Unfortunately, simulation out of the box does not work in Linux yet. However, simulation is possible if the following steps are followed:<\/p>\n<ol>\n<li>Install <code>gcc<\/code>.<\/li>\n<li>Download and install the latest X2C nightly build.<\/li>\n<li>\n    Re-create the libraries in Scilab:<\/p>\n<ul>\n<li><code>createLibrary(\"General\")<\/code><\/li>\n<li><code>createLibrary(\"Math\")<\/code><\/li>\n<li><code>createLibrary(\"Control\")<\/code><\/li>\n<\/ul>\n<\/li>\n<li>\n    Compile the libraries in Scilab:<\/p>\n<ul>\n<li><code>compileLibs()<\/code><\/li>\n<\/ul>\n<\/li>\n<li>\n    After every start of Scilab, load the libraries by running:<\/p>\n<ul>\n<li><code>loadLibs()<\/code> or<\/li>\n<li>execute <code>initProject.sce<\/code> before opening an X2C Xcos model.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<button>Is a Java Runtime Environment (JRE) required to run X2C\u00ae?<\/button>\n\t\t\t<div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<p>A JRE only is required if X2C is intended to be used in Standalone mode, e.g. using the Communicator outside Scilab or Matlab or using the Block Generator.<br \/>\nAbove use case requires a JRE installation and \u2013 dependend of the underlying operating system and used JRE type \u2013 additional steps during the JRE setup.<br \/>\nIf X2C is used in Scilab or Matlab environment only, no dedicated JRE is required.<\/p>\n<p>X2C has been tested to work with<\/p>\n<ul>\n<li>Oracle Java SE 1.8<\/li>\n<li>ojdkbuild 13<\/li>\n<\/ul>\n<p>The latter uses OpenJDK sources and is free for use.<br \/>\nIf ojdkbuild is to be used on a Microsoft Windows platform, additional steps may be necessary during installation. For more information please have a look at the X2C documentation.<\/p>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t<\/div>\n<\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<div style=\"height:72px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n    <div id=contact-01 class=\"section-card-person bg-gray-300-30\">\n        \t\t<div class=\"container\">\n\t\t\t<div class=\"card-person\">\n                <div class=\"card-person-img\">\n                                            <img loading=\"lazy\" decoding=\"async\" width=\"222\" height=\"222\" src=\"https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/12\/Ansprechpartner_Website_Dirnberger.png\" class=\"attachment-thumbnail_229x229 size-thumbnail_229x229\" alt=\"Ansprechpartner Website Dirnberger\" srcset=\"https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/12\/Ansprechpartner_Website_Dirnberger.png 222w, https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/12\/Ansprechpartner_Website_Dirnberger-150x150.png 150w, https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/12\/Ansprechpartner_Website_Dirnberger-50x50.png 50w, https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/12\/Ansprechpartner_Website_Dirnberger-119x119.png 119w, https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/12\/Ansprechpartner_Website_Dirnberger-83x83.png 83w, https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/12\/Ansprechpartner_Website_Dirnberger-55x55.png 55w, https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/12\/Ansprechpartner_Website_Dirnberger-16x16.png 16w, https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/12\/Ansprechpartner_Website_Dirnberger-182x182.png 182w, https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/12\/Ansprechpartner_Website_Dirnberger-90x90.png 90w, https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/12\/Ansprechpartner_Website_Dirnberger-120x120.png 120w\" sizes=\"auto, (max-width: 222px) 100vw, 222px\" \/>                                                                <div class=\"logo\"><img loading=\"lazy\" decoding=\"async\" width=\"45\" height=\"44\" src=\"https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/11\/x2c-logo.png\" class=\"attachment-full size-full\" alt=\"x2c logo\" srcset=\"https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/11\/x2c-logo.png 45w, https:\/\/lcm.web-email.at\/\/wp-content\/uploads\/sites\/4\/2025\/11\/x2c-logo-16x16.png 16w\" sizes=\"auto, (max-width: 45px) 100vw, 45px\" \/><\/div>\n                                    <\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"card-person-body\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"note\">Your contact for X2C<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h2 class=\"h3\"> Peter Dirnberger<\/h2>\n\t\t\t\t\t\t                                                    <span class=\"position\">Teamlead E-Drives<\/span>\n                                                                            <div class=\"contact-hold\">\n                                                                    <div class=\"frame\">\n                                                                                                                                    <div class=\"text-hold\">\n                                                    <a href=\"tel:4373224686075\">\n                                                        <span class=\"icon\">\n                                                            <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"32\" height=\"32\" viewBox=\"0 0 32 32\"><path d=\"M22 20c-2 2-2 4-4 4s-4-2-6-4-4-4-4-6 2-2 4-4-4-8-6-8-6 6-6 6c0 4 4.109 12.109 8 16s12 8 16 8c0 0 6-4 6-6s-6-8-8-6z\"><\/path><\/svg>\n                                                        <\/span>\n                                                        <span class=\"text\">+43 732 2468 6075<\/span>\n                                                    <\/a>\n                                                <\/div>\n                                                                                                                                        <div class=\"text-hold\">\n                                                    <a href=\"mailto:&#112;e&#116;e&#114;.dirn&#98;&#101;rger&#64;lc&#109;.at\">\n                                                        <span class=\"icon\">\n                                                            <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"28\" height=\"28\" viewBox=\"0 0 28 28\"><path d=\"M28 11.094v12.406c0 1.375-1.125 2.5-2.5 2.5h-23c-1.375 0-2.5-1.125-2.5-2.5v-12.406c0.469 0.516 1 0.969 1.578 1.359 2.594 1.766 5.219 3.531 7.766 5.391 1.313 0.969 2.938 2.156 4.641 2.156h0.031c1.703 0 3.328-1.188 4.641-2.156 2.547-1.844 5.172-3.625 7.781-5.391 0.562-0.391 1.094-0.844 1.563-1.359zM28 6.5c0 1.75-1.297 3.328-2.672 4.281-2.438 1.687-4.891 3.375-7.313 5.078-1.016 0.703-2.734 2.141-4 2.141h-0.031c-1.266 0-2.984-1.437-4-2.141-2.422-1.703-4.875-3.391-7.297-5.078-1.109-0.75-2.688-2.516-2.688-3.938 0-1.531 0.828-2.844 2.5-2.844h23c1.359 0 2.5 1.125 2.5 2.5z\"><\/path><\/svg>\n                                                        <\/span>\n                                                        <span class=\"text\">peter.dirnberger@lcm.at<\/span>\n                                                    <\/a>\n                                                <\/div>\n                                                                                                                        <\/div>\n                                                                                                    <a class=\"btn\" href=\"mailto:&#112;e&#116;&#101;&#114;.dirnb&#101;&#114;&#103;&#101;&#114;&#64;&#108;cm.a&#116;\">Anfrage senden<\/a>\n                                                            <\/div>\n                        \t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<\/div>\n            <div class=\"section-decor\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/x2c.lcm.web-email.at\/wp-content\/themes\/linzcenterofmech\/assets\/images\/img-21.png\" alt=\"image description\" width=\"712\" height=\"414\" role=\"img\"><\/div>\n        <\/div>\n            <\/div>\n","protected":false},"excerpt":{"rendered":"<p>FAQ Didn\u2019t find the answer to your question? Please check the documentation included in the download package or contact us.<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":299,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-301","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/x2c.lcm.web-email.at\/de\/wp-json\/wp\/v2\/pages\/301","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/x2c.lcm.web-email.at\/de\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/x2c.lcm.web-email.at\/de\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/x2c.lcm.web-email.at\/de\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/x2c.lcm.web-email.at\/de\/wp-json\/wp\/v2\/comments?post=301"}],"version-history":[{"count":8,"href":"https:\/\/x2c.lcm.web-email.at\/de\/wp-json\/wp\/v2\/pages\/301\/revisions"}],"predecessor-version":[{"id":583,"href":"https:\/\/x2c.lcm.web-email.at\/de\/wp-json\/wp\/v2\/pages\/301\/revisions\/583"}],"up":[{"embeddable":true,"href":"https:\/\/x2c.lcm.web-email.at\/de\/wp-json\/wp\/v2\/pages\/299"}],"wp:attachment":[{"href":"https:\/\/x2c.lcm.web-email.at\/de\/wp-json\/wp\/v2\/media?parent=301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}