<?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 SNMP help please? in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2983551#M856473</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm brand new to SNMP although I have used LabVIEW a couple of times over the last few years. Right now I am developing an application to test power supplies. We are using a Dell G756N switched PDU to power each supply. I've tried a couple of approaches to controlling it, and SNMP is the most promising so far. During my research I came across ManageEngine's free MibBrowser and I was able to find the latest MIB in Dell's firmware download &lt;A href="http://www.dell.com/support/home/us/en/04/product-support/product/dell-managed-pdu/drivers" target="_blank"&gt;here&lt;/A&gt;. I have been able to communicate with the PDU and turn outlets on and off so far, but I really need to integrate the PDU control into the LabVIEW application to automate the testing. I came accross Mark Yedinak's SNMP communication library and his APC PDU examples, the latest of which I have found are in &lt;A href="https://forums.ni.com/t5/LabVIEW/APC-UPS-with-desktop/m-p/2431528/highlight/true#M749059" target="_blank"&gt;this thread&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to make a VI to test the communication in LabVIEW using the OID I got from MibBrowser, but it returns an error code of 2, noSuchName. The PDU is set to use v1 of SNMP and both the public and private communities have write+ access. I have tried it with and without the leading period, but without any success. I am using LabVIEW 2013 64-bit. Could someone please look at the information below and see what I might be doing wrong or what direction to take to troubleshoot it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Simon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MIB Object ID:&lt;/P&gt;
&lt;P&gt;.iso.org.dod.internet.private.enterprises.dell.pdu.pdusub.hardware.rPDU.rPDUOutlet.rPDUOutletSwitched.rPDUOutletSwitchedControlTable.rPDUOutletSwitchedControlEntry.rPDUOutletSwitchedControlCmd&lt;/P&gt;
&lt;P&gt;.1.3.6.1.4.1.674.10903.200.2.200.130.1.4.1.4.1 : {1 or 2}&lt;/P&gt;
&lt;P&gt;I added the .1 at the end for the index of the first outlet, and the 1 variable is instant on, while the 2 is instant off&lt;/P&gt;
&lt;P&gt;Picture&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/153545i652AC1F126C38D1A/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="MibBrowser.PNG" title="MibBrowser.PNG" align="middle" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VI:&lt;/P&gt;
&lt;P&gt;Front Panel:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/153547iBD970B6D24E9586E/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="LV SNMP Error.PNG" title="LV SNMP Error.PNG" align="middle" /&gt;&lt;/P&gt;
&lt;P&gt;Wiring:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/153549iBFC94A0271BFA13D/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Wiring.PNG" title="Wiring.PNG" align="middle" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Link to SNMP Communications and APC_PDU.zip examples:&lt;/P&gt;
&lt;P&gt;&lt;A class="linkification-ext" title="Linkification: http://forums.ni.com/t5/LabVIEW/APC-UPS-with-desktop/m-p/2431528/highlight/true#M749059" href="https://forums.ni.com/t5/LabVIEW/APC-UPS-with-desktop/m-p/2431528/highlight/true#M749059" target="_blank"&gt;http://forums.ni.com/t5/LabVIEW/APC-UPS-with-desktop/m-p/2431528/highlight/true#M749059&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some reason I can't get the actual VI to attach itself. The MIB is in the archive too. Its in my dropbox here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dl.dropboxusercontent.com/u/10871313/Power%20Supply%20Testing.zip" target="_blank"&gt;https://dl.dropboxusercontent.com/u/10871313/Power%20Supply%20Testing.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again&lt;/P&gt;</description>
    <pubDate>Mon, 08 Sep 2014 17:12:44 GMT</pubDate>
    <dc:creator>SimonGoodson</dc:creator>
    <dc:date>2014-09-08T17:12:44Z</dc:date>
    <item>
      <title>SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2983551#M856473</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm brand new to SNMP although I have used LabVIEW a couple of times over the last few years. Right now I am developing an application to test power supplies. We are using a Dell G756N switched PDU to power each supply. I've tried a couple of approaches to controlling it, and SNMP is the most promising so far. During my research I came across ManageEngine's free MibBrowser and I was able to find the latest MIB in Dell's firmware download &lt;A href="http://www.dell.com/support/home/us/en/04/product-support/product/dell-managed-pdu/drivers" target="_blank"&gt;here&lt;/A&gt;. I have been able to communicate with the PDU and turn outlets on and off so far, but I really need to integrate the PDU control into the LabVIEW application to automate the testing. I came accross Mark Yedinak's SNMP communication library and his APC PDU examples, the latest of which I have found are in &lt;A href="https://forums.ni.com/t5/LabVIEW/APC-UPS-with-desktop/m-p/2431528/highlight/true#M749059" target="_blank"&gt;this thread&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried to make a VI to test the communication in LabVIEW using the OID I got from MibBrowser, but it returns an error code of 2, noSuchName. The PDU is set to use v1 of SNMP and both the public and private communities have write+ access. I have tried it with and without the leading period, but without any success. I am using LabVIEW 2013 64-bit. Could someone please look at the information below and see what I might be doing wrong or what direction to take to troubleshoot it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Simon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MIB Object ID:&lt;/P&gt;
&lt;P&gt;.iso.org.dod.internet.private.enterprises.dell.pdu.pdusub.hardware.rPDU.rPDUOutlet.rPDUOutletSwitched.rPDUOutletSwitchedControlTable.rPDUOutletSwitchedControlEntry.rPDUOutletSwitchedControlCmd&lt;/P&gt;
&lt;P&gt;.1.3.6.1.4.1.674.10903.200.2.200.130.1.4.1.4.1 : {1 or 2}&lt;/P&gt;
&lt;P&gt;I added the .1 at the end for the index of the first outlet, and the 1 variable is instant on, while the 2 is instant off&lt;/P&gt;
&lt;P&gt;Picture&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/153545i652AC1F126C38D1A/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="MibBrowser.PNG" title="MibBrowser.PNG" align="middle" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VI:&lt;/P&gt;
&lt;P&gt;Front Panel:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/153547iBD970B6D24E9586E/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="LV SNMP Error.PNG" title="LV SNMP Error.PNG" align="middle" /&gt;&lt;/P&gt;
&lt;P&gt;Wiring:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/153549iBFC94A0271BFA13D/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Wiring.PNG" title="Wiring.PNG" align="middle" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Link to SNMP Communications and APC_PDU.zip examples:&lt;/P&gt;
&lt;P&gt;&lt;A class="linkification-ext" title="Linkification: http://forums.ni.com/t5/LabVIEW/APC-UPS-with-desktop/m-p/2431528/highlight/true#M749059" href="https://forums.ni.com/t5/LabVIEW/APC-UPS-with-desktop/m-p/2431528/highlight/true#M749059" target="_blank"&gt;http://forums.ni.com/t5/LabVIEW/APC-UPS-with-desktop/m-p/2431528/highlight/true#M749059&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For some reason I can't get the actual VI to attach itself. The MIB is in the archive too. Its in my dropbox here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://dl.dropboxusercontent.com/u/10871313/Power%20Supply%20Testing.zip" target="_blank"&gt;https://dl.dropboxusercontent.com/u/10871313/Power%20Supply%20Testing.zip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2014 17:12:44 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2983551#M856473</guid>
      <dc:creator>SimonGoodson</dc:creator>
      <dc:date>2014-09-08T17:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2987189#M856917</link>
      <description>&lt;P&gt;Anybody?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2014 11:26:07 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2987189#M856917</guid>
      <dc:creator>SimonGoodson</dc:creator>
      <dc:date>2014-09-10T11:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2987411#M856958</link>
      <description>&lt;P&gt;&lt;A href="https://forums.ni.com/t5/LabVIEW/Problem-in-SNMP-Communication/m-p/1827545#M626030" target="_blank"&gt;In this thread&lt;/A&gt;, the &lt;A href="https://forums.ni.com/t5/user/viewprofilepage/user-id/25223" target="_blank"&gt;originator&lt;/A&gt;&amp;nbsp;of the SNMP lib mentioned that if you see NoSuchName in the error_sting, your OID is not defined correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2014 13:35:38 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2987411#M856958</guid>
      <dc:creator>PhillipBrooks</dc:creator>
      <dc:date>2014-09-10T13:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2987831#M856985</link>
      <description>&lt;P&gt;Hi Pillip,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for replying. I'm not sure how to troubleshoot that. Do you have any ideas? I'm only an occasional LabVIEW user and brand new to SNMP. I'm willing to do the work, I'm just not sure what it is.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm using the same OID that is listed in MIB Browser, and MIB Browser is able to successfully communicate. Is there another tool that translates better? I've seen references to MIBs that aren't standard, and maybe that is where the disconnect is happening, but I don't know how to identify a non-standard MIB.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:28:38 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2987831#M856985</guid>
      <dc:creator>SimonGoodson</dc:creator>
      <dc:date>2014-09-10T15:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2988465#M857035</link>
      <description>&lt;P&gt;You might try loading &lt;A href="https://www.wireshark.org/download.html" target="_blank"&gt;wireshark&lt;/A&gt;&amp;nbsp;to capture and parse the actual UDP message sent by the mibbrowser program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There may be some index or instance component you need to set/change in your OID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make the LabVIEW OID match the working application's message and Bobs your uncle&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2014 18:43:03 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2988465#M857035</guid>
      <dc:creator>PhillipBrooks</dc:creator>
      <dc:date>2014-09-10T18:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2988709#M857043</link>
      <description>&lt;P&gt;Thanks Phillip, I'll give that a shot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Wed, 10 Sep 2014 19:16:09 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2988709#M857043</guid>
      <dc:creator>SimonGoodson</dc:creator>
      <dc:date>2014-09-10T19:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2990447#M857356</link>
      <description>&lt;P&gt;I've switched to LV2014 32-bit and installed Wireshark. I'm still getting the same "noSuchName" error, but using wireshark it lists the packet sent by SNMP as a "Malformed Packet". I'm guessing that somewhere in the depths of the VIs something is wrong, but I'm not sure what. I created a small program to save the output of the MIB Walk VI and that ran fine. The OID that I am sending is listed along with the correct type of variable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Wireshark traces and MIB Walk are included.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Simon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Sep 2014 18:44:26 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2990447#M857356</guid>
      <dc:creator>SimonGoodson</dc:creator>
      <dc:date>2014-09-11T18:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2991083#M857478</link>
      <description>&lt;P&gt;I don't have a lot of time to look at it, but I compared the wireshark captures and it looks like the problem is in the OID.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.ni.com/t5/LabVIEW/Help-with-SNMP/td-p/1324623" target="_blank"&gt;There&amp;nbsp;is&amp;nbsp;this post where someone else who had a OID containing a large value&lt;/A&gt;&amp;nbsp;had some problems, and Mark had provided a fix.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what I can tell in the date/tiome stamps of the files, the LLB you have is later than the updated one that Mark provided to fix the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My only suggestion would be to try the LLB in the link above and see if that solves the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forums.ni.com/t5/LabVIEW/Help-with-SNMP/m-p/1328623#M541584" target="_blank"&gt;http://forums.ni.com/t5/LabVIEW/Help-with-SNMP/m-p/1328623#M541584&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2014 11:08:16 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2991083#M857478</guid>
      <dc:creator>PhillipBrooks</dc:creator>
      <dc:date>2014-09-12T11:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2991369#M857521</link>
      <description>&lt;P&gt;I appreciate all the time you have taken, thank you. At your suggestion, I tried the older SNMP library, but I got the same results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you tell me how you analyzed the packets from Wireshark and determined it was the OID, or point me to some reading? I was going to translate the hex to U8 and see if they match what should be coming out of the SNMP vi's. Is that correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, as I said before, I did an MIB Walk that worked completely and wireshark didn't list any malformed packets during the run. After comparing the sub-vi trees of the Walk and the Set program, here are the vi's that are exclusive to the set program, and the ones that are shared with the MIB Walk:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;Exclusive vi's:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Set snmp Item(s).vi&lt;/P&gt;
&lt;P&gt;SNMP Set Request.vi&lt;/P&gt;
&lt;P&gt;SNMP Build Set Request Packet.vi&lt;/P&gt;
&lt;P&gt;SNMP Build Set Sequence.vi&lt;/P&gt;
&lt;P&gt;SNMP String to Type.vi&lt;/P&gt;
&lt;P&gt;SNMP String to Smallest Int Array.vi&lt;/P&gt;
&lt;P&gt;SNMP ASCII Hex String To Binary String.vi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="text-decoration: underline;"&gt;Shared vi's:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;SNMP Get Random Port Number.vi&lt;/P&gt;
&lt;P&gt;SNMP Open Port.vi&lt;BR /&gt;SNMP Build OID.vi&lt;BR /&gt;SNMP Encode SubID.vi&lt;BR /&gt;Sequence length convert.vi&lt;BR /&gt;SNMP Get Response.vi&lt;BR /&gt;SNMP Parse SNMP Packet.vi&lt;/P&gt;
&lt;P&gt;Parse SNMP Packet Header.vi&lt;BR /&gt;Parse SNMP Tuple.vi&lt;BR /&gt;byte array to number.vi&lt;BR /&gt;SNMP Type to String.vi&lt;BR /&gt;SNMP Byte Array to Int32.vi&lt;BR /&gt;SNMP OID to String.vi&lt;BR /&gt;SNMP Parse Sequence Data.vi&lt;BR /&gt;SNMP Type Num to Type String.vi&lt;BR /&gt;SNMP Close Port.vi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2014 14:43:03 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2991369#M857521</guid>
      <dc:creator>SimonGoodson</dc:creator>
      <dc:date>2014-09-12T14:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2991667#M857573</link>
      <description>&lt;P&gt;I guess I'm following up my own post, but here is what I have found today:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The references I found and used for SNMP packet structure/encoding:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://wiki.treck.com/SNMP_Programmer%27s_Reference#SetRequest_PDU" target="_blank"&gt;SNMP Programmer's Reference&amp;nbsp;-&amp;nbsp;SetRequest PDU&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.rane.com/note161.html" target="_blank"&gt;SNMP: Simple? Network Management Protocol&lt;/A&gt;&amp;nbsp;(especially the graphic at the bottom)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;And I figured out you could click on the different parts of the UDP packets in Wireshark to get some further explanation of what they represent. Awesome tool, thanks for pointing it out!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Comparing the "Outlet 1 Off" packet from MIBBrowser (MB) and my LabVIEW (LV) program:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;UDP packet length on MB is 62, is 61 on LV, definitely a mismatch.&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Both SNMP portions start at the same offset&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;SNMP version looks good in both packets&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;Community string in both packets looks good&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 15px;"&gt;both packets define the packet as a set request, although the LV on is one hex shorter&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Set request ID on MB is 2, on LV is -7295. Seems strange, bears further investigation.&lt;/LI&gt;
&lt;LI&gt;The Varbind List Type looks okay. Note that it starts one place later in the LV packet than the MB packet due to the size of the request-id in the LV packet.&lt;/LI&gt;
&lt;LI&gt;The Varbind Type and length is correct in both packets (30 1a)&lt;/LI&gt;
&lt;LI&gt;The OID is correct in both packets (type:06, length:15, value (2b 06 01 04 01 85 22 d5 17 81 48 02 81 48 81 02 01 04 01 04 01)&lt;/LI&gt;
&lt;LI&gt;The value in the MB is correct (type: 02 [integer32] lenth:01 value: 02), but the LV packet only has one hex: 00&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Things to investigate:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The request id: Is a negative number valid? Does that particular value mean anything? Generated by the accessible vi's or is it a product of the LabVIEW UDP implementation, or the underlying OS?&lt;/LI&gt;
&lt;LI&gt;Why is the value conversion incorrect? Is it in the VI or truncated later?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Knocking off a bit early today to take care of other business. Further updates Monday.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Simon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Sep 2014 18:08:33 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2991667#M857573</guid>
      <dc:creator>SimonGoodson</dc:creator>
      <dc:date>2014-09-12T18:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2992929#M857876</link>
      <description>&lt;P&gt;Figured it out. Apparently I don't know how to type. I had both a leading and trailing space on the variable type. " INTEGER " instead of "INTEGER". I certainly don't remember typing it that way, but how else could it get there? At least I learned a lot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks Phillip!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2014 16:39:58 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2992929#M857876</guid>
      <dc:creator>SimonGoodson</dc:creator>
      <dc:date>2014-09-15T16:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2994295#M858128</link>
      <description>&lt;P&gt;Glad to see you were able to figure it out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sometimes the problem is much simpler than it seems.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Sep 2014 18:15:40 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/2994295#M858128</guid>
      <dc:creator>PhillipBrooks</dc:creator>
      <dc:date>2014-09-16T18:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/3145270#M905449</link>
      <description>&lt;P&gt;Hi Simon,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Im very new to labview and snmp myself. I am using a wind turine simulator (&lt;A href="http://www.ni.com/example/31161/en/)on" target="_blank"&gt;http://www.ni.com/example/31161/en/)on&lt;/A&gt; labview and want to get the perfomance metrics from this to be polled every 10 seconds from an element manager via a java program, which will eventually be put on a dashboard. Do you have any advice on how i could get this simulator to snmpwalk so i could create oids for each metric?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be such a great help!!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;brendan&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2015 12:50:48 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/3145270#M905449</guid>
      <dc:creator>boffyie</dc:creator>
      <dc:date>2015-06-04T12:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/3145291#M905461</link>
      <description>&lt;P&gt;What does this have to do with the SNMP error the OP was asking about? &amp;nbsp;If the answer is nothing, then create a new thread. If the answer is something then feel free to slap me in the face for missing something. &amp;nbsp;I just don't see what the controls and design simulation example has to do with SNMP.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2015 13:16:55 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/3145291#M905461</guid>
      <dc:creator>Hooovahh</dc:creator>
      <dc:date>2015-06-04T13:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/3145979#M905712</link>
      <description>&lt;P&gt;SNMP isn't directly supported by National Instruments (&lt;A href="http://digital.ni.com/public.nsf/allkb/4CD3625A939A77DE852564050047D3BD)" target="_blank"&gt;http://digital.ni.com/public.nsf/allkb/4CD3625A939A77DE852564050047D3BD)&lt;/A&gt; but one of our alliance partners created a 3rd party toolkit specifically for connecting and sending requests through SNMP, found here (&lt;A href="http://www.snmptoolkit.com/index.html)." target="_blank"&gt;http://www.snmptoolkit.com/index.html).&lt;/A&gt; &amp;nbsp;Other than that, if you understand the SMNP protocol well enough you could use the TCP/IP VI's within LabVIEW to interpret that protocol.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2015 14:03:55 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/3145979#M905712</guid>
      <dc:creator>AaronTheAE</dc:creator>
      <dc:date>2015-06-05T14:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help please?</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/3146010#M905718</link>
      <description>&lt;P&gt;Hi boffyie, I'm a little confused by your question. I'm missing a bunch of requirements to run the wind generator example, but it doesn't appear to have any SNMP code to support status updates, so you would have to write the code to trap SNMP messages and respond to them yourself. I may be able to figure it out eventually, but it would be a substantial time investment for me. If you want to poll the machine running the sim, then it isn't a LabVIEW issue. Whatever program you are using to monitor the machine needs to be configured and the machine itself would likely need some SNMP configuration. Sorry I wasn't much more help. Good Luck! Regards, Simon&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jun 2015 14:53:41 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/3146010#M905718</guid>
      <dc:creator>SimonGoodson</dc:creator>
      <dc:date>2015-06-05T14:53:41Z</dc:date>
    </item>
    <item>
      <title>SNMP help for a newby to labview</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/3149634#M907253</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to figure out how to use the free snmp communication toolkit posted by&amp;nbsp;Mark Yedinak. I basically am running a simulated turbine, and want to use snmp walk so it will create OIDs to communicate with a manager. If anyone could help me get started or point me in the right direction that would be great&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!! Im realy stuck with it!!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jun 2015 18:23:24 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/3149634#M907253</guid>
      <dc:creator>boffyie</dc:creator>
      <dc:date>2015-06-12T18:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: SNMP help for a newby to labview</title>
      <link>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/3150493#M907497</link>
      <description>&lt;P&gt;I see that this is already a solved post. You may have more luck by posting this on a new thread.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Conrad&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2015 15:51:38 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/SNMP-help-please/m-p/3150493#M907497</guid>
      <dc:creator>c-RADAE</dc:creator>
      <dc:date>2015-06-15T15:51:38Z</dc:date>
    </item>
  </channel>
</rss>

