<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Reading Arduino ID with Labview in LabVIEW Interface for Arduino Discussions</title>
    <link>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394741#M2139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mark my post as "the answer" it will be easier for others to find it when searching for similar issues that you were having.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Mar 2013 19:45:03 GMT</pubDate>
    <dc:creator>Nathan_B.</dc:creator>
    <dc:date>2013-03-25T19:45:03Z</dc:date>
    <item>
      <title>Reading Arduino ID with Labview</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394734#M2132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to read the ID of my Arduino UNO boards using Labview, but I can not find the right way how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried sending a "*IDN?" command, but I am getting errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody know how can I read the ID of an Arduino board using Labview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 13:13:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394734#M2132</guid>
      <dc:creator>dp18</dc:creator>
      <dc:date>2013-03-20T13:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Arduino ID with Labview</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394735#M2133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*IDN? is a GPIB command and is not supported by the Arduino.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Sam K&lt;/P&gt;&lt;P&gt;LIFA Developer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 13:40:25 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394735#M2133</guid>
      <dc:creator>Kristoff2</dc:creator>
      <dc:date>2013-03-20T13:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Arduino ID with Labview</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394736#M2134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate your indication Sammy_K. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But how can I read the ID of an Arduino board using Labview?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 07:51:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394736#M2134</guid>
      <dc:creator>dp18</dc:creator>
      <dc:date>2013-03-21T07:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Arduino ID with Labview</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394737#M2135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you wanting to use the ID for?&amp;nbsp; In my project, I needed to initiate two arduinos and identify them uniquely so that the correct functions were sent to each.&amp;nbsp; So, what I did was made a custom LIFA function that would return an ID that I hardcoded in each of the firmwares.&amp;nbsp; It was actually quite simple.&amp;nbsp; I used the same firmware for both but I had a #define ARDUINO_ID or something near the top that I changed for each of the Arduinos.&amp;nbsp; We had a total of 8 arduinos and each had it's own ID from 1 to 8.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 18:42:17 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394737#M2135</guid>
      <dc:creator>Nathan_B.</dc:creator>
      <dc:date>2013-03-21T18:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Arduino ID with Labview</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394738#M2136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nathan_B.!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application that I will do is quite the same as what you wrote. I need to connect several Arduino's to a computer. Each Arduino has a different functionality (some turn on LEDs, some move motors...) and I want to control them with the same Labview program. The problem is that when I connect more things the Arduinos are changing of port and I don't want to look to it everytime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want is that when I connect the Arduinos to the computer the program looks wich is the right Arduino (reading the ID of each). In this case you will always control the right one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I'm only interested in a way that the Labview can read the ID of each Arduino to use the right one everytime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not that expert. The problem that I have is that I don't know how can I create this LIFA to read the ID of the Arduinos. I can imagine that you have to send a command with a Visa write block and then Read what is on the bus, but wich commands do I have to use for that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I tried is to add the "#define ARDUINO_ID 1" to the LIFA_Base in the LabWIEWInterface.h tab. I loaded it in the Arduino without errors. Is that correct? But now, how can I read the ID from the Labview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you send me a more detailed mail with the procedure that I have to follow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 08:00:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394738#M2136</guid>
      <dc:creator>dp18</dc:creator>
      <dc:date>2013-03-22T08:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Arduino ID with Labview</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394739#M2137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Below is what I wrote for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes:&lt;/P&gt;&lt;UL&gt;&lt;LI style="text-align: start;"&gt;You will need to update the code for the latest IDE because this is written to run on Arduino 0022 or 0023 (Using anything newer meant that we couldn't use 115200 for the baudrate with the Mega2560 sadly).&lt;/LI&gt;&lt;LI style="text-align: start;"&gt;There are no longer .pde files and are now .ino files.&lt;/LI&gt;&lt;LI style="text-align: start;"&gt;You will need to change the command value in both LabVIEW and the firmware (so that match) to a value that is unused.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LabVIEWInterface.h&lt;/P&gt;&lt;DIV style="border: 1px black solid; padding: 10px;"&gt;&lt;PRE style="font-family: courier new;"&gt;// Arduino Identity&lt;BR /&gt;#define ARDUINO_ID 5&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LabVIEWInterface.pde (inside of "switch(command[1])")&lt;/P&gt;&lt;DIV style="border: 1px black solid; padding: 10px;"&gt;&lt;PRE style="font-family: courier new;"&gt;case 0x20: // Identify Self&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Serial.print( (unsigned char)ARDUINO_ID, BYTE);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break;&lt;BR /&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get Arduino Identity.vi &lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="54656" alt="GetArdunioIdentity.png" class="jive-image-thumbnail jive-image" src="http://forums.ni.com/legacyfs/online/54656_GetArdunioIdentity.png" style="border: 1px black solid;" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 19:57:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394739#M2137</guid>
      <dc:creator>Nathan_B.</dc:creator>
      <dc:date>2013-03-22T19:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Arduino ID with Labview</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394740#M2138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Nathan_B.!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You solved the problem I had. I followed this steps and it is working perfect!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 12:55:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394740#M2138</guid>
      <dc:creator>dp18</dc:creator>
      <dc:date>2013-03-25T12:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Arduino ID with Labview</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394741#M2139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you mark my post as "the answer" it will be easier for others to find it when searching for similar issues that you were having.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Mar 2013 19:45:03 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394741#M2139</guid>
      <dc:creator>Nathan_B.</dc:creator>
      <dc:date>2013-03-25T19:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Arduino ID with Labview</title>
      <link>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394742#M2140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, but I can not find the option to mark it as "the answer". It does not appear below the messages.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Mar 2013 08:22:10 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW-Interface-for-Arduino/Reading-Arduino-ID-with-Labview/m-p/3394742#M2140</guid>
      <dc:creator>dp18</dc:creator>
      <dc:date>2013-03-26T08:22:10Z</dc:date>
    </item>
  </channel>
</rss>

